Hello all,
Sorry to hijack the thread into a question about P6Spy. The P6Spy document
that Armin pointed out here says that we have to modify the "driver"
parameter in the "jdbc-connection-descriptor" of the repository.xml file.
However, I have a managed environment (WSAD/WAS) wherein I do not specify
the driver in the repository.xml file. More specifically, my connection
descriptor is like this:
<jdbc-connection-descriptor
jcd-alias="OJBDb"
default-connection="true"
platform="Db2"
jdbc-level="1.0"
jndi-datasource-name="jdbc/ojbDataSource"
username="*****"
password="*****"
batch-mode="false"
useAutoCommit="1"
ignoreAutoCommitExceptions="false">
<sequence-manager
className="org.apache.ojb.broker.util.sequence.SequenceManagerNativeImpl">
<attribute attribute-name="grabSize"
attribute-value="1"></attribute>
</sequence-manager>
</jdbc-connection-descriptor>
Since I am using jndi-datasource-name, I didn't have to specify the
driver. How do I use P6Spy in such cases? Do I just add an additional
parameter for driver? Any help is appreciated. Thank you.
Regards,
-Vamsi
> Did you
>
> > check the generated sql statements, e.g. via P6Spy (jar is shipped
> with
> > OJB)?
> > http://db.apache.org/ojb/docu/faq.html#traceProfileSQL
> >
> >
> > regards,
> > Armin
> >
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]