Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- springdatajpa
- SpringBoot
- Exception
- 스프링 핵심 기능
- 백준
- 알고리즘
- jpa
- Proxy
- AOP
- 인프런
- QueryDSL
- kotlin
- http
- java
- 스프링 핵심 원리
- db
- JPQL
- 그리디
- transaction
- JDBC
- spring
- Spring Boot
- Thymeleaf
- Android
- Greedy
- 자바
- 김영한
- pointcut
- Servlet
- 스프링
Archives
- Today
- Total
목록rs.next() (1)
개발자되기 프로젝트
JDBC 개발-조회
MemberRepositoryV0 - 회원 조회 추가 public Member findById(String memberId) throws SQLException { String sql = "select * from member where member_id=?"; Connection con = null; PreparedStatement pstmt = null; ResultSet rs = null; try{ con = getConnection(); pstmt = con.prepareStatement(sql); pstmt.setString(1, memberId); rs = pstmt.executeQuery();//select는 executeQuery if (rs.next()){//데이터 있으면 true, 내부..
인프런/[인프런] 스프링 DB 1편 - 데이터 접근 핵심 원리
2022. 5. 23. 22:27