|
From: Thomas R. <tho...@tr...> - 2004-07-23 02:21:45
|
Jack, It might be easier to use something like p6spy (http://www.p6spy.com/) for jdbc debugging. Thomas hi jack wrote: > Hi Spring team > > Sorry to interrupt you. > > I have used spring aop for months. And now I try to sniff out sql > statement for debugging. I define java.sql.Statement.execute* as > pointcut. But it seems the spring aop advise does work at all:( > > The traditional way in spring document is: > 1)define the bean and register it in the bean container. > 2)proxy it, and bind with advisor > 3)get the bean(created by proxy) by name, run it. > > I think the third step broken in my scene, because the main stream > codes are encapsulated well. So any suggestion? > > Regards! > Jack > > _________________________________________________________________ > 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > |