You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (Updated) (JIRA)" <ji...@apache.org> on 2012/03/15 21:52:37 UTC

[jira] [Updated] (OPENEJB-1798) @GeneratedValue fails to work in some situations with OpenJPA

     [ https://issues.apache.org/jira/browse/OPENEJB-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau updated OPENEJB-1798:
----------------------------------------

    Comment: was deleted

(was: by default OpenJPA was using RegistryManagedRuntime and the implementation of org.apache.openjpa.ee.RegistryManagedRuntime#doNonTransactionalWork (which is invocated when OpenJPA tries to get the id value) simply makes the operation fail.

using invocation(TransactionManagerMethod=org.apache.openejb.OpenEJB.getTransactionManager) for openjpa.ManagedRuntime makes it working.)
    
> @GeneratedValue fails to work in some situations with OpenJPA
> -------------------------------------------------------------
>
>                 Key: OPENEJB-1798
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1798
>             Project: OpenEJB
>          Issue Type: Bug
>            Reporter: David Blevins
>             Fix For: 4.0.0-beta-3
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira