[ 
https://issues.apache.org/jira/browse/OPENEJB-2120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980352#comment-14980352
 ] 

Pascal Knüppel commented on OPENEJB-2120:
-----------------------------------------

okay, I wasn't familiar with the @Produces paaradigm and had to look into that. 
It works but with one restriction that gets me stuck again...
If I execute my test methods alone in isolation they pass. But If I execute all 
test-methods of one class all tests but the first one that is getting executed 
will fail. The Exception is the following: 

java.lang.IllegalStateException: Attempting to execute an operation on a closed 
EntityManager.

any suggestions why the entitymanager is getting closed?

> JPA 2.1 Support
> ---------------
>
>                 Key: OPENEJB-2120
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-2120
>             Project: OpenEJB
>          Issue Type: Wish
>          Components: general
>            Reporter: Pascal Knüppel
>            Assignee: Romain Manni-Bucau
>              Labels: jpa21
>
> It would be really great if support for JPA 2.1 was provided. Is there any 
> chance that support for this api level will come soon?
> In order to keep my Unit-Tests alive I need to downgrade all the requests to 
> the database to jpa 2.0 which makes working on my project very difficult...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to