List of usage examples for java.sql DatabaseMetaData supportsConvert
boolean supportsConvert(int fromType, int toType) throws SQLException;
CONVERT
for conversions between the JDBC types fromType and toType. From source file:Main.java
public static void main(String[] args) throws Exception { Connection conn = getHSQLConnection(); DatabaseMetaData md = conn.getMetaData(); System.out.println("supportsAlterTableWithDropColumn - " + md.supportsConvert(java.sql.Types.ARRAY, java.sql.Types.INTEGER)); conn.close();//from ww w .ja v a 2s . co m }