Hibernate (framework): Difference between revisions

Content deleted Content added
Tag: section blanking
Line 47:
==Entities and components==
In Hibernate [[jargon]], an ''entity'' is a stand-alone object in Hibernate's [[Persistence (computer science)|persistent]] mechanism which can be manipulated independently of other objects. In contrast, a ''component'' is subordinate to other entities and can be manipulated only with respect to other entities. For example, an Album object may represent an entity but the Tracks object associated with the Album objects would represent a ''component'' of the Album entity if it is assumed that Tracks can only be saved or retrieved from the database through the Album object. Unlike J2EE, it can switch databases.
 
== History ==
 
Hibernate was started in 2001 by [[Gavin King (Developer)|Gavin King]] as an alternative to using EJB2-style entity beans. Its mission back then was to simply offer better persistence capabilities than offered by EJB2 by simplifying the complexities and allowing for missing features.
 
Early in 2003, the Hibernate development team began Hibernate2 releases which offered many significant improvements over the first release.
 
[[JBoss (company)|JBoss, Inc.]] (now part of [[Red Hat]]) later hired the lead Hibernate developers and worked with them in supporting Hibernate.
 
In 2010, Hibernate version 3.x was released with features like: a new Interceptor/Callback architecture, user defined filters, and JDK 5.0 [[Java annotation|Annotations]] (Java's [[metadata]] feature). {{As of | 2010}} Hibernate 3 (version 3.5.0 and up) was a certified implementation of the [[Java Persistence API#JPA_2.0|Java Persistence API 2.0]] specification via a wrapper for the Core module which provides conformity with the [http://jcp.org/en/jsr/detail?id=317 JSR 317] standard.<ref>{{cite web|title=Hibernate 3.5.0-Final release|url=http://in.relation.to/Bloggers/Hibernate350FinalRelease|publisher=In Relation To...}}</ref>
 
In Dec 2011, Hibernate Core 4.0.0 Final was released. This includes new features like: Initial multi-tenancy support, Introduction of ServiceRegistry (which is a major change in how Hibernate builds and manages "services"), Clean up of Session opening from SessionFactory, Improved integration via ''org.hibernate.integrator.spi.Integrator'' and auto discovery, cfjcImproved logging with i18n support and message codes, Initial work on more clear split between API, SPI and implementation classes, Clean up of deprecated methods, classes, etc.<ref>http://www.hibernate.org/downloads</ref>
 
In Dec 2012, Hibernate ORM 4.1.9 Final was released.<ref>http://in.relation.to/23792.lace</ref>
 
In 2012, Hibernate 5 started development. It will contain JPA 2.1 support.
 
== Application programming interface ==