Hibernate - What is Hibernate?

What is Hibernate?

- Hibernate is an ORM tool. Hibernate is a solution for object-relational mapping and a persistence management layer.

- For example a java application is used to save data of an object to a database. Hibernate provides a solution for this persistence by mapping database tables to a class. The database data is copied to the object. The copying the data as objects and vice versa is known as object-relational mapping. A query that uses select statement and its operations of fetching tuples is done by a simple query object. And being an object, the same object can be utilized several times, which reduces the ‘query defining time’. Usage of simple java classes [ Plain Old Java Objects ] makes this task simple instead of using entity beans / JDBC calls.

What is Hibernate?

- Hibernate is a powerful, high performance object/relational persistence and query service.

- Hibernate allows development of persistent classes following object-oriented idiom that includes association, inheritance, polymorphism, composition, and collections.

- Hibernate allows expressing queries in its own portable SQL extension (HQL), as well as in native SQL, or with an object-oriented Criteria and Example API.
Hibernate - Why do you need ORM tool like Hibernate?
Why do you need ORM tool like Hibernate? - Hibernate is open source ORM tool. Hibernate reduces the time to perform database operations...
Hibernate - What are the main advantages of ORM like hibernate?
What are the main advantages of ORM like hibernate? - Distributed transaction can simply be performed by using ORM tools...
Hibernate - What are the core interfaces of Hibernate framework?
What are the core interfaces of Hibernate framework? - Session Interface, SessionFactory interface, Configuration Interface, Transaction Interface, Query and Criteria interface...
Post your comment