before first in jdbc code example Example: before first in jdbc beforeFirst() jumps to row 0. Used to call next() method in while loop.