Interface JdbcDialect
- All Superinterfaces:
org.springframework.data.relational.core.dialect.Dialect
- All Known Implementing Classes:
JdbcDb2Dialect, JdbcH2Dialect, JdbcHsqlDbDialect, JdbcMariaDbDialect, JdbcMySqlDialect, JdbcOracleDialect, JdbcPostgresDialect, JdbcSqlServerDialect
public interface JdbcDialect
extends org.springframework.data.relational.core.dialect.Dialect
ArrayColumns that offer JDBC specific functionality.- Since:
- 2.3
- Author:
- Jens Schauder, Mikhail Polivakha
-
Method Summary
Modifier and TypeMethodDescriptiondefault SQLTypecreateSqlType(String name, int vendorTypeNumber) Creates aSQLTypefor the given name and vendor type number.default JdbcArrayColumnsReturns the JDBC-specific array support object that describes how this dialect supports array-typed columns.static JdbcArrayColumnsgetArraySupport(org.springframework.data.relational.core.dialect.Dialect dialect) Returns thearray supportfor the givenDialect.default StringgetName()Methods inherited from interface org.springframework.data.relational.core.dialect.Dialect
getConverters, getExistsFunction, getIdentifierProcessing, getIdGeneration, getInsertRenderContext, getLikeEscaper, getSelectContext, getUpsertRenderContext, limit, lock, orderByNullHandling, simpleTypes, supportsSingleQueryLoading
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.springframework.data.relational.core.dialect.Dialect
-
getArraySupport
Returns the JDBC-specific array support object that describes how this dialect supports array-typed columns.- Specified by:
getArraySupportin interfaceorg.springframework.data.relational.core.dialect.Dialect- Returns:
- the JDBC-specific array support object that describes how this dialect supports array-typed columns.
-
getArraySupport
static JdbcArrayColumns getArraySupport(org.springframework.data.relational.core.dialect.Dialect dialect) Returns thearray supportfor the givenDialect. Defaults toJdbcArrayColumns.Unsupportedif the dialect is not an instance ofJdbcDialect.- Parameters:
dialect- the dialect to check for array support.- Returns:
- the
JdbcArrayColumnsinstance that describes how this dialect supports array-typed columns. - Since:
- 4.0
-
createSqlType
-