Package org.hibernate.testing.cleaner
Interface DatabaseCleaner
- All Known Implementing Classes:
AbstractMySQLDatabaseCleaner
,DB2DatabaseCleaner
,H2DatabaseCleaner
,MariaDBDatabaseCleaner
,MySQL5DatabaseCleaner
,MySQL8DatabaseCleaner
,OracleDatabaseCleaner
,PostgreSQLDatabaseCleaner
,SQLServerDatabaseCleaner
public interface DatabaseCleaner
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addIgnoredTable
(String tableName) void
clearAllData
(Connection connection) void
clearAllSchemas
(Connection connection) static void
void
clearData
(Connection connection, String schemaName) void
clearSchema
(Connection connection, String schemaName) static void
boolean
isApplicable
(Connection connection)
-
Method Details
-
clearSchemas
static void clearSchemas() -
clearData
static void clearData() -
addIgnoredTable
-
isApplicable
-
clearAllSchemas
-
clearSchema
-
clearAllData
-
clearData
-