Package javatapas.sql

Class GetDatabaseTableNames

java.lang.Object
javatapas.sql.GetDatabaseTableNames

public class GetDatabaseTableNames
extends Object
Return a List containing all Database Table (and View) Names using JDBC.

Published at https://www.javatapas.com/sql/Java-Get-Database-Table-Names.html

Javadoc at https://www.javatapas.com/docs/javatapas/sql/GetDatabaseTableNames.html
Version:
2021-05-24
Author:
Kodiak Brown
  • Constructor Details

    • GetDatabaseTableNames

      public GetDatabaseTableNames()
  • Method Details

    • getDatabaseTableNames

      public static List<String> getDatabaseTableNames​(Connection conn) throws SQLException
      Parameters:
      conn - The JDBC Connection object. Note that since this is being passed into the method as a parameter, it does not get closed within the method.
      Throws:
      SQLException