Hibernate (framework)

This is an old revision of this page, as edited by 194.100.3.193 (talk) at 13:55, 28 February 2005 (wfy). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Hibernate is an Object/Relational Mapping (ORM) solution for the Java language. It is free, open source software that is distributed under the LGPL. Hibernate was developed by a team of Java software developers around the world. It provides an easy to use framework for mapping a object-oriented ___domain model to a traditional relational database.

Hibernate not only takes care of the mapping from Java classes to database tables (and from Java data types to SQL data types), but also provides data query and retrieval facilities and can significantly reduce development time otherwise spent with manual data handling in SQL and JDBC.

Hibernate's goal is to relieve the developer from a significant amount of common data persistence related programming tasks. Hibernate adapts to the developer's development process, whether it is started with a design from scratch or from a legacy database. Hibernate generates the SQL, and relieves the developer from manual result set handling and object conversion, and keeps the application portable to all SQL databases. Hibernate provides transparent persistence, the only requirement for a persistent class is a no-argument constructor.

Hibernate is typically used in Java Swing applications, Java Servlet-based applications, or J2EE applications using EJB session beans.