wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "first() Watch "first() New topic

first()' method of ResultSetMetaData clas

shivam aggarwal

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
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3700

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

My Blog: Down Home Country Coding with Scott Selikoff
I agree. Here's the link: http://aspose.com/file-tools
subject: first()' method of ResultSetMetaData clas
Similar Threads
boolean confusion
Problem geting column value.
jtree and database
how to count rows