For more information on interacting with the SAP HANA database, refer to the SAP HANA SQL and System Views Reference and the SAP HANA Client Interface Programming Reference.
Note
This dialect is configured to create foreign keys with on update cascade.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| public static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private AbstractHANADialect. | |
| private AbstractHANADialect. | |
| private final StandardTableExporter | |
| private static final CoreMessageLogger | |
| private static final int | |
| private static final String | |
| private AbstractHANADialect. | |
| private static final Boolean | |
| private static final String | |
| private static final Boolean | |
| private static final String | |
| private static final String | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | appendBooleanValueString(SqlAppender
The appender, boolean SqlAppender to append the literal expression toThe boolean value bool)Overrides org. SqlAppender.
|
| public void | appendDatetimeFormat(SqlAppender appender, String format)
Overrides org. java. to
whatever pattern language is understood by the
native datetime formatting function for this
database (often the to_char() function).
|
| public void | appendDateTimeLiteral(SqlAppender appender, TemporalAccessor temporalAccessor, TemporalType precision, TimeZone jdbcTimeZone)
Overrides org. java.
value to the given SqlAppender.
|
| public void | appendDateTimeLiteral(SqlAppender appender, Date date, TemporalType precision, TimeZone jdbcTimeZone)
Overrides org. Date
value to the given SqlAppender.
|
| public IdentifierHelper | buildIdentifierHelper(IdentifierHelperBuilder
A partially-configured builder, DatabaseMetaData IdentifierHelperBuilder.Access to the metadata returned from the driver if needed and if available dbMetaData)Warning it may be Overrides org. IdentifierHelper indicated by this dialect for handling identifier conversions.
|
| public SQLExceptionConversionDelegate | buildSQLExceptionConversionDelegate()
Overrides org. SQLExceptionConversionDelegate for interpreting
dialect-specific error or
SQLState codes.
|
| public String | castPattern(CastType
a from, CastType CastType indicating the
type of the value argumenta to)CastType indicating the
type the value argument is cast toOverrides org. cast() function call.
|
| protected String | columnType(int
a SQL sqlTypeCode)type codeOverrides org. Types or SqlTypes.
|
| public void | contributeTypes(TypeContributions
Callback to contribute the types typeContributions, ServiceRegistry The service registry serviceRegistry)Overrides org. Dialect to contribute types.
|
| protected static DatabaseVersion | |
| public ScrollMode | defaultScrollMode()
Overrides org. ScrollMode to be used by Query#scroll().
|
| public boolean | dropConstraints()
Do we need to drop constraints before dropping tables in this dialect?
|
| public String | extractPattern(TemporalUnit
the first argument unit)Overrides org. |
| public String | generatedAs(String
a SQL expression used to generate the column value generatedAs)Overrides org. generated as clause, or similar, for generated column
declarations in DDL statements.
|
| public String | getAddColumnString()
Overrides org. alter table command used to add
a column to a table, usually add column or add.
|
| public String | getAddColumnSuffixString()
Overrides org. |
| public JdbcType | |
| public CallableStatementSupport | getCallableStatementSupport()
Overrides org. CallableStatementSupport for this database.
|
| public String | getCascadeConstraintsString()
Overrides org. drop table operation
should be cascaded to its constraints, typically
" cascade" where the leading space is required, or
the empty string if there is no such keyword in this dialect.
|
| public String | getColumnComment(String
The comment to apply comment)
Get the comment into a form supported for column definition.
|
| public String | getCurrentSchemaCommand()
Overrides org. |
| public String | getCurrentTimestampSelectString()
Overrides org. |
| public int | getDefaultDecimalPrecision()
Overrides org. java.
or java..
|
| public boolean | getDefaultNonContextualLobCreation()
Overrides org. |
| public boolean | getDefaultUseGetGeneratedKeys()
Overrides org. |
| public String | getForUpdateNowaitString()
Overrides org. FOR UPDATE NOWAIT syntax specific to this dialect.
|
| public String | getForUpdateNowaitString(String
The columns to be write locked. aliases)Overrides org. FOR UPDATE OF column_list NOWAIT fragment appropriate
for this dialect, given the aliases of the columns to be write locked.
|
| public String | getForUpdateString(final String
The columns to be write locked. aliases)Overrides org. FOR UPDATE OF column_list fragment appropriate
for this dialect, given the aliases of the columns to be write
locked.
|
| public String | getForUpdateString(final String
The columns to be locked. aliases, final LockOptions the lock options to apply lockOptions)Overrides org. FOR UPDATE OF or FOR SHARE OF fragment
appropriate for this dialect, given the aliases of the columns
to be locked.
|
| private String | |
| public long | getFractionalSecondPrecisionInNanos()
Overrides org. |
| public IdentityColumnSupport | getIdentityColumnSupport()
Overrides org. IdentityColumnSupport for this dialect.
|
| public LimitHandler | getLimitHandler()
Overrides org. LimitHandler that implements pagination support for
Query#setMaxResults(int) and Query#setFirstResult(int).
|
| public int | getMaxAliasLength()
What is the maximum length Hibernate can use for generated aliases?
|
| public int | getMaxIdentifierLength()
Overrides org. |
| public int | getMaxNVarcharLength()
Overrides org. java.-like type.
|
| public int | getMaxVarbinaryLength()
Overrides org. java.-like type.
|
| public int | getMaxVarcharLength()
Overrides org. java.-like type.
|
| public NameQualifierSupport | |
| public NullOrdering | getNullOrdering()
Returns the default ordering of null.
|
| public String | getQueryHintString(String
The query to which to apply the hint. query, List<String> The hints to apply hints)
Apply a hint to the given SQL query.
|
| public String | getQuerySequencesString()
Overrides org. select command used retrieve the names of all sequences.
|
| public String | getReadLockString(int
in milliseconds, -1 for indefinite wait and 0 for no wait. timeout)Overrides org. SELECT statements to
acquire READ locks for this dialect.
|
| public String | getReadLockString(String
The columns to be read locked. aliases, int in milliseconds, -1 for indefinite wait and 0 for no wait. timeout)Overrides org. SELECT statements to
acquire READ locks for this dialect, given the aliases of
the columns to be read locked.
|
| public String | getSelectGUIDString()
Overrides org. |
| public SequenceInformationExtractor | getSequenceInformationExtractor()
Overrides org. SequenceInformationExtractor which is able to extract
org.
from the JDBC result set returned when getQuerySequencesString()
is executed.
|
| public SequenceSupport | getSequenceSupport()
Overrides org. SequenceSupport for this dialect.
|
| public SqlAstTranslatorFactory | getSqlAstTranslatorFactory()
Overrides org. SqlAstTranslatorFactory specific to this dialect, or null
to use the standard translator.
|
| public String | getTableComment(String
The comment to apply comment)
Get the comment into a form supported for table definition.
|
| public Exporter | getTableExporter()
Overrides org. Exporter for Tables,
usually StandardTableExporter.
|
| public String | getWriteLockString(int
in milliseconds, -1 for indefinite wait and 0 for no wait. timeout)Overrides org. SELECT statements to
acquire pessimistic WRITE locks for this dialect.
|
| public String | getWriteLockString(String
The columns to be read locked. aliases, int in milliseconds, -1 for indefinite wait and 0 for no wait. timeout)Overrides org. SELECT statements to
acquire WRITE locks for this dialect, given the aliases of
the columns to be write locked.
|
| public RowLockStrategy | getWriteRowLockStrategy()
Overrides org. |
| public void | initializeFunctionRegistry(FunctionContributions functionContributions)
Overrides org. |
| public boolean | isCurrentTimestampSelectStringCallable()
Overrides org. getCurrentTimestampSelectString
treated as callable?
|
| public boolean | |
| protected void | registerColumnTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry)
Overrides org. getMaxVarcharLength(), getMaxNVarcharLength(),
and getMaxVarbinaryLength().
|
| protected void | registerDefaultKeywords()
Overrides org. |
| public int | registerResultSetOutParameter(CallableStatement
The callable statement. statement, int The bind position at which to register the output param. position)Overrides org. ResultSet
by position, either an OUT parameter, or a
REF_CURSOR parameter as defined in Java 8.
|
| public int | registerResultSetOutParameter(CallableStatement
The callable statement. statement, String The parameter name (for drivers which support named parameters). name)Overrides org. ResultSet
by name, either an OUT parameter, or a
REF_CURSOR parameter as defined in Java 8.
|
| protected abstract boolean | |
| public boolean | supportsColumnCheck()
Overrides org. |
| public boolean | supportsCommentOn()
Does this dialect support commenting on tables and columns?
|
| public boolean | supportsCurrentTimestampSelection()
Overrides org. |
| public boolean | supportsExistsInSelect()
Overrides org. |
| public boolean | supportsExpectedLobUsagePattern()
Overrides org. |
| public boolean | supportsFractionalTimestampArithmetic()
Overrides org. timestamp + 0.5 second.
|
| public boolean | supportsJdbcConnectionLobCreation(DatabaseMetaData
JDBC databaseMetaData)DatabaseMetaData which can be used
if LOB creation is supported only starting from
a given driver versionOverrides org. Connection supports creating LOBs via
Connection#createBlob(), Connection#createNClob(), or
Connection#createClob().
|
| public boolean | supportsLateral()
Overrides org. lateral keyword or a
proprietary alternative?
|
| public boolean | supportsNoColumnsInsert()
Overrides org. INSERT statement is allowed to contain no columns?
|
| public boolean | supportsNoWait()
Overrides org. NO_WAIT timeout.
|
| public boolean | supportsOffsetInSubquery()
Overrides org. offset in subqueries?
|
| public boolean | supportsOrderByInSubquery()
Overrides org. order by clause in subqueries?
|
| public boolean | supportsPartitionBy()
Overrides org. partition by?
|
| public boolean | supportsTableCheck()
Does this dialect support table-level check constraints?
|
| public boolean | supportsTupleDistinctCounts()
Overrides org. count(distinct a,b)?
|
| public boolean | supportsUnboundedLobLocatorMaterialization()
Overrides org. |
| public boolean | supportsWindowFunctions()
Overrides org. row_number() over (..)?
|
| public String | timestampaddPattern(TemporalUnit
The unit to add to the temporal unit, TemporalType The type of the temporal temporalType, IntervalType The type of interval to add or null if it's not a native interval intervalType)Overrides org. timestampadd() function call.
|
| public String | timestampdiffPattern(TemporalUnit
the first argument unit, TemporalType true if the first argument is
a timestamp, false if a date fromTemporalType, TemporalType true if the second argument is toTemporalType)Overrides org. timestampdiff() function call.
|
| protected abstract Boolean |