Package org.flywaydb.database.mysql
Class MySQLConnection
java.lang.Object
org.flywaydb.core.internal.database.base.Connection<MySQLDatabase>
org.flywaydb.database.mysql.MySQLConnection
- All Implemented Interfaces:
Closeable,AutoCloseable
public class MySQLConnection
extends org.flywaydb.core.internal.database.base.Connection<MySQLDatabase>
-
Field Summary
Fields inherited from class org.flywaydb.core.internal.database.base.Connection
database, jdbcTemplate, originalSchemaNameOrSearchPath -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidprotected org.flywaydb.core.internal.database.base.Schemaprotected voidprotected Stringorg.flywaydb.core.internal.database.base.Schema<T> TMethods inherited from class org.flywaydb.core.internal.database.base.Connection
changeCurrentSchemaTo, close, getCurrentSchema, getJdbcConnection, getJdbcTemplate, restoreOriginalState
-
Constructor Details
-
MySQLConnection
-
-
Method Details
-
doRestoreOriginalState
- Overrides:
doRestoreOriginalStatein classorg.flywaydb.core.internal.database.base.Connection<MySQLDatabase>- Throws:
SQLException
-
getCurrentSchemaNameOrSearchPath
- Specified by:
getCurrentSchemaNameOrSearchPathin classorg.flywaydb.core.internal.database.base.Connection<MySQLDatabase>- Throws:
SQLException
-
doChangeCurrentSchemaOrSearchPathTo
- Overrides:
doChangeCurrentSchemaOrSearchPathToin classorg.flywaydb.core.internal.database.base.Connection<MySQLDatabase>- Throws:
SQLException
-
doGetCurrentSchema
- Overrides:
doGetCurrentSchemain classorg.flywaydb.core.internal.database.base.Connection<MySQLDatabase>- Throws:
SQLException
-
getSchema
- Specified by:
getSchemain classorg.flywaydb.core.internal.database.base.Connection<MySQLDatabase>
-
lock
- Overrides:
lockin classorg.flywaydb.core.internal.database.base.Connection<MySQLDatabase>
-
canUseNamedLockTemplate
protected boolean canUseNamedLockTemplate()
-