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

Tomaz Cerar (JIRA) issues at jboss.org
Mon Apr 14 09:04:33 EDT 2014


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

Tomaz Cerar reassigned WFLY-69:
-------------------------------

    Assignee: Scott Marlow

    
> 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
>            Assignee: Scott Marlow
>             Fix For: 9.0.0.CR1
>
>
> 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