OpenEJB
  1. OpenEJB
  2. OPENEJB-1798

@GeneratedValue fails to work in some situations with OpenJPA

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: None
    • Labels:
      None

      Activity

      David Blevins created issue -
      Romain Manni-Bucau made changes -
      Field Original Value New Value
      Comment [ 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. ]
      David Blevins made changes -
      Status Open [ 1 ] Closed [ 6 ]
      Resolution Fixed [ 1 ]

        People

        • Assignee:
          Unassigned
          Reporter:
          David Blevins
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development