Package | Description |
---|---|
org.hibernate.boot |
This package contains the contracts that make up the Hibernate native
bootstrapping API (building a SessionFactory).
|
org.hibernate.boot.spi | |
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.integrator.spi | |
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.secure.spi | |
org.hibernate.tool.hbm2ddl |
The hbm2ddl tool.
|
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 | 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 |
---|---|
Metadata |
AbstractDelegatingMetadataBuilderImplementor.build() |
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 |
DefaultUniqueDelegate.getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey,
Metadata metadata) |
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 |
DB2UniqueDelegate.getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey,
Metadata metadata) |
String |
DefaultUniqueDelegate.getAlterTableToDropUniqueKeyCommand(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 |
DB2UniqueDelegate.getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey,
Metadata metadata) |
Modifier and Type | Method and Description |
---|---|
void |
Integrator.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) |
Iterator |
Table.sqlAlterStrings(Dialect dialect,
Metadata metadata,
TableInformation tableInfo,
Identifier defaultCatalog,
Identifier defaultSchema) |
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 |
---|---|
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 © 2001-2019 Red Hat, Inc. All Rights Reserved.