OPENJPA-2843 fix signature of runUnderUOW method

This commit is contained in:
Mark Struberg 2020-12-02 14:27:01 +01:00
parent eef64ccd69
commit b29976342c
1 changed files with 1 additions and 1 deletions

View File

@ -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);