how can i get the sql exception thrown by the native sql driver?
Example: if i try to login into an oracle database with wron username, oracle answers with an Message containing the "ORA-01017" error code.

This error code gets logged in the logfiles, but c3p0 throws an TimeOutException and hides the orginal error message. But i need this message to forward the user to a given error page. Is there a property to set or a method to override to handle this?

I'm a newbie with c3p0 and connectionpooling in general, so please be patient with me :)