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(md.getDriverMajorVersion()); conn.close();/*from ww w . j a 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("supportsMultipleResultSets - " + md.supportsMultipleResultSets()); conn.close();//from w ww.j a 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("supportsExtendedSQLGrammar - " + md.supportsExtendedSQLGrammar()); conn.close();//from ww 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("supportsOuterJoins - " + md.supportsOuterJoins()); conn.close();/*from ww w.ja v 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(md.getProcedureTerm()); conn.close();/*from w w w . j a va 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.getIdentifierQuoteString()); conn.close();// w w w . ja 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("supportsFullOuterJoins - " + md.supportsFullOuterJoins()); conn.close();/* w w w .j ava 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("supportsMixedCaseIdentifiers - " + md.supportsMixedCaseIdentifiers()); conn.close();//from w w w . j a v a2s . 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("supportsNonNullableColumns - " + md.supportsNonNullableColumns()); conn.close();//from w w w .j a va 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.getExtraNameCharacters()); conn.close();/*from w w w. j a v a 2 s.c om*/ }