assigning a specific record in a ResultSet to a variable

Posted by kilhra on Stack Overflow See other posts from Stack Overflow or by kilhra
Published on 2008-12-29T11:12:33Z Indexed on 2010/04/19 14:33 UTC
Read the original article Hit count: 258

Filed under:
|
|

Hi I want to retrieve a set of records from a database, do a rs.next() and then assign the result of this to a variable to pass to a method that will use this record, in the same way that I would without assigning it to a variable and passing it to a method is there any way to do this? I'm using JAVA (1.5)

© Stack Overflow or respective owner

Related posts about java

Related posts about jdbc