Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

resultset methods in jdbc

next() -> moves to next row
previous() -> moves to previous row
getObject() -> reads data from column
first() -> jumps to first row
last() -> jumps to last row
absolute(int row) -> go to specific row
beforeFirst()-> jumps to row 0. 
            Used to call next() method in while loop
getRow() -> returns index of current row
 
PREVIOUS NEXT
Tagged: #resultset #methods #jdbc
ADD COMMENT
Topic
Name
8+5 =