Hello, I am looking to write a database trace interceptor for JBOSS specifically to trace Oracle database calls. The interceptor would work by basically enabling oracle trace for the connection being used for the database call. Right now, I can get this to work by hardcoding in a DataSource, retrieving the connection, enabling trace in the oracle connection and passing the invokation along. What I want to be able to do is grab a connection without having to hard code in any information. Is there a way I can accomplish this? I've looked at the ManagedConnectionInterceptor but can't see a way to get a connection.
Thanks, John View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839427#3839427 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839427 ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user