the problem must be somewhere else ... it's an SQLException meaning that some database related action went wrong.
Could you send the whole exception text and the related code snippet?
Also, you should check out JDBCSupport. It eases the interaction with databases ;-) Check the link below.
JDBCSupport - An easy to use, light-weight JDBC framework -
Joined: Nov 17, 2009
that's the only error i found in my tomcat server logs, i'm only newbie in programming so i'm not sure if my database code is ok, when i try my code it always say i'm not authentic but the user name and password that i use is correct because i only have 1 entry on my database, i'm not using any IDE in coding only notepad
Joined: Feb 23, 2009
Print the result of that to the console using System.out.println to see if he got the correct record from the database.