Skip to Main Content

Java Programming

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!

How to debug/logging stored procedure in java

807589Sep 25 2008 — edited Sep 26 2008
Hi Guys,

our application is written in java and lots of database processing done in custom stored procedure/pl/sql instead in java.

i am thinking how do we make the logging in stored procedure come out in the app server console or to the log file.. since dbms_out.put_line will not output anything if i call the stored procedure from java side.

one way i can think of is to create a wrapper ( outer stored procedure that will set the serveroutput on and bla bla bla ) in java and call the actual stored procedure and it will make all the dbms_out.put_line to be printed on the console?

Any other ideas ?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 24 2008
Added on Sep 25 2008
3 comments
535 views