Uses of Interface
org.hibernate.boot.model.relational.SqlStringGenerationContext
-
Packages that use SqlStringGenerationContext Package Description org.hibernate.boot.model.relational Some SPIs related to DDL generation and schema management.org.hibernate.boot.model.relational.internal org.hibernate.dialect.unique Support forDialect
-specific unique constraint definition.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.id This package and its subpackages, especiallyorg.hibernate.id.enhanced
, contain the built-in id generators, all of which implement eitherIdentifierGenerator
orPostInsertIdentifierGenerator
.org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configuration.org.hibernate.id.insert Contains a framework of strategies for retrieving database-generated ids.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.jpamodelgen.validation Validation for HQL queries.org.hibernate.mapping This package defines the Hibernate configuration-time mapping model.org.hibernate.metamodel.spi An SPI supporting custom instantiation of entity instances and embeddable objects.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities.org.hibernate.tool.schema.extract.internal Implementation of the SPI for schema information extraction from the database via JDBC.org.hibernate.tool.schema.extract.spi Defines an SPI for schema information extraction from the database via JDBC.org.hibernate.tool.schema.internal An implementation of the SPI for the tooling related to DDL generation, export, migration, and validation.org.hibernate.tool.schema.internal.exec Support for exporting generated DDL to the database or to SQL scripts.org.hibernate.tool.schema.spi 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 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. fromConfigurationMapForMigration(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.unique
-
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 default 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)
-
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
BasicSelectingDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
Deprecated.IdentifierGeneratingInsert
GetGeneratedKeysDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
Deprecated.IdentifierGeneratingInsert
InsertGeneratedIdentifierDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
Deprecated.this is no longer calledIdentifierGeneratingInsert
InsertReturningDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
Deprecated.IdentifierGeneratingInsert
UniqueKeySelectingDelegate. prepareIdentifierGeneratingInsert(SqlStringGenerationContext context)
Deprecated. -
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.jpamodelgen.validation
Methods in org.hibernate.jpamodelgen.validation that return SqlStringGenerationContext Modifier and Type Method Description SqlStringGenerationContext
MockSessionFactory. getSqlStringGenerationContext()
-
Uses of SqlStringGenerationContext in org.hibernate.mapping
Methods in org.hibernate.mapping with parameters of type SqlStringGenerationContext Modifier and Type Method Description static String
Index. buildSqlCreateIndexString(SqlStringGenerationContext context, String name, Table table, List<Column> columns, Map<Column,String> columnOrderMap, boolean unique, Metadata metadata)
Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed in the next releaseList<InitCommand>
Table. getInitCommands(SqlStringGenerationContext context)
String
Table. getQualifiedName(SqlStringGenerationContext context)
String
UserDefinedType. getQualifiedName(SqlStringGenerationContext context)
void
Component.ValueGenerationPlan. initialize(SqlStringGenerationContext context)
@Remove Iterator<String>
Table. sqlAlterStrings(Dialect dialect, Metadata metadata, TableInformation tableInfo, SqlStringGenerationContext sqlStringGenerationContext)
Deprecated.abstract String
Constraint. sqlConstraintString(SqlStringGenerationContext context, String constraintName, String defaultCatalog, String defaultSchema)
Deprecated, for removal: This API element is subject to removal in a future version.this method is no longer calledString
ForeignKey. sqlConstraintString(SqlStringGenerationContext context, String constraintName, String defaultCatalog, String defaultSchema)
Deprecated, for removal: This API element is subject to removal in a future version.String
PrimaryKey. sqlConstraintString(SqlStringGenerationContext context, String constraintName, String defaultCatalog, String defaultSchema)
Deprecated, for removal: This API element is subject to removal in a future version.String
UniqueKey. sqlConstraintString(SqlStringGenerationContext context, String constraintName, String defaultCatalog, String defaultSchema)
Deprecated, for removal: This API element is subject to removal in a future version.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.metamodel.spi
Methods in org.hibernate.metamodel.spi that return SqlStringGenerationContext Modifier and Type Method Description SqlStringGenerationContext
RuntimeModelCreationContext. getSqlStringGenerationContext()
-
Uses of SqlStringGenerationContext in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type SqlStringGenerationContext Modifier and Type Method Description static Map<String,String>
AbstractEntityPersister. getEntityNameByTableNameMap(PersistentClass persistentClass, SqlStringGenerationContext stringGenerationContext)
-
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 context, DdlTransactionIsolator ddlTransactionIsolator, SchemaManagementTool tool)
ExtractionContextImpl(ServiceRegistry serviceRegistry, JdbcEnvironment jdbcEnvironment, SqlStringGenerationContext context, 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 that return SqlStringGenerationContext Modifier and Type Method Description static SqlStringGenerationContext
Helper. createSqlStringGenerationContext(ExecutionOptions options, Metadata metadata)
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 sqlGenerationContext, GenerationTarget... targets)
protected void
AbstractSchemaMigrator. applyIndexes(Table table, TableInformation tableInformation, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, 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 sqlGenerationContext, GenerationTarget... targets)
static DatabaseInformation
Helper. buildDatabaseInformation(ServiceRegistry serviceRegistry, DdlTransactionIsolator ddlTransactionIsolator, SqlStringGenerationContext context, SchemaManagementTool tool)
protected void
AbstractSchemaMigrator. createSchemaAndCatalog(DatabaseInformation existingDatabase, ExecutionOptions options, Dialect dialect, Formatter formatter, boolean tryToCreateCatalogs, boolean tryToCreateSchemas, Set<Identifier> exportedCatalogs, Namespace namespace, SqlStringGenerationContext context, GenerationTarget[] targets)
protected void
AbstractSchemaMigrator. createTable(Table table, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, GenerationTarget... targets)
protected String
StandardSequenceExporter. getFormattedSequenceName(QualifiedSequenceName name, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardTableMigrator. getSqlAlterStrings(Table table, Metadata metadata, TableInformation tableInfo, SqlStringGenerationContext context)
String[]
TableMigrator. getSqlAlterStrings(Table table, Metadata metadata, TableInformation tableInfo, 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[]
StandardUserDefinedTypeExporter. getSqlCreateStrings(UserDefinedType userDefinedType, Metadata metadata, SqlStringGenerationContext context)
String
StandardTableCleaner. getSqlDisableConstraintString(ForeignKey foreignKey, 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)
String[]
StandardUserDefinedTypeExporter. getSqlDropStrings(UserDefinedType table, Metadata metadata, SqlStringGenerationContext context)
String
StandardTableCleaner. getSqlEnableConstraintString(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context)
String[]
StandardTableCleaner. getSqlTruncateStrings(Collection<Table> tables, Metadata metadata, SqlStringGenerationContext context)
protected void
AbstractSchemaMigrator. migrateTable(Table table, TableInformation tableInformation, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, 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 sqlGenerationContext, 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 context, 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 context, GenerationTarget[] targets)
static List<String>
StandardTableMigrator. sqlAlterStrings(Table table, Dialect dialect, Metadata metadata, TableInformation tableInformation, SqlStringGenerationContext context)
-
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 context, 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 context, DdlTransactionIsolator ddlTransactionIsolator, ExtractionContext.DatabaseObjectAccess databaseObjectAccess)
String[]
Exporter. getSqlCreateStrings(T exportable, Metadata metadata, SqlStringGenerationContext context)
Get the commands needed for creation.String
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.String
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.
-