Uses of Interface
org.hibernate.boot.model.relational.SqlStringGenerationContext
-
Packages that use SqlStringGenerationContext Package Description org.hibernate.boot.model.relational org.hibernate.boot.model.relational.internal org.hibernate.dialect.identity org.hibernate.dialect.unique Support for Dialect-specific unique constraint definitionorg.hibernate.engine.spi org.hibernate.id org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configurationorg.hibernate.id.insert org.hibernate.internal org.hibernate.mapping org.hibernate.tool.schema.extract.internal org.hibernate.tool.schema.extract.spi org.hibernate.tool.schema.internal org.hibernate.tool.schema.internal.exec org.hibernate.tool.schema.spi -
-
Uses of SqlStringGenerationContext in org.hibernate.boot.model.relational
Methods in org.hibernate.boot.model.relational with parameters of type SqlStringGenerationContext Modifier and Type Method Description String[]
AuxiliaryDatabaseObject. sqlCreateStrings(SqlStringGenerationContext context)
Gets the SQL strings for creating the database object.String[]
SimpleAuxiliaryDatabaseObject. sqlCreateStrings(SqlStringGenerationContext context)
String[]
AuxiliaryDatabaseObject. sqlDropStrings(SqlStringGenerationContext context)
Gets the SQL strings for dropping the database object.String[]
SimpleAuxiliaryDatabaseObject. sqlDropStrings(SqlStringGenerationContext context)
-
Uses of SqlStringGenerationContext in org.hibernate.boot.model.relational.internal
Classes in org.hibernate.boot.model.relational.internal that implement SqlStringGenerationContext Modifier and Type Class Description class
SqlStringGenerationContextImpl
Methods in org.hibernate.boot.model.relational.internal that return SqlStringGenerationContext Modifier and Type Method Description static SqlStringGenerationContext
SqlStringGenerationContextImpl. forTests(JdbcEnvironment jdbcEnvironment)
static SqlStringGenerationContext
SqlStringGenerationContextImpl. forTests(JdbcEnvironment jdbcEnvironment, String defaultCatalog, String defaultSchema)
static SqlStringGenerationContext
SqlStringGenerationContextImpl. fromConfigurationMap(JdbcEnvironment jdbcEnvironment, Database database, Map<String,Object> configurationMap)
static SqlStringGenerationContext
SqlStringGenerationContextImpl. fromExplicit(JdbcEnvironment jdbcEnvironment, Database database, String defaultCatalog, String defaultSchema)
-
Uses of SqlStringGenerationContext in org.hibernate.dialect.identity
Methods in org.hibernate.dialect.identity with parameters of type SqlStringGenerationContext Modifier and Type Method Description IdentifierGeneratingInsert
GetGeneratedKeysDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
-
Uses of SqlStringGenerationContext in org.hibernate.dialect.unique
Methods in org.hibernate.dialect.unique with parameters of type SqlStringGenerationContext Modifier and Type Method Description String
DB2UniqueDelegate. getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
String
DefaultUniqueDelegate. getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
String
UniqueDelegate. getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
Get the SQL ALTER TABLE command to be used to create the given UniqueKey.String
DB2UniqueDelegate. getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
String
DefaultUniqueDelegate. getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
String
UniqueDelegate. getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
Get the SQL ALTER TABLE command to be used to drop the given UniqueKey.String
DefaultUniqueDelegate. getColumnDefinitionUniquenessFragment(Column column, SqlStringGenerationContext context)
String
UniqueDelegate. getColumnDefinitionUniquenessFragment(Column column, SqlStringGenerationContext context)
Get the fragment that can be used to make a column unique as part of its column definition.String
DefaultUniqueDelegate. getTableCreationUniqueConstraintsFragment(Table table, SqlStringGenerationContext context)
String
UniqueDelegate. getTableCreationUniqueConstraintsFragment(Table table, SqlStringGenerationContext context)
Get the fragment that can be used to apply unique constraints as part of table creation. -
Uses of SqlStringGenerationContext in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return SqlStringGenerationContext Modifier and Type Method Description SqlStringGenerationContext
SessionFactoryDelegatingImpl. getSqlStringGenerationContext()
SqlStringGenerationContext
SessionFactoryImplementor. getSqlStringGenerationContext()
-
Uses of SqlStringGenerationContext in org.hibernate.id
Methods in org.hibernate.id with parameters of type SqlStringGenerationContext Modifier and Type Method Description String
AbstractPostInsertGenerator. determineBulkInsertionIdentifierGenerationSelectFragment(SqlStringGenerationContext context)
String
BulkInsertionCapableIdentifierGenerator. determineBulkInsertionIdentifierGenerationSelectFragment(SqlStringGenerationContext context)
Return the select expression fragment, if any, that generates the identifier values.void
CompositeNestedGeneratedValueGenerator.GenerationPlan. initialize(SqlStringGenerationContext context)
Initializes this instance, in particular pre-generates SQL as necessary.void
CompositeNestedGeneratedValueGenerator. initialize(SqlStringGenerationContext context)
default void
IdentifierGenerator. initialize(SqlStringGenerationContext context)
Initializes this instance, in particular pre-generates SQL as necessary.void
IncrementGenerator. initialize(SqlStringGenerationContext context)
IdentifierGeneratingInsert
IdentityGenerator.BasicDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
IdentifierGeneratingInsert
IdentityGenerator.InsertSelectDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
IdentifierGeneratingInsert
SelectGenerator.SelectGeneratorDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
-
Uses of SqlStringGenerationContext in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced with parameters of type SqlStringGenerationContext Modifier and Type Method Description protected String
TableGenerator. buildInsertQuery(String formattedPhysicalTableName, SqlStringGenerationContext context)
protected String
TableGenerator. buildSelectQuery(String formattedPhysicalTableName, SqlStringGenerationContext context)
protected String
TableGenerator. buildUpdateQuery(String formattedPhysicalTableName, SqlStringGenerationContext context)
String
SequenceStyleGenerator. determineBulkInsertionIdentifierGenerationSelectFragment(SqlStringGenerationContext context)
protected InitCommand
TableGenerator. generateInsertInitCommand(SqlStringGenerationContext context)
default void
DatabaseStructure. initialize(SqlStringGenerationContext context)
Initializes this structure, in particular pre-generates SQL as necessary.void
SequenceStructure. initialize(SqlStringGenerationContext context)
void
SequenceStyleGenerator. initialize(SqlStringGenerationContext context)
void
TableGenerator. initialize(SqlStringGenerationContext context)
void
TableStructure. initialize(SqlStringGenerationContext context)
-
Uses of SqlStringGenerationContext in org.hibernate.id.insert
Methods in org.hibernate.id.insert with parameters of type SqlStringGenerationContext Modifier and Type Method Description IdentifierGeneratingInsert
InsertGeneratedIdentifierDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
Build aInsert
specific to the delegate's mode of handling generated key values. -
Uses of SqlStringGenerationContext in org.hibernate.internal
Methods in org.hibernate.internal that return SqlStringGenerationContext Modifier and Type Method Description SqlStringGenerationContext
SessionFactoryImpl. getSqlStringGenerationContext()
-
Uses of SqlStringGenerationContext in org.hibernate.mapping
Method parameters in org.hibernate.mapping with type arguments of type SqlStringGenerationContext Modifier and Type Method Description void
Table. addInitCommand(Function<SqlStringGenerationContext,InitCommand> commandProducer)
-
Uses of SqlStringGenerationContext in org.hibernate.tool.schema.extract.internal
Methods in org.hibernate.tool.schema.extract.internal that return SqlStringGenerationContext Modifier and Type Method Description SqlStringGenerationContext
ExtractionContextImpl. getSqlStringGenerationContext()
Constructors in org.hibernate.tool.schema.extract.internal with parameters of type SqlStringGenerationContext Constructor Description DatabaseInformationImpl(ServiceRegistry serviceRegistry, JdbcEnvironment jdbcEnvironment, SqlStringGenerationContext sqlStringGenerationContext, DdlTransactionIsolator ddlTransactionIsolator, SchemaManagementTool tool)
ExtractionContextImpl(ServiceRegistry serviceRegistry, JdbcEnvironment jdbcEnvironment, SqlStringGenerationContext sqlStringGenerationContext, JdbcConnectionAccess jdbcConnectionAccess, ExtractionContext.DatabaseObjectAccess registeredTableAccess)
-
Uses of SqlStringGenerationContext in org.hibernate.tool.schema.extract.spi
Methods in org.hibernate.tool.schema.extract.spi that return SqlStringGenerationContext Modifier and Type Method Description SqlStringGenerationContext
ExtractionContext.EmptyExtractionContext. getSqlStringGenerationContext()
SqlStringGenerationContext
ExtractionContext. getSqlStringGenerationContext()
-
Uses of SqlStringGenerationContext in org.hibernate.tool.schema.internal
Methods in org.hibernate.tool.schema.internal with parameters of type SqlStringGenerationContext Modifier and Type Method Description protected void
AbstractSchemaMigrator. applyForeignKeys(Table table, TableInformation tableInformation, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlStringGenerationContext, GenerationTarget... targets)
protected void
AbstractSchemaMigrator. applyIndexes(Table table, TableInformation tableInformation, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlStringGenerationContext, GenerationTarget... targets)
protected void
StandardTableExporter. applyInitCommands(Table table, List<String> sqlStrings, SqlStringGenerationContext context)
protected void
AbstractSchemaMigrator. applyUniqueKeys(Table table, TableInformation tableInfo, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlStringGenerationContext, GenerationTarget... targets)
static DatabaseInformation
Helper. buildDatabaseInformation(ServiceRegistry serviceRegistry, DdlTransactionIsolator ddlTransactionIsolator, SqlStringGenerationContext sqlStringGenerationContext, SchemaManagementTool tool)
protected void
AbstractSchemaMigrator. createTable(Table table, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlStringGenerationContext, GenerationTarget... targets)
protected String
StandardSequenceExporter. getFormattedSequenceName(QualifiedSequenceName name, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardAuxiliaryDatabaseObjectExporter. getSqlCreateStrings(AuxiliaryDatabaseObject object, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardForeignKeyExporter. getSqlCreateStrings(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardIndexExporter. getSqlCreateStrings(Index index, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardSequenceExporter. getSqlCreateStrings(Sequence sequence, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardTableExporter. getSqlCreateStrings(Table table, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardUniqueKeyExporter. getSqlCreateStrings(Constraint constraint, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardAuxiliaryDatabaseObjectExporter. getSqlDropStrings(AuxiliaryDatabaseObject object, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardForeignKeyExporter. getSqlDropStrings(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardIndexExporter. getSqlDropStrings(Index index, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardSequenceExporter. getSqlDropStrings(Sequence sequence, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardTableExporter. getSqlDropStrings(Table table, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardUniqueKeyExporter. getSqlDropStrings(Constraint constraint, Metadata metadata, SqlStringGenerationContext context)
protected void
AbstractSchemaMigrator. migrateTable(Table table, TableInformation tableInformation, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlStringGenerationContext, GenerationTarget... targets)
protected abstract NameSpaceTablesInformation
AbstractSchemaMigrator. performTablesMigration(Metadata metadata, DatabaseInformation existingDatabase, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect, Formatter formatter, Set<String> exportIdentifiers, boolean tryToCreateCatalogs, boolean tryToCreateSchemas, Set<Identifier> exportedCatalogs, Namespace namespace, SqlStringGenerationContext sqlStringGenerationContext, GenerationTarget[] targets)
protected NameSpaceTablesInformation
GroupedSchemaMigratorImpl. performTablesMigration(Metadata metadata, DatabaseInformation existingDatabase, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect, Formatter formatter, Set<String> exportIdentifiers, boolean tryToCreateCatalogs, boolean tryToCreateSchemas, Set<Identifier> exportedCatalogs, Namespace namespace, SqlStringGenerationContext sqlStringGenerationContext, GenerationTarget[] targets)
protected NameSpaceTablesInformation
IndividuallySchemaMigratorImpl. performTablesMigration(Metadata metadata, DatabaseInformation existingDatabase, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect, Formatter formatter, Set<String> exportIdentifiers, boolean tryToCreateCatalogs, boolean tryToCreateSchemas, Set<Identifier> exportedCatalogs, Namespace namespace, SqlStringGenerationContext sqlStringGenerationContext, GenerationTarget[] targets)
-
Uses of SqlStringGenerationContext in org.hibernate.tool.schema.internal.exec
Methods in org.hibernate.tool.schema.internal.exec that return SqlStringGenerationContext Modifier and Type Method Description SqlStringGenerationContext
ImprovedExtractionContextImpl. getSqlStringGenerationContext()
Constructors in org.hibernate.tool.schema.internal.exec with parameters of type SqlStringGenerationContext Constructor Description ImprovedExtractionContextImpl(ServiceRegistry serviceRegistry, JdbcEnvironment jdbcEnvironment, SqlStringGenerationContext sqlStringGenerationContext, DdlTransactionIsolator ddlTransactionIsolator, ExtractionContext.DatabaseObjectAccess databaseObjectAccess)
-
Uses of SqlStringGenerationContext in org.hibernate.tool.schema.spi
Methods in org.hibernate.tool.schema.spi with parameters of type SqlStringGenerationContext Modifier and Type Method Description ExtractionContext
ExtractionTool. createExtractionContext(ServiceRegistry serviceRegistry, JdbcEnvironment jdbcEnvironment, SqlStringGenerationContext sqlStringGenerationContext, DdlTransactionIsolator ddlTransactionIsolator, ExtractionContext.DatabaseObjectAccess databaseObjectAccess)
String[]
Exporter. getSqlCreateStrings(T exportable, Metadata metadata, SqlStringGenerationContext context)
Get the commands needed for creation.String[]
Exporter. getSqlDropStrings(T exportable, Metadata metadata, SqlStringGenerationContext context)
Get the commands needed for dropping.
-