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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Mar 5 21:08:57 EST 2013


     [ https://issues.jboss.org/browse/AS7-4097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated AS7-4097:
----------------------------------

    Fix Version/s: 8.0.0.Alpha1
                       (was: 7.3.0.Alpha1)

    
> 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
>             Fix For: 8.0.0.Alpha1
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list