Package io.quarkus.hibernate.orm.runtime.service
package io.quarkus.hibernate.orm.runtime.service
-
ClassDescriptionReplaces the ClassLoaderService in Hibernate ORM with one which should work in native mode.The initial list of StandardServiceInitiator instances is a constant for Hibernate ORM "classic", but the list needs to be different for Hibernate Reactive.Wraps the default DefaultIdentifierGeneratorFactory so to make sure we store the Class references of any IdentifierGenerator which is accessed during the build of the Metadata.We need to mimic the standard IdentifierGeneratorFactory but allowing to capture which Identifier strategies are being used, so that we can keep a reference to the classed needed at runtime.A dialect factory used for runtime init; simply restores the dialect used during static init.A dialect resolver used for runtime init; simply restores the dialect used during static init.Quarkus custom implementation of Hibernate ORM's org.hibernate.id.factory.internal.StandardIdentifierGeneratorFactory differences with the original: 1# it does not attempt to use a BeanContainer to create instances; Hibernate ORM introduced this feature in HHH-14688 2# The register method is made public //TODO refactor ORM upstream so to allow code reuseA dialect factory used for static init; the same as Hibernate ORM's default one except it records the dialect so that we can reuse it at runtime init.Copied from org.hibernate.engine.jdbc.dialect.internal.DialectFactoryInitiatorHere we define the list of standard Service Initiators to be used by Hibernate ORM when running on Quarkus.