Package net.sf.basedb.core.hibernate
Class TableExistsWork
java.lang.Object
net.sf.basedb.core.hibernate.TableExistsWork
- All Implemented Interfaces:
ReturningWork<Boolean>
A work implementation that checks if a given table exists
in the database or not.
- Version:
- 2.9
- Author:
- nicklas
- Last modified
- $Date: 2018-11-05 15:01:50 +0100 (må, 05 nov 2018) $
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTableExistsWork
(String catalog, String schema, String table) Create a new work item. -
Method Summary
Modifier and TypeMethodDescriptionexecute
(Connection connection) From the Work interface -----------------------
-
Field Details
-
catalog
-
schema
-
table
-
-
Constructor Details
-
TableExistsWork
Create a new work item.- Parameters:
catalog
- The catalog the table is located in or null to ignore any catalog informationschema
- The schema the table is located in or null to ignore any schema informationtable
- The table to check
-
-
Method Details
-
execute
From the Work interface ------------------------ Specified by:
execute
in interfaceReturningWork<Boolean>
- Throws:
SQLException
-