Hibernate Add-on » History » Version 3
Henning Blohm, 05.05.2014 08:31
1 | 1 | Henning Blohm | h1. Hibernate Add-on |
---|---|---|---|
2 | |||
3 | (Since 2.3) |
||
4 | |||
5 | The Hibernate add-on provides the "Hibernate":http://hibernate.org libraries and some supporting functionality: |
||
6 | * The EntityManagerUtil ("source":https://redmine.z2-environment.net/projects/z2-addons/repository/z2-addons-hibernate/revisions/master/entry/org.hibernate/java/src.api/com/zfabrik/hibernate/EntityManagerUtil.java, "javadoc":http://www.z2-environment.net/javadoc/org.hibernate!2Fjava/api/com/zfabrik/hibernate/EntityManagerUtil.html): A utility class providing functionality to |
||
7 | ** maintain an EntityManager between transaction boundaries, when integrating with the built-in transaction management (see [[How to Transaction Management]]). |
||
8 | ** allow JTA data source lookup via JNDI even when in a plain naming environment (with no initial context factory set), i.e. a workaround for "HHH-8818":https://hibernate.atlassian.net/browse/HHH-8818. |
||
9 | * The Z2JtaPlatform ("source":https://redmine.z2-environment.net/projects/z2-addons/repository/z2-addons-hibernate/revisions/master/entry/org.hibernate/java/src.api/com/zfabrik/hibernate/Z2JtaPlatform.java, "javadoc":http://www.z2-environment.net/javadoc/org.hibernate!2Fjava/api/com/zfabrik/hibernate/Z2JtaPlatform.html): A JTA Platform implementation for the built-in transaction management (see [[How to Transaction Management]]). |
||
10 | |||
11 | In order to understand how to use these, it is best to visit [[Sample-hibernate-basic]]. You do not need these supporting functions, if you chose to rely on other frameworks that support similar functionality, such as the Spring framework (see [[How to Spring]]). |
||
12 | |||
13 | 2 | Henning Blohm | The Hibernate Add-On provide Hibernate binaries by adding a fragment (see [[How_to_Access_a_Maven_Repository]] on what that is) to the maven component repository *environment/mavenDefault* that is declared throughout in all examples and that all add-ons add to. |
14 | 1 | Henning Blohm | |
15 | 2 | Henning Blohm | That is, in order to use this add on as is, you need to declare a maven component repository |
16 | 1 | Henning Blohm | |
17 | 3 | Henning Blohm | h2. Version map |
18 | 2 | Henning Blohm | |
19 | 1 | Henning Blohm | |_. add-on version |_. Hibernate version | |
20 | 2 | Henning Blohm | | 2.3 | 4.3.4.Final | "mvn roots":https://redmine.z2-environment.net/projects/z2-addons/repository/z2-addons-hibernate/revisions/master/entry/org.hibernate/mvnFragment.properties | |