Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Practice InterviewNew Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

JPA Interview Questions and Answers

Ques. Why to use JPA?
Ans. JPA is the standard, and standards are good!
Using JPA does not tie you to Hibernate.
JPA gives you most of the features of plain old Hibernate, except:
No criteria queries in JPA 2.0. Criteria query is a neat feature of Hibernate that constructs query using Java-based combinators instead of alternate query language, getting the benefit of IntelliSense and Eclipse’s refactoring tools.
JPA doesn’t have Hibernate’s DeleteOrphan cascade type.
Delete Orphan is a useful annotation that directs Hibernate to deletes entities in a collection if the parent is deleted, preventing orphaning.
JPA doesn’t have an equivalent to Hibernate’s ScrollableResults.
Is it helpful? Yes No

Most helpful rated by users:

©2020 WithoutBook