// NB The connection first arg is not required since will be cached from initialisation stage
RDBMSTypesInfo typesInfo = (RDBMSTypesInfo)schemaHandler.getSchemaData(null, "types", null);
JDBCTypeInfo jdbcTypeInfo = (JDBCTypeInfo)typesInfo.getChild("" + jdbcType);
if (jdbcTypeInfo.getNumberOfChildren() == 0)
{
throw new UnsupportedDataTypeException(LOCALISER.msg("051005",
JDBCUtils.getNameForJDBCType(jdbcType)));
}
// Use default type
return (SQLTypeInfo)jdbcTypeInfo.getChild("DEFAULT");