JPA Interview Questions and Answers
Difficulty Level: AllBeginnerIntermediateExpert
Ques 1. What is JPA and its key components?
Ques 2. What is the difference between persistence.xml and hibernate.cfg.xml?
Ques 3. What is an EntityManager?
Ques 6. What is Embeddable classes?
Ques 7. What is Persistent Fields?
Ques 8. What is Persistent Properties?
Ques 9. Explain Life Cycle of a JPA Entity.
Ques 11. Example of an Entity with Embedded class.
Ques 12. Give an example of Embeddable class for previous question Categoryparticipant entity.