Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Application module is not a root app module but has no parent

Nigel Thomas-OracleJun 5 2012 — edited Jun 6 2012
Hi,

I'm using JDeveloper 11.1.2.1.0

I created a pl/sql procedure and ran it in the SQL Worksheet, the procedure was working fine.
After that I created a method in the Application Module to access the procedure from the AM. The client interface of the method was created and the procedure was accessed and the procedure worked fine.
After that I created a View object and attached it to the AM and dropped the VO attributes as a form on the page and tried to access the method in am from a backing bean , there had to be two parameters passed into the procedure,that's why i accessed the AM method through a backing bean.

But inside the Am there is a line of code like this :
stmt = getDBTransaction().createCallableStatement(str.toString(), 1);
At this line a error is being throw , like this :

<font color="red"> oracle.jbo.InvalidOwnerException: JBO-25301: Application module ApplicationModuleImpl_6 is not a root app module but has no parent</font>

Why is this error coming ?

Thanks,
Nigel.

Edited by: Nigel Thomas on Jun 5, 2012 2:37 AM

Edited by: Nigel Thomas on Jun 5, 2012 2:38 AM
This post has been answered by John Stegeman on Jun 6 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 4 2012
Added on Jun 5 2012
8 comments
1,038 views