[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2015) user transactions do not work with seam managed persistence context
koen handekyn (JIRA)
jira-events at lists.jboss.org
Mon Oct 1 08:26:42 EDT 2007
user transactions do not work with seam managed persistence context
-------------------------------------------------------------------
Key: JBSEAM-2015
URL: http://jira.jboss.com/jira/browse/JBSEAM-2015
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 2.0.0.CR1
Reporter: koen handekyn
Priority: Minor
BMT do not work when using seam managed persistence context
bean is marked as @TransactionManagement(TransactionManagementType.BEAN)
user transaction is inject as @Resource private UserTransaction userTransaction;
seam managed persistence context defined as for example <persistence:managed-persistence-context name="bookingDatabase" auto-create="true" persistence-unit-jndi-name="java:/EntityManagerFactories/bookingData"/>
WHEN persistenceContext is injected as @PersistenceContext than user managed transaction WORK !
WHEN seam managed persistenceContext is injected with @In than user managed transaction DOES NOT WORK !
this is strange to me as the documentation states that in the normal case seam managed transactions use JPA !!!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list