Ant has nothing to do with P6Spy, even if you do not use ant you still can use P6Spy.

You can also let OJB log the generated statements, however they will not show the query values. Set the following property in OJB.properties:

# Logger for SqlGenerator, useful for debugging generation of SQL
org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl.LogLevel=DEBUG

bye
danilo

Hi,

I want to know the SQL statements executed by OJB, but I don't use ant and
cannot run P6Spy. Can anybody tell me whether there is any way to get the
real SQL statements?

Thanks,
Zhe


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to