This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Oracle/OAS and the fly likes Jpublisher is giving error while generating the class ? ? ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Jpublisher is giving error while generating the class ? ? ?" Watch "Jpublisher is giving error while generating the class ? ? ?" New topic
Author

Jpublisher is giving error while generating the class ? ? ?

Ramesh Bandari
Greenhorn

Joined: Mar 14, 2014
Posts: 2
Hi Eveyone,

Could you please help us , Oracle Jpublisher is giving error while generating the classes from the command prompt.

At first i created record type in a package and then package body in sql developer like this :

create or replace
package testpack as type My_Rec is record (a number,b number);
procedure testprocedure(e_name table1.empname%type,e_id table1.empid%type,e_sal My_Rec);
end testpack;

create or replace
package body testpack as
procedure testprocedure(e_name table1.empname%type,e_id table1.empid%type,e_sal My_Rec)is
begin
insert into table1 values(e_name,e_id);
end testprocedure;
end testpack;

DECLARE
esal testpack.My_Rec;
BEGIN
esal.a := 1;
esal.b := 2;

testpack.testprocedure(10, 100, esal);

END;


The above is my sample.To create the "My_Rec" related java class from the command prompt it is giving me the error is "oracle.jpub.JPubException: J2T-116, ERROR: Type or package TESTUSER.TIMEREC was not found in the database" .

i confirmed that in the "testuser" user the package and its type has been created . But from cmd it is not able to find. . Could you please help us if anybody have an idea?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jpublisher is giving error while generating the class ? ? ?
 
Similar Threads
How to create a procedure in oracle 10g to fetch an entire row
package body and spec in seperate file or in same file?
sql server callable statement result set issue..
passing 2D arrays to Oracle Stored Procedure with/without using JPublisher
Pragma Restrict References giving problems...