Uses of Interface
org.hibernate.boot.model.relational.SqlStringGenerationContext
Packages that use SqlStringGenerationContext
Package
Description
Some SPIs related to DDL generation and schema management.
Internal package containing dialect-specific implementations of
JdbcType
.Support for
Dialect
-specific unique constraint definition.This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
This package defines an abstraction over all kinds of automatic
value generation, including id generation and version number
generation.
This package and its subpackages, especially
org.hibernate.id.enhanced
,
contain the built-in id generators, all of which implement either
IdentifierGenerator
or
PostInsertIdentifierGenerator
.Enhanced/improved versions of table and sequence based identifier generators
targeting portability and unified configuration.
This package defines the Hibernate configuration-time mapping model.
An SPI supporting custom instantiation of
entity instances and
embeddable objects.
This package abstracts persistence mechanisms for entities.
Defines an SPI for schema information extraction from the database via JDBC.
An SPI for tooling related to DDL generation, export, migration, and validation.
-
Uses of SqlStringGenerationContext in org.hibernate.boot.model.relational
Methods in org.hibernate.boot.model.relational with parameters of type SqlStringGenerationContextModifier and TypeMethodDescriptionString[]
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.dialect.type
Methods in org.hibernate.dialect.type with parameters of type SqlStringGenerationContextModifier and TypeMethodDescriptionString[]
OracleUserDefinedTypeExporter.getSqlCreateStrings
(UserDefinedArrayType userDefinedType, Metadata metadata, SqlStringGenerationContext context) String[]
OracleUserDefinedTypeExporter.getSqlDropStrings
(UserDefinedArrayType userDefinedType, Metadata metadata, SqlStringGenerationContext context) -
Uses of SqlStringGenerationContext in org.hibernate.dialect.unique
Methods in org.hibernate.dialect.unique with parameters of type SqlStringGenerationContextModifier and TypeMethodDescriptionAlterTableUniqueDelegate.getAlterTableToAddUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) AlterTableUniqueIndexDelegate.getAlterTableToAddUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) CreateTableUniqueDelegate.getAlterTableToAddUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) SkipNullableUniqueDelegate.getAlterTableToAddUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) UniqueDelegate.getAlterTableToAddUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) Get thealter table
command used to create the given unique key constraint, or return the empty string if the constraint was already included in thecreate table
statement byUniqueDelegate.getTableCreationUniqueConstraintsFragment(org.hibernate.mapping.Table, org.hibernate.boot.model.relational.SqlStringGenerationContext)
.AlterTableUniqueDelegate.getAlterTableToDropUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) AlterTableUniqueIndexDelegate.getAlterTableToDropUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) CreateTableUniqueDelegate.getAlterTableToDropUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) SkipNullableUniqueDelegate.getAlterTableToDropUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) UniqueDelegate.getAlterTableToDropUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) Get thealter table
command used to drop the given unique key which was previously created byUniqueDelegate.getAlterTableToAddUniqueKeyCommand(org.hibernate.mapping.UniqueKey, org.hibernate.boot.Metadata, org.hibernate.boot.model.relational.SqlStringGenerationContext)
.AlterTableUniqueDelegate.getColumnDefinitionUniquenessFragment
(Column column, SqlStringGenerationContext context) CreateTableUniqueDelegate.getColumnDefinitionUniquenessFragment
(Column column, SqlStringGenerationContext context) SkipNullableUniqueDelegate.getColumnDefinitionUniquenessFragment
(Column column, SqlStringGenerationContext context) UniqueDelegate.getColumnDefinitionUniquenessFragment
(Column column, SqlStringGenerationContext context) Get the SQL fragment used to make the given column unique as part of its column definition, usually just" unique"
, or return an empty string if uniqueness does not belong in the column definition.AlterTableUniqueDelegate.getTableCreationUniqueConstraintsFragment
(Table table, SqlStringGenerationContext context) CreateTableUniqueDelegate.getTableCreationUniqueConstraintsFragment
(Table table, SqlStringGenerationContext context) UniqueDelegate.getTableCreationUniqueConstraintsFragment
(Table table, SqlStringGenerationContext context) Get the SQL fragment used to specify the unique constraints on the given table as part of thecreate table
command, with a leading comma, usually something like: -
Uses of SqlStringGenerationContext in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return SqlStringGenerationContextModifier and TypeMethodDescriptionSessionFactoryDelegatingImpl.getSqlStringGenerationContext()
SessionFactoryImplementor.getSqlStringGenerationContext()
Obtain theSqlStringGenerationContext
. -
Uses of SqlStringGenerationContext in org.hibernate.generator
Methods in org.hibernate.generator that return SqlStringGenerationContextModifier and TypeMethodDescriptiondefault SqlStringGenerationContext
GeneratorCreationContext.getSqlStringGenerationContext()
TheSqlStringGenerationContext
to use when generating SQL. -
Uses of SqlStringGenerationContext in org.hibernate.id
Methods in org.hibernate.id with parameters of type SqlStringGenerationContextModifier and TypeMethodDescriptiondefault 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
Configurable.initialize
(SqlStringGenerationContext context) Initializes this instance, pre-generating SQL if necessary.void
IncrementGenerator.initialize
(SqlStringGenerationContext context) void
NativeGenerator.initialize
(SqlStringGenerationContext context) -
Uses of SqlStringGenerationContext in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced with parameters of type SqlStringGenerationContextModifier and TypeMethodDescriptionprotected String
TableGenerator.buildInsertQuery
(SqlStringGenerationContext context) protected String
TableGenerator.buildSelectQuery
(SqlStringGenerationContext context) protected String
TableGenerator.buildUpdateQuery
(SqlStringGenerationContext context) 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.mapping
Methods in org.hibernate.mapping that return SqlStringGenerationContextMethods in org.hibernate.mapping with parameters of type SqlStringGenerationContextModifier and TypeMethodDescriptionTable.getInitCommands
(SqlStringGenerationContext context) AbstractUserDefinedType.getQualifiedName
(SqlStringGenerationContext context) Table.getQualifiedName
(SqlStringGenerationContext context) UserDefinedType.getQualifiedName
(SqlStringGenerationContext context) Table.getResetCommands
(SqlStringGenerationContext context) Table.getResyncCommands
(SqlStringGenerationContext context, DdlTransactionIsolator isolator) void
Component.ValueGenerationPlan.initialize
(SqlStringGenerationContext context) Method parameters in org.hibernate.mapping with type arguments of type SqlStringGenerationContextModifier and TypeMethodDescriptionvoid
Table.addInitCommand
(Function<SqlStringGenerationContext, InitCommand> commandProducer) void
Table.addResetCommand
(Function<SqlStringGenerationContext, InitCommand> commandProducer) void
Table.addResyncCommand
(BiFunction<SqlStringGenerationContext, DdlTransactionIsolator, InitCommand> commandProducer) -
Uses of SqlStringGenerationContext in org.hibernate.metamodel.spi
Methods in org.hibernate.metamodel.spi that return SqlStringGenerationContext -
Uses of SqlStringGenerationContext in org.hibernate.persister.entity
Classes in org.hibernate.persister.entity that implement SqlStringGenerationContextModifier and TypeClassDescriptionclass
SqlStringGenerationContext implementation with support for overriding the default catalog and schemaMethods in org.hibernate.persister.entity with parameters of type SqlStringGenerationContextModifier and TypeMethodDescriptionAbstractEntityPersister.getEntityNameByTableNameMap
(PersistentClass persistentClass, SqlStringGenerationContext stringGenerationContext) -
Uses of SqlStringGenerationContext in org.hibernate.tool.schema.extract.spi
Methods in org.hibernate.tool.schema.extract.spi that return SqlStringGenerationContextModifier and TypeMethodDescriptionExtractionContext.EmptyExtractionContext.getSqlStringGenerationContext()
ExtractionContext.getSqlStringGenerationContext()
-
Uses of SqlStringGenerationContext in org.hibernate.tool.schema.spi
Methods in org.hibernate.tool.schema.spi with parameters of type SqlStringGenerationContextModifier and TypeMethodDescriptionExtractionTool.createExtractionContext
(ServiceRegistry serviceRegistry, JdbcEnvironment jdbcEnvironment, SqlStringGenerationContext context, DdlTransactionIsolator ddlTransactionIsolator, ExtractionContext.DatabaseObjectAccess databaseObjectAccess) String[]
TableMigrator.getSqlAlterStrings
(Table table, Metadata metadata, TableInformation tableInfo, SqlStringGenerationContext context) String[]
Exporter.getSqlCreateStrings
(T exportable, Metadata metadata, SqlStringGenerationContext context) Get the commands needed for creation.Cleaner.getSqlDisableConstraintString
(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context) A statement that disables the given foreign key constraint.String[]
Exporter.getSqlDropStrings
(T exportable, Metadata metadata, SqlStringGenerationContext context) Get the commands needed for dropping.Cleaner.getSqlEnableConstraintString
(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context) A statement that re-enables the given foreign key constraint.String[]
Cleaner.getSqlTruncateStrings
(Collection<Table> tables, Metadata metadata, SqlStringGenerationContext context) A statement or statements that truncate the given tables.