On Fri, 5 Oct 2012, Eyal Wilde wrote:
>
> ResultSetMetaData __md = __rs.getMetaData(); //this
> is fine
> String __sf1name = __md.getColumnName(1); //this
> is fine
> int __if1type = __md.getColumnType(1);
> //this is fine
> String __sf1type = __md.getColumnTypeName(1); //this is
> SLOW!! ~15msec
>
getColumnTypeName requires going back to the server to fetch the
additional information about the source table that is not needed for
just getColumnType. So naturally that takes longer.
Kris Jurka