Java SQL Table getTables(Connection connection)

Here you can find the source of getTables(Connection connection)

Description

get Tables

License

Open Source License

Declaration

private static ResultSet getTables(Connection connection) throws SQLException 

Method Source Code


//package com.java2s;

import java.sql.*;

public class Main {
    private static ResultSet getTables(Connection connection) throws SQLException {
        return connection.getMetaData().getTables(null, null, "%", new String[] { "TABLE" });
    }// w w  w .  java2  s .  co  m
}

Related

  1. getTableName(String sql)
  2. getTableNames(Connection conn)
  3. getTableNames(Connection conn)
  4. getTables(Connection conn)
  5. getTables(Connection connection)
  6. getTables(Connection connection)
  7. getTablesFromDatabase(Connection conn)
  8. getTableSize(Connection conn, String tableName)
  9. getTableSize(final Statement statement, final String schema, final String table, boolean scope)