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
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 Summary
Constructors Constructor Description GetDatabaseTableNames()
-
Method Summary
Modifier and Type Method Description static List<String>
getDatabaseTableNames(Connection conn)
-
Constructor Details
-
GetDatabaseTableNames
public GetDatabaseTableNames()
-
-
Method Details
-
getDatabaseTableNames
- 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
-