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

Jason Greene (JIRA) issues at jboss.org
Sun Dec 22 01:02:53 EST 2013


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

Jason Greene updated WFLY-69:
-----------------------------

    Fix Version/s: 8.0.0.Final

    
> Using an extended persistence context in a stateless session bean should throw an exception
> -------------------------------------------------------------------------------------------
>
>                 Key: WFLY-69
>                 URL: https://issues.jboss.org/browse/WFLY-69
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JPA / Hibernate
>            Reporter: Karsten Wutzke
>             Fix For: 8.0.0.CR1, 8.0.0.Final
>
>
> 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