Package | Description |
---|---|
org.hibernate.boot |
This package contains the contracts that make up the Hibernate native
bootstrapping API (building a SessionFactory).
|
org.hibernate.boot.internal | |
org.hibernate.boot.spi | |
org.hibernate.cache.internal |
Internal implementations and support for second-level caching.
|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.cfg.beanvalidation | |
org.hibernate.dialect.unique |
Support for Dialect-specific unique constraint definition
|
org.hibernate.envers.boot.internal | |
org.hibernate.integrator.spi | |
org.hibernate.jpa.event.spi | |
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.search.cfg.impl | |
org.hibernate.search.hcore.impl | |
org.hibernate.secure.spi | |
org.hibernate.tool.hbm2ddl |
The hbm2ddl tool.
|
org.hibernate.tool.schema.internal | |
org.hibernate.tool.schema.spi |
Modifier and Type | Method and Description |
---|---|
Metadata |
MetadataBuilder.build()
Actually build the metamodel
|
Metadata |
MetadataSources.buildMetadata()
Short-hand form of calling
MetadataSources.getMetadataBuilder() and using its
MetadataBuilder.build() method in cases where the application wants
to accept the defaults. |
Metadata |
MetadataSources.buildMetadata(StandardServiceRegistry serviceRegistry) |
Modifier and Type | Class and Description |
---|---|
class |
InFlightMetadataCollectorImpl
The implementation of the in-flight Metadata collector contract.
|
class |
MetadataImpl
Container for configuration data collected during binding the metamodel.
|
Modifier and Type | Interface and Description |
---|---|
interface |
InFlightMetadataCollector
An in-flight representation of Metadata while Metadata is being built.
|
interface |
MetadataImplementor
The SPI-level Metadata contract.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDelegatingMetadata
Convenience base class for custom implementors of
MetadataImplementor using delegation. |
Modifier and Type | Method and Description |
---|---|
void |
CollectionCacheInvalidator.integrate(Metadata metadata,
SessionFactoryImplementor sessionFactory,
SessionFactoryServiceRegistry serviceRegistry) |
Constructor and Description |
---|
Settings(SessionFactoryOptions sessionFactoryOptions,
Metadata metadata)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Metadata |
ActivationContext.getMetadata()
Access the mapping metadata
|
Modifier and Type | Method and Description |
---|---|
void |
BeanValidationIntegrator.integrate(Metadata metadata,
SessionFactoryImplementor sessionFactory,
SessionFactoryServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
String |
UniqueDelegate.getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey,
Metadata metadata)
Get the SQL ALTER TABLE command to be used to create the given UniqueKey.
|
String |
InformixUniqueDelegate.getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey,
Metadata metadata) |
String |
DefaultUniqueDelegate.getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey,
Metadata metadata) |
String |
DB2UniqueDelegate.getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey,
Metadata metadata) |
String |
UniqueDelegate.getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey,
Metadata metadata)
Get the SQL ALTER TABLE command to be used to drop the given UniqueKey.
|
String |
DefaultUniqueDelegate.getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey,
Metadata metadata) |
String |
DB2UniqueDelegate.getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey,
Metadata metadata) |
Modifier and Type | Method and Description |
---|---|
void |
EnversIntegrator.integrate(Metadata metadata,
SessionFactoryImplementor sessionFactory,
SessionFactoryServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
Integrator.integrate(Metadata metadata,
SessionFactoryImplementor sessionFactory,
SessionFactoryServiceRegistry serviceRegistry)
Perform integration.
|
Modifier and Type | Method and Description |
---|---|
void |
JpaIntegrator.integrate(Metadata metadata,
SessionFactoryImplementor sessionFactory,
SessionFactoryServiceRegistry serviceRegistry)
Perform integration.
|
Modifier and Type | Method and Description |
---|---|
static String |
Index.buildSqlCreateIndexString(Dialect dialect,
String name,
Table table,
Iterator<Column> columns,
Map<Column,String> columnOrderMap,
boolean unique,
Metadata metadata) |
Constructor and Description |
---|
HibernateCoreIdUniquenessResolver(Metadata metadata) |
SearchConfigurationFromHibernateCore(Metadata metadata,
ConfigurationService configurationService,
ClassLoaderService hibernateClassLoaderService,
HibernateSessionFactoryService sessionService) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateSearchIntegrator.integrate(Metadata metadata,
SessionFactoryImplementor sessionFactory,
SessionFactoryServiceRegistry serviceRegistry) |
Constructor and Description |
---|
HibernateSearchSessionFactoryObserver(Metadata metadata,
ConfigurationService configurationService,
FullTextIndexEventListener listener,
ClassLoaderService classLoaderService) |
Modifier and Type | Method and Description |
---|---|
void |
JaccIntegrator.integrate(Metadata metadata,
SessionFactoryImplementor sessionFactory,
SessionFactoryServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
SchemaExport.create(EnumSet<TargetType> targetTypes,
Metadata metadata) |
void |
SchemaExport.createOnly(EnumSet<TargetType> targetTypes,
Metadata metadata) |
void |
SchemaExport.doExecution(SchemaExport.Action action,
boolean needsJdbc,
Metadata metadata,
ServiceRegistry serviceRegistry,
TargetDescriptor targetDescriptor) |
void |
SchemaExport.drop(EnumSet<TargetType> targetTypes,
Metadata metadata) |
void |
SchemaUpdate.execute(EnumSet<TargetType> targetTypes,
Metadata metadata) |
void |
SchemaUpdate.execute(EnumSet<TargetType> targetTypes,
Metadata metadata,
ServiceRegistry serviceRegistry) |
void |
SchemaExport.execute(EnumSet<TargetType> targetTypes,
SchemaExport.Action action,
Metadata metadata) |
void |
SchemaExport.execute(EnumSet<TargetType> targetTypes,
SchemaExport.Action action,
Metadata metadata,
ServiceRegistry serviceRegistry) |
void |
SchemaExport.perform(SchemaExport.Action action,
Metadata metadata,
ScriptTargetOutput target)
For testing use
|
void |
SchemaValidator.validate(Metadata metadata) |
void |
SchemaValidator.validate(Metadata metadata,
ServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSchemaMigrator.applyForeignKeys(Table table,
TableInformation tableInformation,
Dialect dialect,
Metadata metadata,
Formatter formatter,
ExecutionOptions options,
GenerationTarget... targets) |
protected void |
AbstractSchemaMigrator.applyIndexes(Table table,
TableInformation tableInformation,
Dialect dialect,
Metadata metadata,
Formatter formatter,
ExecutionOptions options,
GenerationTarget... targets) |
protected void |
AbstractSchemaMigrator.applyUniqueKeys(Table table,
TableInformation tableInfo,
Dialect dialect,
Metadata metadata,
Formatter formatter,
ExecutionOptions options,
GenerationTarget... targets) |
DelayedDropAction |
SchemaDropperImpl.buildDelayedAction(Metadata metadata,
ExecutionOptions options,
SourceDescriptor sourceDescriptor) |
void |
SchemaCreatorImpl.createFromMetadata(Metadata metadata,
ExecutionOptions options,
Dialect dialect,
Formatter formatter,
GenerationTarget... targets) |
protected void |
AbstractSchemaMigrator.createTable(Table table,
Dialect dialect,
Metadata metadata,
Formatter formatter,
ExecutionOptions options,
GenerationTarget... targets) |
void |
SchemaCreatorImpl.doCreation(Metadata metadata,
boolean manageNamespaces,
GenerationTarget... targets) |
void |
SchemaCreatorImpl.doCreation(Metadata metadata,
Dialect dialect,
ExecutionOptions options,
SourceDescriptor sourceDescriptor,
GenerationTarget... targets) |
void |
SchemaCreatorImpl.doCreation(Metadata metadata,
ExecutionOptions options,
SourceDescriptor sourceDescriptor,
TargetDescriptor targetDescriptor) |
void |
SchemaCreatorImpl.doCreation(Metadata metadata,
ServiceRegistry serviceRegistry,
Map settings,
boolean manageNamespaces,
GenerationTarget... targets) |
void |
SchemaDropperImpl.doDrop(Metadata metadata,
boolean manageNamespaces,
GenerationTarget... targets)
For tests
|
void |
SchemaDropperImpl.doDrop(Metadata metadata,
ExecutionOptions options,
Dialect dialect,
SourceDescriptor sourceDescriptor,
GenerationTarget... targets) |
void |
SchemaDropperImpl.doDrop(Metadata metadata,
ExecutionOptions options,
SourceDescriptor sourceDescriptor,
TargetDescriptor targetDescriptor) |
void |
SchemaDropperImpl.doDrop(Metadata metadata,
ServiceRegistry serviceRegistry,
Map settings,
boolean manageNamespaces,
GenerationTarget... targets)
For tests
|
void |
AbstractSchemaMigrator.doMigration(Metadata metadata,
ExecutionOptions options,
TargetDescriptor targetDescriptor) |
void |
AbstractSchemaValidator.doValidation(Metadata metadata,
ExecutionOptions options) |
List<String> |
SchemaCreatorImpl.generateCreationCommands(Metadata metadata,
boolean manageNamespaces)
For testing...
|
List<String> |
SchemaDropperImpl.generateDropCommands(Metadata metadata,
boolean manageNamespaces)
For testing...
|
String[] |
StandardAuxiliaryDatabaseObjectExporter.getSqlCreateStrings(AuxiliaryDatabaseObject object,
Metadata metadata) |
String[] |
StandardUniqueKeyExporter.getSqlCreateStrings(Constraint constraint,
Metadata metadata) |
String[] |
StandardForeignKeyExporter.getSqlCreateStrings(ForeignKey foreignKey,
Metadata metadata) |
String[] |
StandardIndexExporter.getSqlCreateStrings(Index index,
Metadata metadata) |
String[] |
StandardSequenceExporter.getSqlCreateStrings(Sequence sequence,
Metadata metadata) |
String[] |
StandardTableExporter.getSqlCreateStrings(Table table,
Metadata metadata) |
String[] |
StandardAuxiliaryDatabaseObjectExporter.getSqlDropStrings(AuxiliaryDatabaseObject object,
Metadata metadata) |
String[] |
StandardUniqueKeyExporter.getSqlDropStrings(Constraint constraint,
Metadata metadata) |
String[] |
StandardForeignKeyExporter.getSqlDropStrings(ForeignKey foreignKey,
Metadata metadata) |
String[] |
StandardIndexExporter.getSqlDropStrings(Index index,
Metadata metadata) |
String[] |
StandardSequenceExporter.getSqlDropStrings(Sequence sequence,
Metadata metadata) |
String[] |
StandardTableExporter.getSqlDropStrings(Table table,
Metadata metadata) |
protected void |
AbstractSchemaMigrator.migrateTable(Table table,
TableInformation tableInformation,
Dialect dialect,
Metadata metadata,
Formatter formatter,
ExecutionOptions options,
GenerationTarget... targets) |
protected NameSpaceTablesInformation |
IndividuallySchemaMigratorImpl.performTablesMigration(Metadata metadata,
DatabaseInformation existingDatabase,
ExecutionOptions options,
Dialect dialect,
Formatter formatter,
Set<String> exportIdentifiers,
boolean tryToCreateCatalogs,
boolean tryToCreateSchemas,
Set<Identifier> exportedCatalogs,
Namespace namespace,
GenerationTarget[] targets) |
protected NameSpaceTablesInformation |
GroupedSchemaMigratorImpl.performTablesMigration(Metadata metadata,
DatabaseInformation existingDatabase,
ExecutionOptions options,
Dialect dialect,
Formatter formatter,
Set<String> exportIdentifiers,
boolean tryToCreateCatalogs,
boolean tryToCreateSchemas,
Set<Identifier> exportedCatalogs,
Namespace namespace,
GenerationTarget[] targets) |
protected abstract NameSpaceTablesInformation |
AbstractSchemaMigrator.performTablesMigration(Metadata metadata,
DatabaseInformation existingDatabase,
ExecutionOptions options,
Dialect dialect,
Formatter formatter,
Set<String> exportIdentifiers,
boolean tryToCreateCatalogs,
boolean tryToCreateSchemas,
Set<Identifier> exportedCatalogs,
Namespace namespace,
GenerationTarget[] targets) |
void |
AbstractSchemaValidator.performValidation(Metadata metadata,
DatabaseInformation databaseInformation,
ExecutionOptions options,
Dialect dialect) |
protected void |
AbstractSchemaValidator.validateColumnType(Table table,
Column column,
ColumnInformation columnInformation,
Metadata metadata,
ExecutionOptions options,
Dialect dialect) |
protected void |
AbstractSchemaValidator.validateTable(Table table,
TableInformation tableInformation,
Metadata metadata,
ExecutionOptions options,
Dialect dialect) |
protected void |
IndividuallySchemaValidatorImpl.validateTables(Metadata metadata,
DatabaseInformation databaseInformation,
ExecutionOptions options,
Dialect dialect,
Namespace namespace) |
protected void |
GroupedSchemaValidatorImpl.validateTables(Metadata metadata,
DatabaseInformation databaseInformation,
ExecutionOptions options,
Dialect dialect,
Namespace namespace) |
protected abstract void |
AbstractSchemaValidator.validateTables(Metadata metadata,
DatabaseInformation databaseInformation,
ExecutionOptions options,
Dialect dialect,
Namespace namespace) |
Modifier and Type | Method and Description |
---|---|
DelayedDropAction |
SchemaDropper.buildDelayedAction(Metadata metadata,
ExecutionOptions options,
SourceDescriptor sourceDescriptor)
Build a delayed Runnable for performing schema dropping.
|
void |
SchemaCreator.doCreation(Metadata metadata,
ExecutionOptions options,
SourceDescriptor sourceDescriptor,
TargetDescriptor targetDescriptor)
Perform a schema creation from the indicated source(s) to the indicated target(s).
|
void |
SchemaDropper.doDrop(Metadata metadata,
ExecutionOptions options,
SourceDescriptor sourceDescriptor,
TargetDescriptor targetDescriptor)
Perform a schema drop from the indicated source(s) to the indicated target(s).
|
void |
SchemaMigrator.doMigration(Metadata metadata,
ExecutionOptions options,
TargetDescriptor targetDescriptor)
Perform a schema migration (alteration) from the indicated source(s) to the indicated target(s).
|
void |
SchemaValidator.doValidation(Metadata metadata,
ExecutionOptions options)
Perform the validation of the schema described by Metadata
|
String[] |
Exporter.getSqlCreateStrings(T exportable,
Metadata metadata)
Get the commands needed for creation.
|
String[] |
Exporter.getSqlDropStrings(T exportable,
Metadata metadata)
Get the commands needed for dropping.
|
static void |
SchemaManagementToolCoordinator.process(Metadata metadata,
ServiceRegistry serviceRegistry,
Map configurationValues,
DelayedDropRegistry delayedDropRegistry) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.