Your pointcut expression is incorrect and will not match any methods on PreparedStatement.
It should be: | <bind pointcut="call(* $instanceof{java.sql.PreparedStatement}->execute*(..))"> | <interceptor class="com.apple.ist.rubyservice.aspects.SQLExecutionInterceptor"/> | </bind> | This matches every execute method on PreparedStatement. You'll have to provide the full method pattern to do more fine-grained interception. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852925#3852925 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852925 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development