Class OracleConnection
java.lang.Object
migratedb.v1.core.internal.database.base.BaseConnection<OracleDatabase>
migratedb.v1.core.internal.database.oracle.OracleConnection
- All Implemented Interfaces:
AutoCloseable,Connection<OracleDatabase>
Oracle connection.
-
Field Summary
Fields inherited from class migratedb.v1.core.internal.database.base.BaseConnection
database, jdbcTemplate, originalSchemaNameOrSearchPath -
Method Summary
Methods inherited from class migratedb.v1.core.internal.database.base.BaseConnection
changeCurrentSchemaTo, close, doGetCurrentSchema, doRestoreOriginalState, getCurrentSchema, getJdbcConnection, getJdbcTemplate, lock, restoreOriginalState
-
Method Details
-
getCurrentSchemaNameOrSearchPath
- Specified by:
getCurrentSchemaNameOrSearchPathin classBaseConnection<OracleDatabase>- Throws:
SQLException- when the current schema name or search path could not be retrieved.
-
doChangeCurrentSchemaOrSearchPathTo
- Overrides:
doChangeCurrentSchemaOrSearchPathToin classBaseConnection<OracleDatabase>- Parameters:
schema- The new current schema for this connection.- Throws:
SQLException- when the current schema could not be set.
-
getSchema
Description copied from interface:ConnectionRetrieves the schema with this name in the database.
-