[jboss-jira] [JBoss JIRA] (AS7-4097) Using an extended persistence context in a stateless session bean should throw an exception
Scott Marlow (JIRA)
jira-events at lists.jboss.org
Thu May 3 22:47:17 EDT 2012
[ https://issues.jboss.org/browse/AS7-4097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Marlow updated AS7-4097:
------------------------------
Component/s: JPA / Hibernate
(was: EJB)
Forum Reference: https://community.jboss.org/thread/196404 (was: https://community.jboss.org/thread/196404)
> Using an extended persistence context in a stateless session bean should throw an exception
> -------------------------------------------------------------------------------------------
>
> Key: AS7-4097
> URL: https://issues.jboss.org/browse/AS7-4097
> Project: Application Server 7
> Issue Type: Bug
> Components: JPA / Hibernate
> Reporter: Karsten Wutzke
>
> Using an extended persistence context in a stateless session bean should not initiate. It should throw an exception to notify the user of incorrect use.
> See JPA 2.0 spec, section 7.6.2:
> "A container-managed extended persistence context can only be initiated within the scope of a stateful session bean."
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list