aspose file tools*
The moose likes JDBC and the fly likes first()' method of ResultSetMetaData clas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "first() Watch "first() New topic
Author

first()' method of ResultSetMetaData clas

shivam aggarwal
Greenhorn

Joined: Oct 15, 2009
Posts: 8

i tried to 'public void boolean first()' method of ResultSetMetaData class;apart from setting the pointer to first record it also returns boolean value.
so on using it as 'rs.first();'without assigning it to a value ,it gives no errors
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3710
    
    5

What's your question exactly? first() is a property of ResultSet, not ResultSetMetaData.


My Blog: Down Home Country Coding with Scott Selikoff
 
jQuery in Action, 2nd edition
 
subject: first()' method of ResultSetMetaData clas