Class FirebirdSession
- java.lang.Object
-
- migratedb.v1.core.internal.database.base.BaseSession
-
- migratedb.v1.core.internal.database.firebird.FirebirdSession
-
- All Implemented Interfaces:
AutoCloseable,Session
public class FirebirdSession extends BaseSession
-
-
Field Summary
-
Fields inherited from class migratedb.v1.core.internal.database.base.BaseSession
jdbcTemplate, originalSchemaNameOrSearchPath
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetCurrentSchemaNameOrSearchPath()FirebirdDatabasegetDatabase()SchemagetSchema(String name)Retrieves the schema with this name in the database.-
Methods inherited from class migratedb.v1.core.internal.database.base.BaseSession
changeCurrentSchemaTo, close, doChangeCurrentSchemaOrSearchPathTo, doGetCurrentSchema, doRestoreOriginalState, getCurrentSchema, getJdbcConnection, getJdbcTemplate, lock, restoreOriginalState
-
-
-
-
Method Detail
-
getCurrentSchemaNameOrSearchPath
protected String getCurrentSchemaNameOrSearchPath() throws SQLException
- Specified by:
getCurrentSchemaNameOrSearchPathin classBaseSession- Throws:
SQLException- when the current schema name or search path could not be retrieved.
-
getSchema
public Schema getSchema(String name)
Description copied from interface:SessionRetrieves the schema with this name in the database.
-
getDatabase
public FirebirdDatabase getDatabase()
- Overrides:
getDatabasein classBaseSession
-
-