{
try
{
DatabaseMetaData metaData = connection.getMetaData();
ResultSet typeInfo = metaData.getTypeInfo();
ResultSetIterator resultSetIterator = new ResultSetIterator(connection, typeInfo, new InsensitiveMapRowHandler(), new SingleResultResultSetCloser());
while (resultSetIterator.hasNext())
{
Map<String, Object> typeRecord = resultSetIterator.next();
Number data_type = (Number) typeRecord.get(METADATA_TYPE_ID_COLUMN);