943,965 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1373
  • Java RSS
Mar 28th, 2006
0

ResultSet.... getterMethod()

Expand Post »
which method in the ResultSet that will return the number of column in a table?

I'm not entilry sure but i think its the getFetchSize()
However on the API it says that :

Quote ...
"Gives the JDBC driver a hint as to the number of rows that should be fetched from the database "
here says "rows" not columns?

any idea which method returns the number of columns of a table?

thanks

--
fd
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
fdrage is offline Offline
28 posts
since Jun 2005
Mar 29th, 2006
0

Re: ResultSet.... getterMethod()

Ok found it, was looking at the wrong thing.

just incase anyone interested its the ResultSetMetaData.getColumnCount();
Reputation Points: 10
Solved Threads: 0
Light Poster
fdrage is offline Offline
28 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Runtime
Next Thread in Java Forum Timeline: Execution





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC