From b29976342c912ca5db47ef529cba025b3fe18430 Mon Sep 17 00:00:00 2001 From: Mark Struberg Date: Wed, 2 Dec 2020 14:27:01 +0100 Subject: [PATCH] OPENJPA-2843 fix signature of runUnderUOW method --- .../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 81fad5188..71cffa8a0 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);