Uses of Interface
org.hibernate.service.ServiceRegistry
Packages that use ServiceRegistry
Package
Description
This package contains the interfaces that make up the bootstrap API
for Hibernate.
This package defines the boot-time metamodel, which is an interpretation
of the domain model (entity classes, embeddable classes, and attributes)
and the mapping of these "domain model parts" to the database.
Some SPIs related to DDL generation and schema management.
Defines service registry contracts a program may use for
configuring Hibernate.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
This package defines APIs for configuring Hibernate.
SPI-level contracts around "current session" and "current tenant" support.
This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate.
Internal package containing dialect-specific implementations of
JdbcType
.An SPI for the event listener registration service.
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.
Defines the runtime mapping metamodel, which describes the mapping
of the application's domain model parts (entities, attributes) to
relational database objects (tables, columns).
An SPI supporting custom instantiation of
entity instances and
embeddable objects.
Defines support for performing mutation operations against collections.
Defines a framework for pluggable services,
allowing for customization of key components of Hibernate, and abstraction of these
components as SPI interfaces.
Defines an SPI for integrating pluggable services.
SpatialDialect
s for CockroachDBThis package contains the H2GIS Dialect extensions for the H2Dialect.
This package contains the spatial extensions for the MySQLDialect.
This package contains the spatial extensions for the OracleDialect.
This package contains the spatial extensions for the PostgreSQLDialect.
This package contains the spatial extensions for the SQLServerDialect.
Defines an SPI for schema information extraction from the database via JDBC.
An SPI for tooling related to DDL generation, export, migration, and validation.
Defines a registry for Hibernate
Type
s.-
Uses of ServiceRegistry in org.hibernate.boot
Methods in org.hibernate.boot that return ServiceRegistryMethods in org.hibernate.boot with parameters of type ServiceRegistryModifier and TypeMethodDescriptionprotected static boolean
MetadataSources.isExpectedServiceRegistryType
(ServiceRegistry serviceRegistry) Constructors in org.hibernate.boot with parameters of type ServiceRegistryModifierConstructorDescriptionMetadataSources
(ServiceRegistry serviceRegistry) Create a new instance using the givenServiceRegistry
.MetadataSources
(ServiceRegistry serviceRegistry, XmlMappingBinderAccess xmlMappingBinderAccess) Create a new instance using the givenServiceRegistry
. -
Uses of ServiceRegistry in org.hibernate.boot.model
Methods in org.hibernate.boot.model that return ServiceRegistryMethods in org.hibernate.boot.model with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoid
TypeContributor.contribute
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Contribute types -
Uses of ServiceRegistry in org.hibernate.boot.model.relational
Methods in org.hibernate.boot.model.relational that return ServiceRegistry -
Uses of ServiceRegistry in org.hibernate.boot.registry
Subinterfaces of ServiceRegistry in org.hibernate.boot.registryModifier and TypeInterfaceDescriptioninterface
Provides the most basic services such as class loading.interface
Specialization of theServiceRegistry
contract mainly for type safety.Methods in org.hibernate.boot.registry with parameters of type ServiceRegistryModifier and TypeMethodDescriptionstatic void
BootstrapServiceRegistryBuilder.destroy
(ServiceRegistry serviceRegistry) Destroy a service registry.static void
StandardServiceRegistryBuilder.destroy
(ServiceRegistry serviceRegistry) Destroy a service registry. -
Uses of ServiceRegistry in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi with parameters of type ServiceRegistryModifier and TypeMethodDescriptionstatic boolean
MetadataBuildingContext.isPreferJavaTimeJdbcTypesEnabled
(ServiceRegistry serviceRegistry) static boolean
MetadataBuildingContext.isPreferNativeEnumTypesEnabled
(ServiceRegistry serviceRegistry) Constructors in org.hibernate.boot.spi with parameters of type ServiceRegistryModifierConstructorDescriptionXmlMappingBinderAccess
(ServiceRegistry serviceRegistry) XmlMappingBinderAccess
(ServiceRegistry serviceRegistry, Function<String, Object> configAccess) -
Uses of ServiceRegistry in org.hibernate.cfg
Methods in org.hibernate.cfg with parameters of type ServiceRegistryModifier and TypeMethodDescriptionConfiguration.buildSessionFactory
(ServiceRegistry serviceRegistry) Create aSessionFactory
using the properties and mappings in this configuration. -
Uses of ServiceRegistry in org.hibernate.context.spi
Methods in org.hibernate.context.spi with parameters of type ServiceRegistryModifier and TypeMethodDescriptionstatic boolean
MultiTenancy.isMultiTenancyEnabled
(ServiceRegistry serviceRegistry) Is aMultiTenantConnectionProvider
available? -
Uses of ServiceRegistry in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoid
Dialect.contribute
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) void
HANADialect.contribute
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) protected void
CockroachDialect.contributeCockroachTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) protected void
PostgreSQLDialect.contributePostgreSQLTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Allow for extension points to override this onlyvoid
CockroachDialect.contributeTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) void
DB2Dialect.contributeTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) void
Dialect.contributeTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) A callback which allows theDialect
to contribute types.void
H2Dialect.contributeTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) void
HANADialect.contributeTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) void
MariaDBDialect.contributeTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) void
MySQLDialect.contributeTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) void
OracleDialect.contributeTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) void
PostgreSQLDialect.contributeTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) void
SQLServerDialect.contributeTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) void
SybaseASEDialect.contributeTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) void
SybaseDialect.contributeTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) protected void
CockroachDialect.registerColumnTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) protected void
DB2Dialect.registerColumnTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) protected void
Dialect.registerColumnTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Register ANSI-standard column types using the length limits defined byDialect.getMaxVarcharLength()
,Dialect.getMaxNVarcharLength()
, andDialect.getMaxVarbinaryLength()
.protected void
H2Dialect.registerColumnTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) protected void
HANADialect.registerColumnTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) protected void
MariaDBDialect.registerColumnTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) protected void
MySQLDialect.registerColumnTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) protected void
OracleDialect.registerColumnTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) protected void
PostgreSQLDialect.registerColumnTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) protected void
SQLServerDialect.registerColumnTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) protected void
SybaseASEDialect.registerColumnTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) -
Uses of ServiceRegistry in org.hibernate.dialect.type
Methods in org.hibernate.dialect.type with parameters of type ServiceRegistryModifier and TypeMethodDescriptionstatic JdbcType
PgJdbcHelper.createJdbcType
(ServiceRegistry serviceRegistry, String className) static JdbcTypeConstructor
PgJdbcHelper.createJdbcTypeConstructor
(ServiceRegistry serviceRegistry, String className) static JdbcTypeConstructor
OracleJdbcHelper.getArrayJdbcTypeConstructor
(ServiceRegistry serviceRegistry) static JdbcType
PgJdbcHelper.getInetJdbcType
(ServiceRegistry serviceRegistry) static JdbcType
PgJdbcHelper.getIntervalJdbcType
(ServiceRegistry serviceRegistry) static JdbcTypeConstructor
PgJdbcHelper.getJsonArrayJdbcType
(ServiceRegistry serviceRegistry) static JdbcTypeConstructor
PgJdbcHelper.getJsonbArrayJdbcType
(ServiceRegistry serviceRegistry) static JdbcType
PgJdbcHelper.getJsonbJdbcType
(ServiceRegistry serviceRegistry) static JdbcType
PgJdbcHelper.getJsonJdbcType
(ServiceRegistry serviceRegistry) static JdbcTypeConstructor
OracleJdbcHelper.getNestedTableJdbcTypeConstructor
(ServiceRegistry serviceRegistry) static JdbcType
OracleJdbcHelper.getStructJdbcType
(ServiceRegistry serviceRegistry) static JdbcType
PgJdbcHelper.getStructJdbcType
(ServiceRegistry serviceRegistry) static boolean
OracleJdbcHelper.isOsonAvailable
(ServiceRegistry serviceRegistry) static boolean
OracleJdbcHelper.isUsable
(ServiceRegistry serviceRegistry) static boolean
PgJdbcHelper.isUsable
(ServiceRegistry serviceRegistry) -
Uses of ServiceRegistry in org.hibernate.envers.boot.spi
Methods in org.hibernate.envers.boot.spi that return ServiceRegistry -
Uses of ServiceRegistry in org.hibernate.event.service.spi
Constructors in org.hibernate.event.service.spi with parameters of type ServiceRegistry -
Uses of ServiceRegistry in org.hibernate.generator
Methods in org.hibernate.generator that return ServiceRegistryModifier and TypeMethodDescriptionGeneratorCreationContext.getServiceRegistry()
Access to available services. -
Uses of ServiceRegistry in org.hibernate.id
Methods in org.hibernate.id with parameters of type ServiceRegistryModifier and TypeMethodDescriptiondefault void
Configurable.configure
(Type type, Properties parameters, ServiceRegistry serviceRegistry) Deprecated, for removal: This API element is subject to removal in a future version.default void
IdentifierGenerator.configure
(Type type, Properties parameters, ServiceRegistry serviceRegistry) Deprecated, for removal: This API element is subject to removal in a future version.since it overrides a deprecated methoddefault void
PostInsertIdentifierGenerator.configure
(Type type, Properties parameters, ServiceRegistry serviceRegistry) Noop default implementation.IdentifierGeneratorHelper.getNamingStrategy
(Properties params, ServiceRegistry serviceRegistry) -
Uses of ServiceRegistry in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced with parameters of type ServiceRegistryModifier and TypeMethodDescriptionprotected QualifiedName
TableGenerator.determineGeneratorTableName
(Properties params, JdbcEnvironment jdbcEnvironment, ServiceRegistry serviceRegistry) Determine the table name to use for the generator values.ImplicitDatabaseObjectNamingStrategy.determineSequenceName
(Identifier catalogName, Identifier schemaName, Map<?, ?> configValues, ServiceRegistry serviceRegistry) Determine the implicit name for an identifier-generator sequenceLegacyNamingStrategy.determineSequenceName
(Identifier catalogName, Identifier schemaName, Map<?, ?> configValues, ServiceRegistry serviceRegistry) protected QualifiedName
SequenceStyleGenerator.determineSequenceName
(Properties params, JdbcEnvironment jdbcEnv, ServiceRegistry serviceRegistry) Determine the name of the sequence (or table if this resolves to a physical table) to use.SingleNamingStrategy.determineSequenceName
(Identifier catalogName, Identifier schemaName, Map<?, ?> configValues, ServiceRegistry serviceRegistry) StandardNamingStrategy.determineSequenceName
(Identifier catalogName, Identifier schemaName, Map<?, ?> configValues, ServiceRegistry serviceRegistry) ImplicitDatabaseObjectNamingStrategy.determineTableName
(Identifier catalogName, Identifier schemaName, Map<?, ?> configValues, ServiceRegistry serviceRegistry) Determine the implicit name for an identifier-generator tableLegacyNamingStrategy.determineTableName
(Identifier catalogName, Identifier schemaName, Map<?, ?> configValues, ServiceRegistry serviceRegistry) SingleNamingStrategy.determineTableName
(Identifier catalogName, Identifier schemaName, Map<?, ?> configValues, ServiceRegistry serviceRegistry) StandardNamingStrategy.determineTableName
(Identifier catalogName, Identifier schemaName, Map<?, ?> configValues, ServiceRegistry serviceRegistry) -
Uses of ServiceRegistry in org.hibernate.mapping
Methods in org.hibernate.mapping that return ServiceRegistryModifier and TypeMethodDescriptionCollection.getServiceRegistry()
OneToMany.getServiceRegistry()
PersistentClass.getServiceRegistry()
SimpleValue.getServiceRegistry()
Value.getServiceRegistry()
-
Uses of ServiceRegistry in org.hibernate.metamodel.mapping
Methods in org.hibernate.metamodel.mapping with parameters of type ServiceRegistryModifier and TypeMethodDescriptionstatic <O,
R> EmbeddableDiscriminatorConverter <O, R> EmbeddableDiscriminatorConverter.fromValueMappings
(String discriminatedType, JavaType<O> domainJavaType, BasicType<R> underlyingJdbcMapping, Map<Object, String> valueMappings, ServiceRegistry serviceRegistry) -
Uses of ServiceRegistry in org.hibernate.metamodel.spi
Methods in org.hibernate.metamodel.spi that return ServiceRegistry -
Uses of ServiceRegistry in org.hibernate.persister.collection.mutation
Constructors in org.hibernate.persister.collection.mutation with parameters of type ServiceRegistryModifierConstructorDescriptionDeleteRowsCoordinatorStandard
(CollectionMutationTarget mutationTarget, RowMutationOperations rowMutationOperations, boolean deleteByIndex, ServiceRegistry serviceRegistry) DeleteRowsCoordinatorTablePerSubclass
(OneToManyPersister mutationTarget, RowMutationOperations rowMutationOperations, boolean deleteByIndex, ServiceRegistry serviceRegistry) InsertRowsCoordinatorStandard
(CollectionMutationTarget mutationTarget, RowMutationOperations rowMutationOperations, ServiceRegistry serviceRegistry) InsertRowsCoordinatorTablePerSubclass
(OneToManyPersister mutationTarget, RowMutationOperations rowMutationOperations, ServiceRegistry serviceRegistry) RemoveCoordinatorStandard
(CollectionMutationTarget mutationTarget, OperationProducer operationProducer, ServiceRegistry serviceRegistry) Creates the coordinator.RemoveCoordinatorTablePerSubclass
(OneToManyPersister mutationTarget, OperationProducer operationProducer, ServiceRegistry serviceRegistry) Creates the coordinator. -
Uses of ServiceRegistry in org.hibernate.service
Methods in org.hibernate.service that return ServiceRegistryModifier and TypeMethodDescription@Nullable ServiceRegistry
ServiceRegistry.getParentServiceRegistry()
Retrieve this registry's parent registry. -
Uses of ServiceRegistry in org.hibernate.service.spi
Subinterfaces of ServiceRegistry in org.hibernate.service.spiModifier and TypeInterfaceDescriptioninterface
Additional integration contracts for a service registry.interface
SpecializedServiceRegistry
implementation that holds services which need access to theSessionFactory
during initialization. -
Uses of ServiceRegistry in org.hibernate.spatial.contributor
Methods in org.hibernate.spatial.contributor that return ServiceRegistryMethods in org.hibernate.spatial.contributor with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoid
SpatialTypeContributor.contribute
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) default void
ContributorImplementor.contributeJavaTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) void
ContributorImplementor.contributeJdbcTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) -
Uses of ServiceRegistry in org.hibernate.spatial.dialect.cockroachdb
Methods in org.hibernate.spatial.dialect.cockroachdb that return ServiceRegistryMethods in org.hibernate.spatial.dialect.cockroachdb with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoid
CockroachDbContributor.contributeJdbcTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Constructors in org.hibernate.spatial.dialect.cockroachdb with parameters of type ServiceRegistry -
Uses of ServiceRegistry in org.hibernate.spatial.dialect.h2gis
Methods in org.hibernate.spatial.dialect.h2gis that return ServiceRegistryMethods in org.hibernate.spatial.dialect.h2gis with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoid
H2GisDialectContributor.contributeJdbcTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Constructors in org.hibernate.spatial.dialect.h2gis with parameters of type ServiceRegistry -
Uses of ServiceRegistry in org.hibernate.spatial.dialect.mariadb
Methods in org.hibernate.spatial.dialect.mariadb that return ServiceRegistryMethods in org.hibernate.spatial.dialect.mariadb with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoid
MariaDBDialectContributor.contributeJdbcTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Constructors in org.hibernate.spatial.dialect.mariadb with parameters of type ServiceRegistry -
Uses of ServiceRegistry in org.hibernate.spatial.dialect.mysql
Methods in org.hibernate.spatial.dialect.mysql that return ServiceRegistryMethods in org.hibernate.spatial.dialect.mysql with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoid
MySQLDialectContributor.contributeJdbcTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Constructors in org.hibernate.spatial.dialect.mysql with parameters of type ServiceRegistry -
Uses of ServiceRegistry in org.hibernate.spatial.dialect.oracle
Methods in org.hibernate.spatial.dialect.oracle that return ServiceRegistryMethods in org.hibernate.spatial.dialect.oracle with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoid
OracleDialectContributor.contributeJdbcTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Constructors in org.hibernate.spatial.dialect.oracle with parameters of type ServiceRegistry -
Uses of ServiceRegistry in org.hibernate.spatial.dialect.postgis
Methods in org.hibernate.spatial.dialect.postgis that return ServiceRegistryMethods in org.hibernate.spatial.dialect.postgis with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoid
PostgisDialectContributor.contributeJdbcTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Constructors in org.hibernate.spatial.dialect.postgis with parameters of type ServiceRegistry -
Uses of ServiceRegistry in org.hibernate.spatial.dialect.sqlserver
Methods in org.hibernate.spatial.dialect.sqlserver that return ServiceRegistryMethods in org.hibernate.spatial.dialect.sqlserver with parameters of type ServiceRegistryModifier and TypeMethodDescriptionvoid
SqlServerDialectContributor.contributeJdbcTypes
(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Constructors in org.hibernate.spatial.dialect.sqlserver with parameters of type ServiceRegistry -
Uses of ServiceRegistry in org.hibernate.tool.schema.extract.spi
Methods in org.hibernate.tool.schema.extract.spi that return ServiceRegistryModifier and TypeMethodDescriptionExtractionContext.EmptyExtractionContext.getServiceRegistry()
ExtractionContext.getServiceRegistry()
-
Uses of ServiceRegistry in org.hibernate.tool.schema.spi
Methods in org.hibernate.tool.schema.spi with parameters of type ServiceRegistryModifier and TypeMethodDescriptionExtractionTool.createExtractionContext
(ServiceRegistry serviceRegistry, JdbcEnvironment jdbcEnvironment, SqlStringGenerationContext context, DdlTransactionIsolator ddlTransactionIsolator, ExtractionContext.DatabaseObjectAccess databaseObjectAccess) void
DelayedDropAction.perform
(ServiceRegistry serviceRegistry) Perform the delayed schema drop.static void
SchemaManagementToolCoordinator.process
(Metadata metadata, ServiceRegistry serviceRegistry, Map<String, Object> configuration, DelayedDropRegistry delayedDropRegistry) -
Uses of ServiceRegistry in org.hibernate.type.spi
Methods in org.hibernate.type.spi that return ServiceRegistryModifier and TypeMethodDescriptionTypeBootstrapContext.getServiceRegistry()
TypeConfiguration.getServiceRegistry()
Deprecated.This simply isn't a very sensible place to hang theServiceRegistry
Configurable.configure(GeneratorCreationContext, Properties)
instead