hi,
the easiest is to use p6spy.
use the p6spy-driver in repository_database.xml :
...
driver="com.p6spy.engine.spy.P6SpyDriver"
protocol="jdbc"
subprotocol="mysql"
dbalias="//localhost:3306/ojb"
...
and define the realdriver spy.prope
Logging levels are set in the OJB.properties files. Find a line that
specifies the logging level for your implementation of SQL generator,
e.g.
org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl.LogLevel=WARN,
and put the appropriate value in ("DEBUG").
Around that part of the file,
Hi list:
How and what to turn on for ojb debug options, so that I can debug the
SQLs, generated from the OJB queries.
I am using : MSSQL and jtds driver.
Thanks
--
A good friend will come bail you out of jail...but, a true friend will
be sitting next to you saying, "Damn...that was fun.