List of usage examples for java.sql Connection getMetaData
DatabaseMetaData getMetaData() throws SQLException;
DatabaseMetaData
object that contains metadata about the database to which this Connection
object represents a connection. From source file:Main.java
public static void main(String[] args) throws Exception { Connection conn = getHSQLConnection(); DatabaseMetaData md = conn.getMetaData(); System.out.println("supportsLikeEscapeClause - " + md.supportsLikeEscapeClause()); conn.close();/*from ww w .ja v a 2s .co m*/ }
From source file:Main.java
public static void main(String[] args) throws Exception { Connection conn = getHSQLConnection(); DatabaseMetaData md = conn.getMetaData(); System.out.println("supportsPositionedUpdate - " + md.supportsPositionedUpdate()); conn.close();//from w w w .ja v a 2 s . c o m }
From source file:Main.java
public static void main(String[] args) throws Exception { Connection conn = getHSQLConnection(); DatabaseMetaData md = conn.getMetaData(); System.out.println(md.getSchemaTerm()); conn.close();//from w w w .j av a2 s . c o m }
From source file:Main.java
public static void main(String[] args) throws Exception { Connection conn = getHSQLConnection(); DatabaseMetaData md = conn.getMetaData(); System.out.println("supportsGetGeneratedKeys - " + md.supportsGetGeneratedKeys()); conn.close();/*from w ww .ja v a 2 s . c o m*/ }
From source file:Main.java
public static void main(String[] args) throws Exception { Connection conn = getHSQLConnection(); DatabaseMetaData md = conn.getMetaData(); System.out.println("supportsOrderByUnrelated - " + md.supportsOrderByUnrelated()); conn.close();/*from www .jav a 2s. c o m*/ }
From source file:Main.java
public static void main(String[] args) throws Exception { Connection conn = getHSQLConnection(); DatabaseMetaData md = conn.getMetaData(); System.out.println("supportsPositionedDelete - " + md.supportsPositionedDelete()); conn.close();/* w ww .j a v a 2 s . c om*/ }
From source file:Main.java
public static void main(String[] args) throws Exception { Connection conn = getHSQLConnection(); DatabaseMetaData md = conn.getMetaData(); System.out.println(md.getCatalogSeparator()); conn.close();/*from ww w . ja v a2 s . c o m*/ }
From source file:Main.java
public static void main(String[] args) throws Exception { Connection conn = getHSQLConnection(); DatabaseMetaData md = conn.getMetaData(); System.out.println("supportsMultipleTransactions - " + md.supportsMultipleTransactions()); conn.close();/*from ww w . j av a 2 s . com*/ }
From source file:Main.java
public static void main(String[] args) throws Exception { Connection conn = getHSQLConnection(); DatabaseMetaData md = conn.getMetaData(); System.out.println("supportsOpenStatementsAcrossRollback - " + md.supportsOpenStatementsAcrossRollback()); conn.close();//from w ww . j ava 2 s . c o m }
From source file:Main.java
public static void main(String[] args) throws Exception { Connection conn = getHSQLConnection(); DatabaseMetaData md = conn.getMetaData(); System.out.println("supportsOpenCursorsAcrossCommit - " + md.supportsOpenCursorsAcrossCommit()); conn.close();// ww w. j a v a 2 s . c om }