View java class source in oracle database

View java class source in oracle database
java class code that is compiled in database
java class is compiled successfully and is valid
query java object in Oracle database

Click HERE for steps to compile java object in Oracle database

--Run below query to check if the java class is compiled successfully and is valid.
SELECT *
FROM dba_objects
WHERE object_type IN ('JAVA SOURCE')
and object_name like '%TEST_JAVA_PKG%';



--Run below query to view the java class code that is compiled in database
SELECT * FROM USER_SOURCE
WHERE TYPE = 'JAVA SOURCE'
AND NAME like '%TEST_JAVA_PKG%'
order by line;
Related posts: Upload your own post and refer it anywhere anytime:

Leave a Reply