Hello,
I got an issue using Commons-dbcp due to misconfiguration.
The stacktrace doesn't contain the cause exception. As I'm running under
Java5, the "THROWABLE_CAUSE_METHOD" evaluates to true, so the
printStackTrace is not completed by SQLNestedException. But as no one
called the setCause method, the cause exception is never logged. The cause is written to
DriverManager.getLogWriter but I don't know where it logs in my app...
Maybe the SQLNestedException constructor could call (using reflexion)
the setCause method ?
Nico.
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is intended only for the person to whom
it is addressed. If you are not the intended recipient, you are not authorized
to read, print, retain, copy, disseminate, distribute, or use this message or
any part thereof. If you receive this message in error, please notify the
sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]