Class QuarkusStaticInitDialectFactory
java.lang.Object
org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl
io.quarkus.hibernate.orm.runtime.service.QuarkusStaticInitDialectFactory
- All Implemented Interfaces:
Serializable
,org.hibernate.engine.jdbc.dialect.spi.DialectFactory
,org.hibernate.service.Service
,org.hibernate.service.spi.ServiceRegistryAwareService
public class QuarkusStaticInitDialectFactory
extends org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl
implements org.hibernate.engine.jdbc.dialect.spi.DialectFactory, org.hibernate.service.spi.ServiceRegistryAwareService
A 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.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.dialect.Dialect
buildDialect
(Map<String, Object> configValues, org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfoSource resolutionInfoSource) org.hibernate.dialect.Dialect
Methods inherited from class org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl
injectServices, setDialectResolver
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.service.spi.ServiceRegistryAwareService
injectServices
-
Constructor Details
-
QuarkusStaticInitDialectFactory
public QuarkusStaticInitDialectFactory()
-
-
Method Details
-
buildDialect
public org.hibernate.dialect.Dialect buildDialect(Map<String, Object> configValues, org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfoSource resolutionInfoSource) throws org.hibernate.HibernateException- Specified by:
buildDialect
in interfaceorg.hibernate.engine.jdbc.dialect.spi.DialectFactory
- Overrides:
buildDialect
in classorg.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl
- Throws:
org.hibernate.HibernateException
-
getDialect
public org.hibernate.dialect.Dialect getDialect()
-