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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.dialect.DialectbuildDialect(Map<String, Object> configValues, org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfoSource resolutionInfoSource) org.hibernate.dialect.DialectMethods inherited from class org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl
injectServices, setDialectResolverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
buildDialectin interfaceorg.hibernate.engine.jdbc.dialect.spi.DialectFactory- Overrides:
buildDialectin classorg.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl- Throws:
org.hibernate.HibernateException
-
getDialect
public org.hibernate.dialect.Dialect getDialect()
-