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("supportsSubqueriesInIns - " + md.supportsSubqueriesInIns()); conn.close();/*w ww. j a v a 2 s .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("supportsCatalogsInProcedureCalls - " + md.supportsCatalogsInProcedureCalls()); conn.close();/*w ww .j av a 2 s.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("supportsCatalogsInIndexDefinitions - " + md.supportsCatalogsInIndexDefinitions()); conn.close();/* www .j a va2 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("supportsBatchUpdates - " + md.supportsBatchUpdates()); conn.close();// www . 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("supportsUnion - " + md.supportsUnion()); conn.close();//w w w . j a va 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("supportsSchemasInIndexDefinitions - " + md.supportsSchemasInIndexDefinitions()); conn.close();//from w ww. j a v a2 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("supportsCoreSQLGrammar - " + md.supportsCoreSQLGrammar()); conn.close();/* w w w . j a v a2 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("supportsConvert - " + md.supportsConvert()); conn.close();/*from www. j a va 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("supportsTransactions - " + md.supportsTransactions()); conn.close();/*from w w w .j a v a2s . 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("supportsSchemasInPrivilegeDefinitions - " + md.supportsSchemasInPrivilegeDefinitions()); conn.close();/*from w w w . jav a2 s.c o m*/ }