hcarousel
06-22-2006, 02:25 PM
I tried to use the following statement in Java to create a Statement object,
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
but I got java.lang.NullPointerException error. Can anybody tell me what's wrong with my code?
By the way, I am using mysql on a unix system.
Thanks!
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
but I got java.lang.NullPointerException error. Can anybody tell me what's wrong with my code?
By the way, I am using mysql on a unix system.
Thanks!