[jboss-jira] [JBoss JIRA] (AS7-4097) Using an extended persistence context in a stateless session bean should throw an exception

Karsten Wutzke (JIRA) jira-events at lists.jboss.org
Thu Mar 8 06:20:36 EST 2012


Karsten Wutzke created AS7-4097:
-----------------------------------

             Summary: 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
            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