db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Eade <se...@backstagetech.com.au>
Subject Re: How to add P6Spy: WAS: Printing SQL
Date Mon, 08 Dec 2003 22:21:13 GMT
It would be good to add this information to the wiki.

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au


Göschl,Siegfried wrote:

>Hi Sonu,
>
>some help for an entry level programmer with a console application - life is harsh sometimes
 ... :-)
>
>+) add the p6spy.jar to your classpath
>+) copy the spy.properties into your classpath (same location as log4j.properties)
>+) set the real driver in spy.properties, e.g. realdriver=oracle.jdbc.driver.OracleDriver
in my case
>+) change the Torque.properties, e.g. torque.dsfactory.XXX.connection.driver = com.p6spy.engine.spy.P6SpyDriver
>
>The program creates a spy.log in your current directory ... piece of cake looking at it
... ;-)
>
>Cheers,
>
>Siegfried Goeschl
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message