Class QuarkusRuntimeInitDialectResolver

java.lang.Object
io.quarkus.hibernate.orm.runtime.service.QuarkusRuntimeInitDialectResolver
All Implemented Interfaces:
Serializable, org.hibernate.engine.jdbc.dialect.spi.DialectResolver, org.hibernate.service.Service

public class QuarkusRuntimeInitDialectResolver extends Object implements org.hibernate.engine.jdbc.dialect.spi.DialectResolver
A dialect resolver used for runtime init; simply restores the dialect used during static init.

This is necessary on top of QuarkusRuntimeInitDialectFactory because schema tools, for example, bypass the factory and use the dialect resolver directly.

See Also:
  • Constructor Details

    • QuarkusRuntimeInitDialectResolver

      public QuarkusRuntimeInitDialectResolver(org.hibernate.dialect.Dialect dialect)
  • Method Details

    • resolveDialect

      public org.hibernate.dialect.Dialect resolveDialect(org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfo info)
      Specified by:
      resolveDialect in interface org.hibernate.engine.jdbc.dialect.spi.DialectResolver