public static Class<?> getColumnType(@NotNull ResultSetMetaData metaData, int column) throws SQLException {
String className = metaData.getColumnClassName(column);
try {
return Class.forName(className);
} catch (ClassNotFoundException e) {
throw new DatabaseException("Could not find class '" + className + "' specified by ResultSet.", e);
}
}