Class MariaDBLegacyDialect

java.lang.Object
org.hibernate.dialect.Dialect
org.hibernate.community.dialect.MySQLLegacyDialect
org.hibernate.community.dialect.MariaDBLegacyDialect
All Implemented Interfaces:
org.hibernate.boot.model.FunctionContributor, org.hibernate.boot.model.TypeContributor, org.hibernate.exception.spi.ConversionContext

public class MariaDBLegacyDialect extends MySQLLegacyDialect
A SQL dialect for MariaDB
  • Constructor Details

    • MariaDBLegacyDialect

      public MariaDBLegacyDialect()
    • MariaDBLegacyDialect

      public MariaDBLegacyDialect(org.hibernate.dialect.DatabaseVersion version)
    • MariaDBLegacyDialect

      public MariaDBLegacyDialect(org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfo info)
  • Method Details

    • buildLockingSupport

      protected org.hibernate.dialect.lock.spi.LockingSupport buildLockingSupport()
      Overrides:
      buildLockingSupport in class MySQLLegacyDialect
    • getMySQLVersion

      public org.hibernate.dialect.DatabaseVersion getMySQLVersion()
      Overrides:
      getMySQLVersion in class MySQLLegacyDialect
    • getNationalizationSupport

      public org.hibernate.dialect.NationalizationSupport getNationalizationSupport()
      Overrides:
      getNationalizationSupport in class org.hibernate.dialect.Dialect
    • initializeFunctionRegistry

      public void initializeFunctionRegistry(org.hibernate.boot.model.FunctionContributions functionContributions)
      Overrides:
      initializeFunctionRegistry in class MySQLLegacyDialect
    • registerColumnTypes

      protected void registerColumnTypes(org.hibernate.boot.model.TypeContributions typeContributions, org.hibernate.service.ServiceRegistry serviceRegistry)
      Overrides:
      registerColumnTypes in class MySQLLegacyDialect
    • getAggregateSupport

      public org.hibernate.dialect.aggregate.AggregateSupport getAggregateSupport()
      Overrides:
      getAggregateSupport in class MySQLLegacyDialect
    • resolveSqlTypeDescriptor

      public org.hibernate.type.descriptor.jdbc.JdbcType resolveSqlTypeDescriptor(String columnTypeName, int jdbcTypeCode, int precision, int scale, org.hibernate.type.descriptor.jdbc.spi.JdbcTypeRegistry jdbcTypeRegistry)
      Overrides:
      resolveSqlTypeDescriptor in class MySQLLegacyDialect
    • contributeTypes

      public void contributeTypes(org.hibernate.boot.model.TypeContributions typeContributions, org.hibernate.service.ServiceRegistry serviceRegistry)
      Overrides:
      contributeTypes in class MySQLLegacyDialect
    • castPattern

      public String castPattern(org.hibernate.query.sqm.CastType from, org.hibernate.query.sqm.CastType to)
      Overrides:
      castPattern in class MySQLLegacyDialect
    • getSqlAstTranslatorFactory

      public org.hibernate.sql.ast.SqlAstTranslatorFactory getSqlAstTranslatorFactory()
      Overrides:
      getSqlAstTranslatorFactory in class MySQLLegacyDialect
    • supportsWindowFunctions

      public boolean supportsWindowFunctions()
      Overrides:
      supportsWindowFunctions in class MySQLLegacyDialect
    • supportsLateral

      public boolean supportsLateral()
      Overrides:
      supportsLateral in class MySQLLegacyDialect
    • supportsRecursiveCTE

      public boolean supportsRecursiveCTE()
      Overrides:
      supportsRecursiveCTE in class MySQLLegacyDialect
    • supportsColumnCheck

      public boolean supportsColumnCheck()
      Overrides:
      supportsColumnCheck in class MySQLLegacyDialect
    • doesRoundTemporalOnOverflow

      public boolean doesRoundTemporalOnOverflow()
      Overrides:
      doesRoundTemporalOnOverflow in class org.hibernate.dialect.Dialect
    • getDefaultMySQLStorageEngine

      protected org.hibernate.dialect.MySQLStorageEngine getDefaultMySQLStorageEngine()
      Overrides:
      getDefaultMySQLStorageEngine in class MySQLLegacyDialect
    • supportsIfExistsBeforeConstraintName

      public boolean supportsIfExistsBeforeConstraintName()
      Overrides:
      supportsIfExistsBeforeConstraintName in class org.hibernate.dialect.Dialect
    • supportsIfExistsAfterAlterTable

      public boolean supportsIfExistsAfterAlterTable()
      Overrides:
      supportsIfExistsAfterAlterTable in class org.hibernate.dialect.Dialect
    • getSequenceSupport

      public org.hibernate.dialect.sequence.SequenceSupport getSequenceSupport()
      Description copied from class: MySQLLegacyDialect
      No support for sequences.
      Overrides:
      getSequenceSupport in class MySQLLegacyDialect
    • getQuerySequencesString

      public String getQuerySequencesString()
      Overrides:
      getQuerySequencesString in class org.hibernate.dialect.Dialect
    • getSequenceInformationExtractor

      public org.hibernate.tool.schema.extract.spi.SequenceInformationExtractor getSequenceInformationExtractor()
      Overrides:
      getSequenceInformationExtractor in class org.hibernate.dialect.Dialect
    • getFunctionalDependencyAnalysisSupport

      public org.hibernate.dialect.FunctionalDependencyAnalysisSupport getFunctionalDependencyAnalysisSupport()
      Overrides:
      getFunctionalDependencyAnalysisSupport in class MySQLLegacyDialect
    • buildIdentifierHelper

      public org.hibernate.engine.jdbc.env.spi.IdentifierHelper buildIdentifierHelper(org.hibernate.engine.jdbc.env.spi.IdentifierHelperBuilder builder, DatabaseMetaData metadata) throws SQLException
      Overrides:
      buildIdentifierHelper in class MySQLLegacyDialect
      Throws:
      SQLException
    • getDual

      public String getDual()
      Overrides:
      getDual in class MySQLLegacyDialect
    • getFromDualForSelectOnly

      public String getFromDualForSelectOnly()
      Overrides:
      getFromDualForSelectOnly in class MySQLLegacyDialect
    • supportsIntersect

      public boolean supportsIntersect()
      Overrides:
      supportsIntersect in class MySQLLegacyDialect
    • supportsSimpleQueryGrouping

      public boolean supportsSimpleQueryGrouping()
      Overrides:
      supportsSimpleQueryGrouping in class MySQLLegacyDialect
    • supportsWithClause

      public boolean supportsWithClause()
      Overrides:
      supportsWithClause in class MySQLLegacyDialect
    • supportsWithClauseInSubquery

      public boolean supportsWithClauseInSubquery()
      Overrides:
      supportsWithClauseInSubquery in class org.hibernate.dialect.Dialect