Author: swd847
Date: 2010-09-06 05:53:11 -0400 (Mon, 06 Sep 2010)
New Revision: 13722
Modified:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/SePersistenceContextExtension.java
Log:
add warning to SePersistenceContextExtension
Modified:
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/SePersistenceContextExtension.java
===================================================================
---
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/SePersistenceContextExtension.java 2010-09-06
09:48:22 UTC (rev 13721)
+++
modules/persistence/trunk/impl/src/main/java/org/jboss/seam/persistence/SePersistenceContextExtension.java 2010-09-06
09:53:11 UTC (rev 13722)
@@ -65,6 +65,12 @@
* unit (naturally).
* </p>
*
+ * <b>WARNING</b>
+ *
+ * If this is used to Bootstrap @PersistenceContext injection you will end up
+ * with a @Dependent scoped application manager, rather than a transaction
+ * scoped container managed entity manager.
+ *
* @author Gavin King
* @author Dan Allen
*/
Show replies by date