ResultSet.... getterMethod()

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2005
Posts: 28
Reputation: fdrage is an unknown quantity at this point 
Solved Threads: 0
fdrage's Avatar
fdrage fdrage is offline Offline
Light Poster

ResultSet.... getterMethod()

 
0
  #1
Mar 28th, 2006
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 :

"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
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 28
Reputation: fdrage is an unknown quantity at this point 
Solved Threads: 0
fdrage's Avatar
fdrage fdrage is offline Offline
Light Poster

Re: ResultSet.... getterMethod()

 
0
  #2
Mar 29th, 2006
Ok found it, was looking at the wrong thing.

just incase anyone interested its the ResultSetMetaData.getColumnCount();
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC