Method Summary |
|
public static void | assertDrainResults(ResultSet rs) Drain a single ResultSet by reading all of its
rows and columns. |
public static void | assertMetaDataMatch(DatabaseMetaData dmd, ResultSetMetaData rsmd) Assert all columns in the ResultSetMetaData match the
table's defintion through DatabaseMetadDta. |
public static void | cleanup(Connection conn) Rollback and close a connection for cleanup. |
public static void | dropSchema(DatabaseMetaData dmd, String schema) Drop a database schema by dropping all objects in it
and then executing DROP SCHEMA. |
public static String | escape(String name) Escape a non-qualified name so that it is suitable
for use in a SQL query executed by JDBC. |
public static String | escape(String schema, String name) Escape a schama-qualified name so that it is suitable
for use in a SQL query executed by JDBC. |
public static boolean | vmSupportsJDBC2()
Return true if the virtual machine environment
supports JDBC2 or later. |
public static boolean | vmSupportsJDBC3()
Return true if the virtual machine environment
supports JDBC3 or later. |
public static boolean | vmSupportsJDBC4()
Return true if the virtual machine environment
supports JDBC4 or later. |
public static boolean | vmSupportsJSR169()
Return true if the virtual machine environment
supports JSR169 (JDBC 3 subset). |