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

Ok found it, was looking at the wrong thing.

just incase anyone interested its the ResultSetMetaData.getColumnCount();