Search

what is JPA?

Java Persistence Architecture
• The JPA is a Java specification for accessing, persisting and managing data between Java objects, classes and relational databases.
자바 객체, 클래스, RDB 사이 데이터에 접근하고 영속화하고 관리하기 위한 자바 명세이다.
• The JPA provides guidelines to develop an interface with certain standard levels.
인터페이스를 개발하기 위한 가이드라인을 제공한다.
JPA is a specification and Hibernate is one of the implementations of JPA.
JPA 는 명세이고 하이버네이트는 JPA 구현체 중 하나이다.
• In Spring Boot it automatically enabled transaction management.
스프링 부트에서는 자동으로 트랜잭션 관리가 가능하다.
• If this annotation is used in a method, it should be a public one.
@Transactional 어노테이션은 public 메소드여야 한다.