Package org.hibernate.dialect
package org.hibernate.dialect
This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate. A concrete
implementation of
Dialect defines
the variant understood by a certain RDBMS.
- An integrator may directly extend
Dialectin order to provide support for a database unknown to Hibernate, or - a program may extend one of the concrete
Dialects in this package in order to customize certain aspects of the SQL generated by Hibernate.
A concrete Dialect may be explicitly selected using
"hibernate.dialect", but
this is not usually necessary unless a program uses a custom
implementation.
- See Also:
-
ClassDescriptionImplementation for serializing/deserializing an embeddable aggregate to/from the PostgreSQL component format.An abstract base class for Sybase and MS SQL Server dialects.Utility for decoding boolean representations.A SQL dialect for CockroachDB 21.1 and above.CockroachSqlAstTranslator<T extends JdbcOperation>A SQL AST translator for Cockroach.Strategy for extracting the unique column alias out of a
ResultSetMetaData.A list of relational database systems for which Hibernate can resolve aDialect.Details about the underlying database, as understood by a Dialect.A SQL dialect for DB2 for LUW (Linux, Unix, and Windows) version 10.5 and above.Variant of theGetObjectExtractorthat catches aNullPointerException, because the DB2 JDBC driver runs into that exception when trying to access anullvalue with thegetObject(int, Class)andgetObject(String, Class)methods.A SQL dialect for DB2 for IBM i version 7.1 and above, previously known as "DB2/400".DB2iSqlAstTranslator<T extends JdbcOperation>A SQL AST translator for DB2i.DB2SqlAstTranslator<T extends JdbcOperation>A SQL AST translator for DB2.DB2 supports UDTs but not in JDBC, so there is a feature called "transforms", which allows to specify an automatic translation from one data type to another.A SQL dialect for DB2 for z/OS version 12.1 and above, previously known as: "Db2 UDB for z/OS", and "Db2 UDB for z/OS and OS/390".DB2zSqlAstTranslator<T extends JdbcOperation>A SQL AST translator for DB2z.Represents a dialect of SQL implemented by a particular RDBMS.Pluggable strategy for determining theSizeto use for columns of a given SQL type.A wrapper of Dialect, to allow decorating some selected methods without having to extend the original class.Logging related to Hibernate dialectsIndicates the level of qualifier support used by the dialect when referencing a column.Dialect support information for primary key functional dependency analysis withinGROUP BYandORDER BYclauses.Strategies for rendering a constant in a group by.Strategies for rendering summarization function like rollup and cube in a group by.A SQL dialect for H2.H2 requires binding JSON viasetBytesmethods.H2SqlAstTranslator<T extends JdbcOperation>A SQL AST translator for H2.An SQL dialect for the SAP HANA Platform and Cloud.Utility class that extract some initial configuration from the database forHANADialect.HANASqlAstTranslator<T extends JdbcOperation>A SQL AST translator for HANA.A SQL dialect for HSQLDB (HyperSQL) 2.6.1 and above.HSQLSqlAstTranslator<T extends JdbcOperation>A SQL AST translator for HSQL.Represents the InnoDB storage engine.A Helper for serializing and deserializing JSON, based on anEmbeddableMappingType.Strategy for how dialects needLOBvalues to be merged.A SQL dialect for MariaDB 10.5 and above.MariaDBSqlAstTranslator<T extends JdbcOperation>A SQL AST translator for MariaDB.Represents the MyISAM storage engine.A SQL dialect for MySQL 5.7 and above.Utility class that extract some initial configuration from the database forMySQLDialectand related dialects.MySQLSqlAstTranslator<T extends JdbcOperation>A SQL AST translator for MySQL.This interface defines how various MySQL storage engines behave in regard to Hibernate functionality.Indicates if and how a database supports the use of nationalized character data (Unicode).The order of null.Descriptor forARRAYhandling.Factory forOracleArrayJdbcType.A SQL dialect for Oracle 11g Release 2 and above.Represents a namedenumtype on Oracle 23ai+.The following class provides some convenience methods for accessing JdbcType instance, that are loaded into the app class loader, where they have access to the JDBC driver classes.Specialized type mapping forJSONand the JSON SQL data type for Oracle.Descriptor forTABLEhandling.Factory forOracleNestedTableJdbcType.Represents a namedenumtype on Oracle 23ai+.Utility class that extract some initial configuration from the database forOracleDialect.OracleSqlAstTranslator<T extends JdbcOperation>A SQL AST translator for Oracle.The Oracle specific JDBC type code.The following class provides some convenience methods for accessing JdbcType instance, that are loaded into the app class loader, where they have access to the JDBC driver classes.An SQL dialect for Postgres PlusDescriptor forARRAYhandling.Factory forPostgreSQLArrayJdbcType.A SQL dialect for PostgreSQL 11 and above.Represents a namedenumtype on PostgreSQL.Represents a namedenumtype on PostgreSQL.PostgreSQLSqlAstTranslator<T extends JdbcOperation>A SQL AST translator for PostgreSQL.Defines how we need to reference columns in the group-by, having, and order-by clauses.The strategy for rendering which row to lock with theFOR UPDATE OFclause.Strategies for referring to a select item.Simple version of DatabaseVersionA SQL dialect for Cloud Spanner.SpannerSqlAstTranslator<T extends JdbcOperation>A SQL AST translator for Spanner.SqlAstTranslatorWithMerge<T extends JdbcOperation>Base for translators which support a full insert-or-update-or-delete (MERGE) command.SqlAstTranslatorWithUpsert<T extends JdbcOperation>Base SqlAstTranslator for translators which support an insert-or-update (UPSERT) commandA dialect for Microsoft SQL Server 2008 and aboveSQLServerSqlAstTranslator<T extends JdbcOperation>A SQL AST translator for SQL Server.A Helper for serializing and deserializing struct, based on anEmbeddableMappingType.A SQL dialect for Sybase Adaptive Server Enterprise 16 and above.SybaseASESqlAstTranslator<T extends JdbcOperation>A SQL AST translator for Sybase ASE.Superclass for all Sybase dialects.SybaseSqlAstTranslator<T extends JdbcOperation>A SQL AST translator for Sybase.SybaseSqmToSqlAstConverter<T extends Statement>A SQM to SQL AST translator for Sybase ASE.A SQL dialect for TiDB.TiDBSqlAstTranslator<T extends JdbcOperation>A SQL AST translator for TiDB.Describes the extent to which a given database supports the SQLwith time zonetypes.Specialized type mapping forUUIDand the UUID SQL data type, which binds and reads the UUID through JDBCgetString/setStringmethods.A Helper for serializing and deserializing XML, based on anEmbeddableMappingType.