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
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
ResultSet
getMetaData()
of your ResultSetMetaData.
ResultSetMetaData
i represents the column number (starting by 1).
i