Class | Description |
---|---|
JpaUtil |
This class is used to create and hold open EntityManagerFactory objects
within a Java EE environment.
|
OpenEntityManagerInViewListener |
Listener to init and cleanup the JPA entityManager automatically
In WEB-INF/zk.xml, add following lines:
<listener>
<description>Hibernate "OpenEntityManagerInView" Listener</description>
<listener-class>org.zkoss.zkplus.jpa.OpenEntityManagerInViewListener</listener-class>
</listener>
Applicable to EJB version 3.2.ga or later |
Utilities to support JPA
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.