mirror of https://github.com/apache/openjpa.git
OPENJPA-2843 fix signature of runUnderUOW method
This commit is contained in:
parent
eef64ccd69
commit
b29976342c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue