public final class DatabaseUtility extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
doesTableOrViewExist(Connection connection,
String name) |
public static boolean doesTableOrViewExist(Connection connection, String name) throws SQLException
connection
- the connection to the databasename
- the name of the tableSQLException
- throws if unable to connect to the database or other various
SQLExceptionsCopyright © 2022 Open Geospatial Consortium. All rights reserved.