Uses of Interface
org.hibernate.boot.model.relational.SqlStringGenerationContext
-
Packages that use SqlStringGenerationContext Package Description org.hibernate.boot.model.relational org.hibernate.dialect.identity org.hibernate.dialect.unique Support for Dialect-specific unique constraint definitionorg.hibernate.engine.spi org.hibernate.hql.spi.id Support for multi-table update and delete statements via id-tables.org.hibernate.hql.spi.id.cte org.hibernate.hql.spi.id.global org.hibernate.hql.spi.id.inline org.hibernate.hql.spi.id.local org.hibernate.hql.spi.id.persistent Package contains an implementation of MultiTableBulkIdStrategy based on the use of a persistent (ANSI SQL term) table to hold id values.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.mapping org.hibernate.persister.entity org.hibernate.tool.schema.extract.spi 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 default java.lang.String[]
AuxiliaryDatabaseObject. sqlCreateStrings(SqlStringGenerationContext context)
Gets the SQL strings for creating the database object.java.lang.String[]
SimpleAuxiliaryDatabaseObject. sqlCreateStrings(SqlStringGenerationContext context)
default java.lang.String[]
AuxiliaryDatabaseObject. sqlDropStrings(SqlStringGenerationContext context)
Gets the SQL strings for dropping the database object.java.lang.String[]
SimpleAuxiliaryDatabaseObject. sqlDropStrings(SqlStringGenerationContext context)
-
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 java.lang.String
DB2UniqueDelegate. getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
java.lang.String
DefaultUniqueDelegate. getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
java.lang.String
InformixUniqueDelegate. getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
default java.lang.String
UniqueDelegate. getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
Get the SQL ALTER TABLE command to be used to create the given UniqueKey.java.lang.String
DB2UniqueDelegate. getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
java.lang.String
DefaultUniqueDelegate. getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
default java.lang.String
UniqueDelegate. getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context)
Get the SQL ALTER TABLE command to be used to drop the given UniqueKey.java.lang.String
DefaultUniqueDelegate. getColumnDefinitionUniquenessFragment(Column column, SqlStringGenerationContext context)
default java.lang.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.java.lang.String
DefaultUniqueDelegate. getTableCreationUniqueConstraintsFragment(Table table, SqlStringGenerationContext context)
default java.lang.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.hql.spi.id
Methods in org.hibernate.hql.spi.id with parameters of type SqlStringGenerationContext Modifier and Type Method Description protected java.lang.String
AbstractMultiTableBulkIdStrategyImpl. buildIdTableCreateStatement(Table idTable, MetadataImplementor metadata, SqlStringGenerationContext sqlStringGenerationContext)
protected java.lang.String
AbstractMultiTableBulkIdStrategyImpl. buildIdTableDropStatement(Table idTable, SqlStringGenerationContext sqlStringGenerationContext)
protected abstract TT
AbstractMultiTableBulkIdStrategyImpl. buildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, CT context, SqlStringGenerationContext sqlStringGenerationContext)
protected java.lang.String
AbstractMultiTableBulkIdStrategyImpl. formatIdTableName(QualifiedTableName qualifiedTableName, SqlStringGenerationContext sqlStringGenerationContext)
void
AbstractMultiTableBulkIdStrategyImpl. prepare(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess, MetadataImplementor metadata, SessionFactoryOptions sessionFactoryOptions, SqlStringGenerationContext sqlStringGenerationContext)
default void
MultiTableBulkIdStrategy. prepare(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess, MetadataImplementor metadata, SessionFactoryOptions sessionFactoryOptions, SqlStringGenerationContext sqlStringGenerationContext)
Prepare the strategy. -
Uses of SqlStringGenerationContext in org.hibernate.hql.spi.id.cte
Methods in org.hibernate.hql.spi.id.cte with parameters of type SqlStringGenerationContext Modifier and Type Method Description void
CteValuesListBulkIdStrategy. prepare(JdbcServices jdbcServices, JdbcConnectionAccess jdbcConnectionAccess, MetadataImplementor metadataImplementor, SessionFactoryOptions sessionFactoryOptions, SqlStringGenerationContext sqlStringGenerationContext)
-
Uses of SqlStringGenerationContext in org.hibernate.hql.spi.id.global
Methods in org.hibernate.hql.spi.id.global with parameters of type SqlStringGenerationContext Modifier and Type Method Description protected org.hibernate.hql.spi.id.global.IdTableInfoImpl
GlobalTemporaryTableBulkIdStrategy. buildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, org.hibernate.hql.spi.id.global.PreparationContextImpl context, SqlStringGenerationContext sqlStringGenerationContext)
-
Uses of SqlStringGenerationContext in org.hibernate.hql.spi.id.inline
Methods in org.hibernate.hql.spi.id.inline with parameters of type SqlStringGenerationContext Modifier and Type Method Description void
InlineIdsInClauseBulkIdStrategy. prepare(JdbcServices jdbcServices, JdbcConnectionAccess jdbcConnectionAccess, MetadataImplementor metadataImplementor, SessionFactoryOptions sessionFactoryOptions, SqlStringGenerationContext sqlStringGenerationContext)
void
InlineIdsOrClauseBulkIdStrategy. prepare(JdbcServices jdbcServices, JdbcConnectionAccess jdbcConnectionAccess, MetadataImplementor metadataImplementor, SessionFactoryOptions sessionFactoryOptions, SqlStringGenerationContext sqlStringGenerationContext)
void
InlineIdsSubSelectValueListBulkIdStrategy. prepare(JdbcServices jdbcServices, JdbcConnectionAccess jdbcConnectionAccess, MetadataImplementor metadataImplementor, SessionFactoryOptions sessionFactoryOptions, SqlStringGenerationContext sqlStringGenerationContext)
-
Uses of SqlStringGenerationContext in org.hibernate.hql.spi.id.local
Methods in org.hibernate.hql.spi.id.local with parameters of type SqlStringGenerationContext Modifier and Type Method Description protected IdTableInfoImpl
LocalTemporaryTableBulkIdStrategy. buildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, org.hibernate.hql.spi.id.local.PreparationContextImpl context, SqlStringGenerationContext sqlStringGenerationContext)
-
Uses of SqlStringGenerationContext in org.hibernate.hql.spi.id.persistent
Methods in org.hibernate.hql.spi.id.persistent with parameters of type SqlStringGenerationContext Modifier and Type Method Description protected org.hibernate.hql.spi.id.persistent.IdTableInfoImpl
PersistentTableBulkIdStrategy. buildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, org.hibernate.hql.spi.id.persistent.PreparationContextImpl context, SqlStringGenerationContext sqlStringGenerationContext)
-
Uses of SqlStringGenerationContext in org.hibernate.id
Methods in org.hibernate.id with parameters of type SqlStringGenerationContext Modifier and Type Method Description java.lang.String
AbstractPostInsertGenerator. determineBulkInsertionIdentifierGenerationSelectFragment(SqlStringGenerationContext context)
default java.lang.String
BulkInsertionCapableIdentifierGenerator. determineBulkInsertionIdentifierGenerationSelectFragment(SqlStringGenerationContext context)
Return the select expression fragment, if any, that generates the identifier values.java.lang.String
SequenceGenerator. determineBulkInsertionIdentifierGenerationSelectFragment(SqlStringGenerationContext context)
Deprecated.default 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)
void
MultipleHiLoPerTableGenerator. initialize(SqlStringGenerationContext context)
Deprecated.void
SequenceGenerator. initialize(SqlStringGenerationContext context)
Deprecated.IdentifierGeneratingInsert
IdentityGenerator.BasicDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
IdentifierGeneratingInsert
IdentityGenerator.InsertSelectDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
IdentifierGeneratingInsert
SelectGenerator.SelectGeneratorDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
IdentifierGeneratingInsert
SequenceIdentityGenerator.Delegate. 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 java.lang.String
TableGenerator. buildInsertQuery(java.lang.String formattedPhysicalTableName, SqlStringGenerationContext context)
protected java.lang.String
TableGenerator. buildSelectQuery(java.lang.String formattedPhysicalTableName, SqlStringGenerationContext context)
protected java.lang.String
TableGenerator. buildUpdateQuery(java.lang.String formattedPhysicalTableName, SqlStringGenerationContext context)
java.lang.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 default IdentifierGeneratingInsert
InsertGeneratedIdentifierDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
Build aInsert
specific to the delegate's mode of handling generated key values. -
Uses of SqlStringGenerationContext in org.hibernate.mapping
Methods in org.hibernate.mapping with parameters of type SqlStringGenerationContext Modifier and Type Method Description static java.lang.String
Index. buildSqlCreateIndexString(SqlStringGenerationContext context, java.lang.String name, Table table, java.util.Iterator<Column> columns, java.util.Map<Column,java.lang.String> columnOrderMap, boolean unique, java.lang.String defaultCatalog, java.lang.String defaultSchema)
static java.lang.String
Index. buildSqlCreateIndexString(SqlStringGenerationContext context, java.lang.String name, Table table, java.util.Iterator<Column> columns, java.util.Map<Column,java.lang.String> columnOrderMap, boolean unique, Metadata metadata)
static java.lang.String
Index. buildSqlDropIndexString(SqlStringGenerationContext context, Table table, java.lang.String name, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.util.List<InitCommand>
Table. getInitCommands(SqlStringGenerationContext context)
java.lang.String
Table. getQualifiedName(SqlStringGenerationContext context)
void
Component.ValueGenerationPlan. initialize(SqlStringGenerationContext context)
java.util.Iterator<java.lang.String>
Table. sqlAlterStrings(Dialect dialect, Metadata metadata, TableInformation tableInfo, SqlStringGenerationContext sqlStringGenerationContext)
abstract java.lang.String
Constraint. sqlConstraintString(SqlStringGenerationContext context, java.lang.String constraintName, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
ForeignKey. sqlConstraintString(SqlStringGenerationContext context, java.lang.String constraintName, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
PrimaryKey. sqlConstraintString(SqlStringGenerationContext context, java.lang.String constraintName, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
UniqueKey. sqlConstraintString(SqlStringGenerationContext context, java.lang.String constraintName, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
Constraint. sqlCreateString(Mapping p, SqlStringGenerationContext context, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
Index. sqlCreateString(Mapping mapping, SqlStringGenerationContext context, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
RelationalModel. sqlCreateString(Mapping p, SqlStringGenerationContext context, java.lang.String defaultCatalog, java.lang.String defaultSchema)
Deprecated.java.lang.String
Table. sqlCreateString(Mapping p, SqlStringGenerationContext context, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
UniqueKey. sqlCreateString(Mapping p, SqlStringGenerationContext context, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
Constraint. sqlDropString(SqlStringGenerationContext context, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
ForeignKey. sqlDropString(SqlStringGenerationContext context, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
Index. sqlDropString(SqlStringGenerationContext context, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
RelationalModel. sqlDropString(SqlStringGenerationContext context, java.lang.String defaultCatalog, java.lang.String defaultSchema)
Deprecated.java.lang.String
Table. sqlDropString(SqlStringGenerationContext context, java.lang.String defaultCatalog, java.lang.String defaultSchema)
java.lang.String
UniqueKey. sqlDropString(SqlStringGenerationContext context, java.lang.String defaultCatalog, java.lang.String defaultSchema)
Method parameters in org.hibernate.mapping with type arguments of type SqlStringGenerationContext Modifier and Type Method Description void
Table. addInitCommand(java.util.function.Function<SqlStringGenerationContext,InitCommand> commandProducer)
-
Uses of SqlStringGenerationContext in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type SqlStringGenerationContext Modifier and Type Method Description java.lang.String
AbstractEntityPersister. generateIdentityInsertString(SqlStringGenerationContext context, boolean[] includeProperty)
Used to generate an insert statement against the root table in the case of identifier generation strategies where the insert statement executions actually generates the identifier value. -
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.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)
default java.lang.String[]
Exporter. getSqlCreateStrings(T exportable, Metadata metadata, SqlStringGenerationContext context)
Get the commands needed for creation.default java.lang.String[]
Exporter. getSqlDropStrings(T exportable, Metadata metadata, SqlStringGenerationContext context)
Get the commands needed for dropping.
-