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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QuarkusStaticInitDialectFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.dialect.Dialect
buildDialect(Map<String,Object> configValues, org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfoSource resolutionInfoSource)
org.hibernate.dialect.Dialect
getDialect()
-
Methods inherited from class org.hibernate.engine.jdbc.dialect.internal.DialectFactoryImpl
injectServices, setDialectResolver
-
-
-
-
Method Detail
-
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()
-
-