Inflearn Community Q&A
수업을 듣던중 질문이있습니다
Written on
·
313
0
allocation 옵션에서 메모리에 저장해서 쓰신다고 하셨는데 처음 호출할 때 1부터 51까지 호출하여 메모리에 저장하여 사용하는게 맞나요? 맞다면 영속성 컨텍스트가 메모리 역할을 하는지 궁금합니다
jpajavaJPA
Quiz
A class using the `@Entity` annotation for JPA mapping must basically meet these important conditions: 1. It must have a no-argument constructor (default constructor). 2. It must have a field representing the primary key, usually marked with the `@Id` annotation. 3. The class itself cannot be `final`. 4. It cannot be an `enum` or an `interface`.
All fields must be public
must be a final class
Must have a public or protected default constructor
must include at least one static method






답변 감사드립니다