| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 29 | 30 | 31 |
Tags
- JPA프록시
- Open EntityManager
- JPA Hint & Lock
- jpa
- Git
- JDBC connection pool
- embededtype
- 자바제너릭
- 에이치투데이터베이스
- 데이터베이트h2
- 스프링부트기본설정
- springboot기본설정
- JPAproxy
- JPA값타입
- OSIV
- JPAmapping
- springbootproxy
- 제이피큐엘쿼리
- sql
- javageneric
- dockercmd
- spring
- gitinitial
- httppie
- MySqlType
- 이해와 원리
- 스프링부트
- jpqlquery
- 임베디드타입
- springbootH2
Archives
- Today
- Total
목록SpringDataJPA (1)
빡코
Spring Data JPA ? 복잡한 JPA 코드를 스프링과 함께 쉽게 사용할 수 있도록 도와주는 라이브러리 Spring Data JPA > JPA(ORM) > Hibernate(JPA 구현체) > JDBC 를 사용한다. JpaRepository를 상속 받은 UserRepository public interface UserRepository extends JpaRepository { Optional findByName(String name); //find: 1건을 가져옴, 반환타입 ? 객체 or null 반환 Boolean existsByName(String name); //쿼리 결과가 존재하는지 확인, 반환타입 boolean long countByAge(Integer age); //SQL의 결과 개수..
Java/JPA
2023. 12. 27. 17:15