This discussion is archived
3 Replies Latest reply: Feb 7, 2013 1:29 AM by Joe Zou RSS

JBO-25301 - accessing DBTransaction  in AMImpl

910305 Newbie
Currently Being Moderated
Hi All,

I am trying to perform some initialization when the AM is instantiated. Therefore I have
called a method from AMImpl constructor and try to access DBTransaction .
The following exception is thrown when we try to access DBTransaction.
Exception :
Exception : oracle.jbo.InvalidOwnerException: JBO-25301: Application module TestAMImpl_30 is not a root app module but has no parent

Sample Code :
public class TestAMImpl extends ApplicationModuleImpl {

     public TestAMImpl() {


     public void initMethod(){
          DBTransaction dbTransaction = getDBTransaction(); // Exception is thrown


  • Correct Answers - 10 points
  • Helpful Answers - 5 points