db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric Trifiro <ftrif...@yahoo.fr>
Subject RE: SQL spy
Date Thu, 21 Aug 2003 18:54:40 GMT
Thanks Olli !!

But, it will work with this driver even if my database
is Oracle ?

Thanks again, Fred

 --- oliver.matz@ppi.de a écrit : > Hello Frédéric,
> 
> > -----Original Message-----
> > From: Frédéric Trifiro [mailto:ftrifiro@yahoo.fr]
> 
> > Is it possible with the p6spy.jar to get SQL code
> > generated by OJB ? I've seen something in the OJB
> FAQs
> > mentionning that with the spy.properties but i
> don't
> > have this file in my application. 
> > 
> 
> the FAQ answer applies to the OJB build time, but
> you can 
> use p6spy also when OJB without the useP6Spy switch.
> 
> You have to copy
> jakarta-ojb/src/test/org/apache/ojb/spy.properties
> into a directory where your application finds it
> (via
> the classpath) and edit it according to the FAQ.
> 
> Besides, you have to use 
> driver="com.p6spy.engine.spy.P6SpyDriver"
> in the jdbc-connection-descriptor in your
> repository_database.xml
> 
> HTH,
> 	Olli
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail:
> ojb-dev-help@db.apache.org
>  

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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


Mime
View raw message