Package org.flywaydb.database.postgresql
Class PostgreSQLConnection
java.lang.Object
org.flywaydb.core.internal.database.base.Connection<PostgreSQLDatabase>
org.flywaydb.database.postgresql.PostgreSQLConnection
- All Implemented Interfaces:
Closeable,AutoCloseable
public class PostgreSQLConnection
extends org.flywaydb.core.internal.database.base.Connection<PostgreSQLDatabase>
-
Field Summary
Fields inherited from class org.flywaydb.core.internal.database.base.Connection
database, jdbcTemplate, originalSchemaNameOrSearchPath -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPostgreSQLConnection(PostgreSQLDatabase database, Connection connection) -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeCurrentSchemaTo(org.flywaydb.core.internal.database.base.Schema schema) voidorg.flywaydb.core.internal.database.base.Schemaprotected voidprotected Stringorg.flywaydb.core.internal.database.base.SchemabooleanisAwsRds()<T> TMethods inherited from class org.flywaydb.core.internal.database.base.Connection
close, getCurrentSchema, getJdbcConnection, getJdbcTemplate, restoreOriginalState
-
Constructor Details
-
PostgreSQLConnection
-
-
Method Details
-
doRestoreOriginalState
- Overrides:
doRestoreOriginalStatein classorg.flywaydb.core.internal.database.base.Connection<PostgreSQLDatabase>- Throws:
SQLException
-
doGetCurrentSchema
- Overrides:
doGetCurrentSchemain classorg.flywaydb.core.internal.database.base.Connection<PostgreSQLDatabase>- Throws:
SQLException
-
getCurrentSchemaNameOrSearchPath
- Specified by:
getCurrentSchemaNameOrSearchPathin classorg.flywaydb.core.internal.database.base.Connection<PostgreSQLDatabase>- Throws:
SQLException
-
changeCurrentSchemaTo
public void changeCurrentSchemaTo(org.flywaydb.core.internal.database.base.Schema schema) - Overrides:
changeCurrentSchemaToin classorg.flywaydb.core.internal.database.base.Connection<PostgreSQLDatabase>
-
doChangeCurrentSchemaOrSearchPathTo
- Overrides:
doChangeCurrentSchemaOrSearchPathToin classorg.flywaydb.core.internal.database.base.Connection<PostgreSQLDatabase>- Throws:
SQLException
-
getSchema
- Specified by:
getSchemain classorg.flywaydb.core.internal.database.base.Connection<PostgreSQLDatabase>
-
lock
- Overrides:
lockin classorg.flywaydb.core.internal.database.base.Connection<PostgreSQLDatabase>
-
isAwsRds
public boolean isAwsRds()
-