Package org.opengis.cite.gpkg12.util
Class DatabaseUtility
java.lang.Object
org.opengis.cite.gpkg12.util.DatabaseUtility
Provides database utility methods
- Author:
- Luke Lambert
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
doesTableOrViewExist
(Connection connection, String name)
-
Method Details
-
doesTableOrViewExist
- Parameters:
connection
- the connection to the databasename
- the name of the table- Returns:
- true if the table or view exists in the database; otherwise returns false
- Throws:
SQLException
- throws if unable to connect to the database or other various SQLExceptions
-