Package org.hibernate.testing.cleaner
Class DB2DatabaseCleaner
java.lang.Object
org.hibernate.testing.cleaner.DB2DatabaseCleaner
- All Implemented Interfaces:
DatabaseCleaner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addIgnoredTable
(String tableName) void
clearAllData
(Connection connection) void
void
clearData
(Connection connection, String schemaName) void
clearSchema
(Connection c, String schemaName) boolean
isApplicable
(Connection connection)
-
Constructor Details
-
DB2DatabaseCleaner
public DB2DatabaseCleaner()
-
-
Method Details
-
isApplicable
- Specified by:
isApplicable
in interfaceDatabaseCleaner
-
addIgnoredTable
- Specified by:
addIgnoredTable
in interfaceDatabaseCleaner
-
clearAllSchemas
- Specified by:
clearAllSchemas
in interfaceDatabaseCleaner
-
clearSchema
- Specified by:
clearSchema
in interfaceDatabaseCleaner
-
clearAllData
- Specified by:
clearAllData
in interfaceDatabaseCleaner
-
clearData
- Specified by:
clearData
in interfaceDatabaseCleaner
-