[seam-commits] Seam SVN: r13447 - modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Jul 20 04:48:55 EDT 2010
Author: swd847
Date: 2010-07-20 04:48:55 -0400 (Tue, 20 Jul 2010)
New Revision: 13447
Modified:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/ManagedPersistenceContextBeanLifecycle.java
Log:
update managed pc
Modified: modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/ManagedPersistenceContextBeanLifecycle.java
===================================================================
--- modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/ManagedPersistenceContextBeanLifecycle.java 2010-07-20 07:48:58 UTC (rev 13446)
+++ modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/ManagedPersistenceContextBeanLifecycle.java 2010-07-20 08:48:55 UTC (rev 13447)
@@ -87,8 +87,9 @@
}
}
- public void destroy(BeanImpl<EntityManager> bean, EntityManager arg0, CreationalContext<EntityManager> arg1)
+ public void destroy(BeanImpl<EntityManager> bean, EntityManager em, CreationalContext<EntityManager> arg1)
{
+ em.close();
arg1.release();
}
More information about the seam-commits
mailing list