본문 바로가기

웹 기술 쌈싸먹기/Spring

[Spring] JPA를 사용하는 이유, JPA공식 Reference 홈페이지

JPA를 사용하는 이유

 

참고 : https://gmlwjd9405.github.io/2019/08/03/reason-why-use-jpa.html

 

[JPA] JPA를 사용하는 이유 - Heee's Development Blog

Step by step goes a long way.

gmlwjd9405.github.io

 

 

JPA공식 Reference 홈페이지

 

참고 : https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods

 

Spring Data JPA - Reference Documentation

Example 109. Using @Transactional at query methods @Transactional(readOnly = true) interface UserRepository extends JpaRepository { List findByLastname(String lastname); @Modifying @Transactional @Query("delete from User u where u.active = false") void del

docs.spring.io