Skip to Main Content

Oracle Database Discussions

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!

trace oracle session with java application...

user12115Nov 5 2009 — edited Nov 26 2009
Hi All,

Can any one suggest me how to trace oracle session with Java application? I am using oracle 10g R2, and we are using java application.

A java application generally has a connection pool through with users are connected to a database,so when you try to trace a session the old way, using alter session set trace=true, every a time you will not only get actual trace of that user, for sometimes its true. In addition user/session might switch from one connection to a different connection i.e. your sesssion Id will not fixes for a considerable amount of time, your session is internally switch.

Can anyone suggest me the convienet method like setting some client_identifier or etc.


Thanks..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 24 2009
Added on Nov 5 2009
8 comments
2,283 views