Psqlexception Not Getting Caught
I am using Tomcat 6 and Postgresql 8.4. My code looks as follows: try { // Prepared statement inserting something... } catch (final PSQLException e) { LOG.log(Level.SEVERE, 'Sa
Solution 1:
Turns out, I had another JDBC driver in my Tomcat's lib/ folder, apart from the one in WEB-INF/lib/. Removing the Tomcat's one fixed my problem.
(Yes, it was a different class loader problem, thanks @NathanHughes.)
Post a Comment for "Psqlexception Not Getting Caught"