Package org.opengis.cite.gpkg10.util
Class DatabaseUtility
java.lang.Object
org.opengis.cite.gpkg10.util.DatabaseUtility
Provides database utility methods
- Author:
- Luke Lambert
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
doesTableOrViewExist
(Connection connection, String name) doesTableOrViewExist.
-
Method Details
-
doesTableOrViewExist
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 java.sql.SQLExceptions
-