What is Hibernate ?
Hibernate is just a ORM(Object Relational Mapping) tool which is used for persisting data to database and retrieving data from database.
.
What is difference between Hibernate & JPA?
JPA is a interface which has no concrete implementation and Hibernate is implementation and just a JPA provider.
JPA venders:
- Batoo JPA
- DataNucleus (formerly JPOX)
- EclipseLink (formerly Oracle TopLink)
- IBM, for WebSphere Application Server
- Hibernate
- ObjectDB
- OpenJPA
Hibernate Advantages:
- Hibernate takes care of mapping Java classes to database tables using XML files and without writing any line of code.
- Provides simple APIs for storing and retrieving Java objects directly to and from the database.
- Hibernate does not require an application server to operate.
- Manipulates Complex associations of objects of your database.
- Minimize database access with smart fetching strategies.
- Provides Simple querying of data.
Comments
Post a Comment