Top Description Methods
org.hibernate.engine.jdbc.dialect.spi

public Interface DialectResolver

extends Service
Known Direct Implementers
org.hibernate.engine.jdbc.dialect.internal.DialectResolverSet, org.hibernate.engine.jdbc.dialect.internal.StandardDialectResolver, org.hibernate.engine.jdbc.dialect.spi.BasicDialectResolver
Imports
org.hibernate.dialect.Dialect, org.hibernate.service.Service

Contract for determining the Dialect to use based on information about the database / driver.
Authors
Tomoto Shimizu Washio, Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Dialect

Returns:

The dialect to use, or null.
resolveDialect
(DialectResolutionInfo
Access to the information about the database/driver needed to perform the resolution
info
)

Determine the Dialect to use based on the given information.

Method Detail

resolveDialectback to summary
public Dialect resolveDialect(DialectResolutionInfo info)

Determine the Dialect to use based on the given information. Implementations are expected to return the Dialect instance to use, or null if the they did not locate a match.

Parameters
info:DialectResolutionInfo

Access to the information about the database/driver needed to perform the resolution

Returns:Dialect

The dialect to use, or null.