Hi Frank.  We do this in the Glassbox application performance troubleshooting 
project. You can find the code, a link to an article I wrote describing it 
(Using AspectJ and JMX for performance management) and documentation at 
glassbox.com. If you want to advise execution inside a JDBC driver then you 
need to weave into the driver classes. We typically do this with load-time 
weaving though you could use inpath to do it at build time.

Hth,
Ron
Sent wirelessly via BlackBerry from T-Mobile.  

-----Original Message-----
From: "Luo, Frank" <[EMAIL PROTECTED]>
Date: Mon, 17 Jul 2006 14:41:15 
To:<[email protected]>
Subject: [aspectj-users] Intercepting sql calls in tomcat

I am wondering if any one has an example on intercepting sql calls such as 
PreparedStatement.executeXXX() in Tomcat environment.
 
It sounds pretty basic, but I just couldn't see any java.sql.. calls being 
intercepted. 
 
Thx! 
 _______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to