Skip to Main Content

Oracle Forms

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Java Procedure in Database

Muhammad RabieJun 26 2014 — edited Jun 26 2014

create or replace AND RESOLVE java class using bfile(temp,'jic.class');

SELECT object_name

, object_type

, status

FROM user_objects

where object_type like 'JAVA%';

OUTPUT

jic    JAVA CLASS    VALID

CREATE or replace FUNCTION cap(a number,b number, c number,d number) RETURN VARCHAR2 AS

LANGUAGE JAVA

NAME 'jic.image_cap(int,int,int,int) return java.lang.String';

SELECT CAP(101,101,10,10) FROM DUAL;

ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError

29532. 00000 -  "Java call terminated by uncaught Java exception: %s"

*Cause:    A Java exception or error was signaled and could not be

           resolved by the Java code.

*Action:   Modify Java code, if this behavior is not intended.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 24 2014
Added on Jun 26 2014
1 comment
1,159 views