Package org.hibernate.testing.cleaner
Class AbstractMySQLDatabaseCleaner
java.lang.Object
org.hibernate.testing.cleaner.AbstractMySQLDatabaseCleaner
- All Implemented Interfaces:
DatabaseCleaner
- Direct Known Subclasses:
MariaDBDatabaseCleaner,MySQL5DatabaseCleaner,MySQL8DatabaseCleaner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIgnoredTable(String tableName) voidclearAllData(Connection connection) voidclearAllSchemas(Connection connection) voidclearData(Connection connection, String schemaName) voidclearSchema(Connection connection, String schemaName) protected abstract StringcreateClearingStatementForTable(String tableSchema, String tableName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.testing.cleaner.DatabaseCleaner
isApplicable
-
Constructor Details
-
AbstractMySQLDatabaseCleaner
public AbstractMySQLDatabaseCleaner()
-
-
Method Details
-
addIgnoredTable
- Specified by:
addIgnoredTablein interfaceDatabaseCleaner
-
clearAllSchemas
- Specified by:
clearAllSchemasin interfaceDatabaseCleaner
-
clearSchema
- Specified by:
clearSchemain interfaceDatabaseCleaner
-
clearAllData
- Specified by:
clearAllDatain interfaceDatabaseCleaner
-
clearData
- Specified by:
clearDatain interfaceDatabaseCleaner
-
createClearingStatementForTable
-