Class SAPHANAConnection
java.lang.Object
migratedb.v1.core.internal.database.base.BaseConnection<SAPHANADatabase>
migratedb.v1.core.internal.database.saphana.SAPHANAConnection
- All Implemented Interfaces:
AutoCloseable,Connection<SAPHANADatabase>
-
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
-
isCloudConnection
public boolean isCloudConnection() -
getCurrentSchemaNameOrSearchPath
- Specified by:
getCurrentSchemaNameOrSearchPathin classBaseConnection<SAPHANADatabase>- Throws:
SQLException- when the current schema name or search path could not be retrieved.
-
doChangeCurrentSchemaOrSearchPathTo
- Overrides:
doChangeCurrentSchemaOrSearchPathToin classBaseConnection<SAPHANADatabase>- 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.
-