University of Cincinnati logo and link  
JDBC 2
 
 
  • UC ingot JDBC 2 brought much needed improvements.
    • In JDBC 1, you could only use the next() method on rs.  There was no way to go back, find an absolute row, or find the total number of rows.  JDBC2, however, supplies us with:
      • previous() to go backwards
      • relative() to move a certain number of rows.
      • absolute() to go to a particular row number.
      • getRow() to give us the row number.
      • You can also update rows on the fly with an Updatable Result Set.
    • As simple as these sound, we went quite a long time without them!
     Let's Light This Candle