Your example does not work for two reasons: 1. The PreparedStatement class does not have a member function called executeStatement 2. The ResultSet class does not have a member function isClosed
On Sep 4, 10:45 pm, Atrus <[EMAIL PROTECTED]> wrote: > With this snippet of code. > > PreparedStatement ps = con.prepareStatement("SELECT * FROM wordList;"); > ResultSet rs = ps.executeStatement(); > > if(!rs.isClosed()) > System.out.println("Not Closed"); > > -------- > > It throws "ResultSet is Closed error" > > Why would it do this? --~--~---------~--~----~------------~-------~--~----~ Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en To unsubscribe, send email to [EMAIL PROTECTED] -~----------~----~----~----~------~----~------~--~---