openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject [openjpa] 02/02: OPENJPA-2843 fix signature of runUnderUOW method
Date Sat, 12 Dec 2020 13:51:05 GMT
This is an automated email from the ASF dual-hosted git repository.

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openjpa.git

commit b29976342c912ca5db47ef529cba025b3fe18430
Author: Mark Struberg <struberg@apache.org>
AuthorDate: Wed Dec 2 14:27:01 2020 +0100

    OPENJPA-2843 fix signature of runUnderUOW method
---
 .../src/main/java/org/apache/openjpa/ee/WASRegistryManagedRuntime.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/ee/WASRegistryManagedRuntime.java
b/openjpa-kernel/src/main/java/org/apache/openjpa/ee/WASRegistryManagedRuntime.java
index 81fad51..71cffa8 100644
--- a/openjpa-kernel/src/main/java/org/apache/openjpa/ee/WASRegistryManagedRuntime.java
+++ b/openjpa-kernel/src/main/java/org/apache/openjpa/ee/WASRegistryManagedRuntime.java
@@ -41,7 +41,7 @@ public class WASRegistryManagedRuntime extends RegistryManagedRuntime {
             getUOWManager = classUOWManagerFactory.getMethod("getUOWManager");
 
             Class classUOWManager = Class.forName("com.ibm.wsspi.uow.UOWManager");
-            runUnderUOW = classUOWManager.getMethod("runUnderUOW");
+            runUnderUOW = classUOWManager.getMethod("runUnderUOW", new Class[]{int.class,
boolean.class, UOWAction.class});
         }
         catch (Exception e) {
             throw new RuntimeException("Problem while creating WASManagedRuntime", e);


Mime
View raw message