I\'m having trouble getting data from a ResultSet object. Here is my code:
String sql = \"SELECT type FROM node WHERE nid = ?\"; PreparedStatement pr
You have to call next() before you can start reading values from the first row. beforeFirst puts the cursor before the first row, so there's no data to read.
next()
beforeFirst