I have an array with Field Names and jdbc Type codes. (Those int codes that you can find in
http://download.oracle.com/javase/1.4.2/docs/api/constant-values.html#java.s
I was also searching for SqlType and i found it in this sourcecode
http://www.docjar.com/html/api/java/sql/Types.java.html
You need the ResultSetMetaData object of your current ResultSet
. You can get it with getMetaData()
. Iterate over the columns and call foreach column the method
of your ResultSetMetaData
.
i
represents the column number (starting by 1).