Java JDBC Database Metadata getDatabaseMetaData(Connection con)

Here you can find the source of getDatabaseMetaData(Connection con)

Description

get Database Meta Data

License

Apache License

Declaration

public static DatabaseMetaData getDatabaseMetaData(Connection con) throws SQLException 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.sql.*;

public class Main {
    public static DatabaseMetaData getDatabaseMetaData(Connection con) throws SQLException {
        return con.getMetaData();
    }//from w  w  w .ja v  a2s.c  o  m
}

Related

  1. getColumnNames(String tablename, String column, Connection conn)
  2. getColumns(Connection connection, String name)
  3. getColumnSize(Connection con, String tableName, String columnName)
  4. getDatabaseId(DatabaseMetaData md)
  5. getDatabaseInfo(Connection connection_)
  6. getDatabaseType(DatabaseMetaData metaData)
  7. getDBMSName(Connection conn)
  8. getDBProduct(Connection conn)
  9. getDBTables(DatabaseMetaData metaData, String dataBase, String user)