[aspectwerkz-user] Matching JDBC-Function
[email protected] Mon, 13 Mar 2006 16:40:29 +0100 (CET)
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <26661991.1142264429163.JavaMail.ngmail@webmail-07.arcor-online.net> |
Hello, we want to use AOP to measure the performance of our Informix database. Unfortenately we are not able to build an pointcut with a matching expression for the methods of the native informix JDBC-driver. Could anyone help us, please? <aspectwerkz> <system id="SQLLogging"> <package name="AOPSQL"> <aspect class="SQLLogger"> <pointcut name="sqlStatement" expression="execution(public * com.informix.jdbc.IfmxStatement.executeQuery(String,..))"/> <advice name="execStmt(JoinPoint jp)" type="around" bind-to="sqlStatement"/> </aspect> </package> </system> </aspectwerkz> Thanks Andreas Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer, nur 44,85 inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2