[c3p0-users] Getting native jdbc exception
Status: Beta
Brought to you by:
swaldman
From: Giambalvo C. <CGi...@bu...> - 2008-10-17 16:07:39
|
Hello, 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 :) Greets chris |