Top Constructors Methods
org.hibernate.dialect

public Class MariaDBDialect

extends MySQL5Dialect
Class Inheritance
Known Direct Subclasses
org.hibernate.dialect.MariaDB53Dialect
Imports
java.sql.DatabaseMetaData, .SQLException, org.hibernate.engine.jdbc.env.spi.AnsiSqlKeywords, .IdentifierCaseStrategy, .IdentifierHelper, .IdentifierHelperBuilder

Author
Vlad Mihalcea

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public IdentifierHelper
buildIdentifierHelper(IdentifierHelperBuilder
A semi-configured IdentifierHelper builder.
builder
,
DatabaseMetaData
Access to the metadata returned from the driver if needed and if available.

Warning

may be null

dbMetaData
)

Overrides org.hibernate.dialect.MySQLDialect.buildIdentifierHelper.

Build the IdentifierHelper indicated by this Dialect for handling identifier conversions.
protected MySQLStorageEngine
public boolean
supportsRowValueConstructorSyntaxInInList()

Overrides org.hibernate.dialect.Dialect.supportsRowValueConstructorSyntaxInInList.

If the dialect supports row values, does it offer such support in IN lists as well?
Inherited from org.hibernate.dialect.MySQL5Dialect:
getEngineKeywordgetQueryHintStringgetViolatedConstraintNameExtracterregisterVarcharTypessupportsColumnChecksupportsUnionAll

Constructor Detail

MariaDBDialectback to summary
public MariaDBDialect()

Method Detail

buildIdentifierHelperback to summary
public IdentifierHelper buildIdentifierHelper(IdentifierHelperBuilder builder, DatabaseMetaData dbMetaData) throws SQLException

Overrides org.hibernate.dialect.MySQLDialect.buildIdentifierHelper.

Doc from org.hibernate.dialect.Dialect.buildIdentifierHelper.

Build the IdentifierHelper indicated by this Dialect for handling identifier conversions. Returning null is allowed and indicates that Hibernate should fallback to building a "standard" helper. In the fallback path, any changes made to the IdentifierHelperBuilder during this call will still be incorporated into the built IdentifierHelper.

The incoming builder will have the following set:

By default Hibernate will do the following:

Parameters
builder:IdentifierHelperBuilder

A semi-configured IdentifierHelper builder.

dbMetaData:DatabaseMetaData

Access to the metadata returned from the driver if needed and if available.

Warning

may be null

Returns:IdentifierHelper

The IdentifierHelper instance to use, or null to indicate Hibernate should use its fallback path

Annotations
@Override
Exceptions
SQLException:
Accessing the DatabaseMetaData can throw it. Just re-throw and Hibernate will handle.
getDefaultMySQLStorageEngineback to summary
protected MySQLStorageEngine getDefaultMySQLStorageEngine()

Overrides org.hibernate.dialect.MySQLDialect.getDefaultMySQLStorageEngine.

Annotations
@Override
supportsRowValueConstructorSyntaxInInListback to summary
public boolean supportsRowValueConstructorSyntaxInInList()

Overrides org.hibernate.dialect.Dialect.supportsRowValueConstructorSyntaxInInList.

Doc from org.hibernate.dialect.Dialect.supportsRowValueConstructorSyntaxInInList.

If the dialect supports row values, does it offer such support in IN lists as well?

For example, "... where (FIRST_NAME, LAST_NAME) IN ( (?, ?), (?, ?) ) ..."

Returns:boolean

True if this SQL dialect is known to support "row value constructor" syntax in the IN list; false otherwise.