Class ExtractionContextImpl
- java.lang.Object
-
- org.hibernate.tool.schema.extract.internal.ExtractionContextImpl
-
- All Implemented Interfaces:
ExtractionContext
public class ExtractionContextImpl extends Object implements ExtractionContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.tool.schema.extract.spi.ExtractionContext
ExtractionContext.DatabaseObjectAccess, ExtractionContext.EmptyExtractionContext, ExtractionContext.ResultSetProcessor<T>
-
-
Constructor Summary
Constructors Constructor Description ExtractionContextImpl(ServiceRegistry serviceRegistry, JdbcEnvironment jdbcEnvironment, SqlStringGenerationContext context, JdbcConnectionAccess jdbcConnectionAccess, ExtractionContext.DatabaseObjectAccess registeredTableAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
ExtractionContext.DatabaseObjectAccess
getDatabaseObjectAccess()
Identifier
getDefaultCatalog()
Identifier
getDefaultSchema()
Connection
getJdbcConnection()
DatabaseMetaData
getJdbcDatabaseMetaData()
JdbcEnvironment
getJdbcEnvironment()
ServiceRegistry
getServiceRegistry()
SqlStringGenerationContext
getSqlStringGenerationContext()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.tool.schema.extract.spi.ExtractionContext
getQueryResults
-
-
-
-
Constructor Detail
-
ExtractionContextImpl
public ExtractionContextImpl(ServiceRegistry serviceRegistry, JdbcEnvironment jdbcEnvironment, SqlStringGenerationContext context, JdbcConnectionAccess jdbcConnectionAccess, ExtractionContext.DatabaseObjectAccess registeredTableAccess)
-
-
Method Detail
-
getServiceRegistry
public ServiceRegistry getServiceRegistry()
- Specified by:
getServiceRegistry
in interfaceExtractionContext
-
getJdbcEnvironment
public JdbcEnvironment getJdbcEnvironment()
- Specified by:
getJdbcEnvironment
in interfaceExtractionContext
-
getSqlStringGenerationContext
public SqlStringGenerationContext getSqlStringGenerationContext()
- Specified by:
getSqlStringGenerationContext
in interfaceExtractionContext
-
getJdbcConnection
public Connection getJdbcConnection()
- Specified by:
getJdbcConnection
in interfaceExtractionContext
-
getJdbcDatabaseMetaData
public DatabaseMetaData getJdbcDatabaseMetaData()
- Specified by:
getJdbcDatabaseMetaData
in interfaceExtractionContext
-
getDefaultCatalog
public Identifier getDefaultCatalog()
- Specified by:
getDefaultCatalog
in interfaceExtractionContext
-
getDefaultSchema
public Identifier getDefaultSchema()
- Specified by:
getDefaultSchema
in interfaceExtractionContext
-
getDatabaseObjectAccess
public ExtractionContext.DatabaseObjectAccess getDatabaseObjectAccess()
- Specified by:
getDatabaseObjectAccess
in interfaceExtractionContext
-
cleanup
public void cleanup()
- Specified by:
cleanup
in interfaceExtractionContext
-
-