Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

first()' method of ResultSetMetaData clas

 
shivam aggarwal
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 4020
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's your question exactly? first() is a property of ResultSet, not ResultSetMetaData.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic