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
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addIgnoredTable(String tableName)
void
clearAllData(Connection connection)
void
clearAllSchemas(Connection connection)
static void
clearData()
void
clearData(Connection connection, String schemaName)
void
clearSchema(Connection connection, String schemaName)
static void
clearSchemas()
boolean
isApplicable(Connection connection)
-
-
-
Method Detail
-
clearSchemas
static void clearSchemas()
-
clearData
static void clearData()
-
addIgnoredTable
void addIgnoredTable(String tableName)
-
isApplicable
boolean isApplicable(Connection connection)
-
clearAllSchemas
void clearAllSchemas(Connection connection)
-
clearSchema
void clearSchema(Connection connection, String schemaName)
-
clearAllData
void clearAllData(Connection connection)
-
clearData
void clearData(Connection connection, String schemaName)
-
-