โข
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 ๋ฉ์๋์ฌ์ผ ํ๋ค.