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 (Commented) (JIRA)" <ji...@apache.org> on 2012/03/15 21:46:37 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13230528#comment-13230528 ]
Romain Manni-Bucau commented on OPENEJB-1798:
---------------------------------------------
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