Member-only story
Hibernate Interview Questions And Answers
Most Expected Interview questions.
1. Q : WHAT IS HIBERNATE ?
ANS : It is an open source, light weight, non-invasive, java based ORM Framework. To develop Object based Database Software independent O-R Mapping, persistence logic in all kind of java, JEE and Java Framework apps.
2. Q : WHAT ARE THE MAIN FEATURES OF HIBERNATE?
ANS :
1. Hibernate gives HQL (Hibernate Query Language) as DataBase Software Independent.
2. Hibernate supports lazy loading.
3. Allows to develop objects based persistence logic in standalone environment and also in web application environment.
4. Does not need the heavy weight containers , servers to execute Hibernate Code.
5. Hibernate O-R Mapping solve the mismatches between java programming and DataBase Programming.
6. Hibernate support both XML and annotation based O-R Mapping configuration.
7. It supports two levels of caching to reduce network round trips between hibernate app and Database software. ( cache is a temporary memory that hold data for temporary period).
8. Hibernate supports versioning. (Allows to keep track of how many times the object/Record is modified).
9. Supports Timestamping feature. ( Keep track of when object/ Record is saved or modified with date and time values)