| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private static final ViolatedConstraintNameExtractor | EXTRACTOR
Constraint-name extractor for Sybase ASE constraint violation exceptions.
|
| private static final DatabaseVersion | |
| private final Dialect. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | appendLockHint(LockOptions
The lock options to apply mode, String The name of the table to which to apply the lock hint. tableName)Overrides org. SELECT FOR UPDATE,
whereby a "lock hint" is appended to the table name in the from
clause.
|
| public SQLExceptionConversionDelegate | buildSQLExceptionConversionDelegate()
Overrides org. SQLExceptionConversionDelegate for interpreting
dialect-specific error or
SQLState codes.
|
| 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.
|
| public String | currentDate()
Overrides org. current_date function, which
maps to the Java type java., and of the HQL
local_date function which maps to the Java type
java..
|
| public String | currentTime()
Overrides org. current_time function, which
maps to the Java type java. which is a time with
no time zone.
|
| public String | currentTimestamp()
Overrides org. current_timestamp function,
which maps to the Java type java. which is
a datetime with no time zone.
|
| public int | getDoublePrecision()
Overrides org. Double or
double.
|
| public int | getFloatPrecision()
Overrides org. Float or
float.
|
| public long | getFractionalSecondPrecisionInNanos()
Overrides org. |
| 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 | getMaxVarcharLength()
Overrides org. java.-like type.
|
| public Dialect. | getSizeStrategy()
Overrides org. SizeStrategy for column types.
|
| public SqlAstTranslatorFactory | getSqlAstTranslatorFactory()
Overrides org. SqlAstTranslatorFactory specific to this dialect, or null
to use the standard translator.
|
| public String | getTableTypeString()
Overrides org. create table
statement.
|
| public ViolatedConstraintNameExtractor | getViolatedConstraintNameExtractor()
Overrides org. Implements org. ViolatedConstraintNameExtractor for extracting the name of
a violated constraint from a SQLException.
|
| private static boolean | |
| public boolean | isAnsiNullOn()
Overrides org. SybaseASEDialect.
|
| protected void | registerColumnTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry)
Overrides org. getMaxVarcharLength(), getMaxNVarcharLength(),
and getMaxVarbinaryLength().
|
| protected void | registerDefaultKeywords()
Overrides org. |
| public int | resolveSqlTypeLength(String
the name of the column type columnTypeName, int the JDBC type code of the column type jdbcTypeCode, int the (numeric) precision or (character) length of the column precision, int the scale of a numeric column scale, int the display size of the column displaySize)Overrides org. java..
|
| public boolean | Returns: falseOverrides org. BIT type does not allow
null values, so we don't use it.
|
| public boolean | supportsCascadeDelete()
Overrides org. on delete actions in foreign key definitions?
|
| public boolean | supportsDistinctFromPredicate()
Overrides org. distinct from predicate?
|
| public boolean | supportsLobValueChangePropagation()
Overrides org. |
| public boolean | supportsLockTimeouts()
Overrides org. |
| public boolean | supportsOrderByInSubquery()
Overrides org. order by clause in subqueries?
|
| public boolean | supportsPartitionBy()
Overrides org. partition by?
|
| public boolean | supportsSkipLocked()
Overrides org. SKIP_LOCKED timeout.
|
| public boolean | supportsUnionInSubquery()
Overrides org. UNION in a subquery.
|
| 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.
|
| public String | toQuotedIdentifier(String
The value to be quoted. name)
Apply dialect-specific quoting.
|
| ansiNull | back to summary |
|---|---|
| private final boolean ansiNull | |
| EXTRACTOR | back to summary |
|---|---|
| private static final ViolatedConstraintNameExtractor EXTRACTOR Hides org. Constraint-name extractor for Sybase ASE constraint violation exceptions. Orginally contributed by Denny Bartelt. | |
| MINIMUM_VERSION | back to summary |
|---|---|
| private static final DatabaseVersion MINIMUM_VERSION | |
| sizeStrategy | back to summary |
|---|---|
| private final Dialect. | |
| SybaseASEDialect | back to summary |
|---|---|
| public SybaseASEDialect() | |
| SybaseASEDialect | back to summary |
|---|---|
| public SybaseASEDialect(DatabaseVersion version) | |
| SybaseASEDialect | back to summary |
|---|---|
| public SybaseASEDialect(DialectResolutionInfo info) | |
| appendLockHint | back to summary |
|---|---|
| public String appendLockHint(LockOptions mode, String tableName) Overrides org. Doc from org. Some dialects support an alternative means to
| |
| buildSQLExceptionConversionDelegate | back to summary |
|---|---|
| public SQLExceptionConversionDelegate buildSQLExceptionConversionDelegate() Overrides org. Doc from org. An instance of
If this method is overridden to return a non-null value, the default
It is strongly recommended that every
| |
| columnType | back to summary |
|---|---|
| protected String columnType(int sqlTypeCode) Overrides org. Doc from org. The database column type name for a given JDBC type code defined
in
This method may be overridden by concrete Note that:
| |
| contributeTypes | back to summary |
|---|---|
| public void contributeTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Overrides org. Doc from org. A callback which allows the
| |
| currentDate | back to summary |
|---|---|
| public String currentDate() Overrides org. Doc from org. Translation of the HQL/JPQL
| |
| currentTime | back to summary |
|---|---|
| public String currentTime() Overrides org. Doc from org. Translation of the HQL/JPQL
It is recommended to override this in dialects for databases which
support
| |
| currentTimestamp | back to summary |
|---|---|
| public String currentTimestamp() Overrides org. Doc from org. Translation of the HQL/JPQL
It is recommended to override this in dialects for databases which
support
| |
| getDoublePrecision | back to summary |
|---|---|
| public int getDoublePrecision() Overrides org. Doc from org. This is the default precision for a generated
column mapped to a Java Usually 53 binary digits, at least for databases with a conventional interpretation of the ANSI SQL specification.
| |
| getFloatPrecision | back to summary |
|---|---|
| public int getFloatPrecision() Overrides org. Doc from org. This is the default precision for a generated
column mapped to a Java Usually 24 binary digits, at least for databases with a conventional interpretation of the ANSI SQL specification.
| |
| getFractionalSecondPrecisionInNanos | back to summary |
|---|---|
| public long getFractionalSecondPrecisionInNanos() Overrides org. Sybase ASE in principle supports microsecond
precision for {code bigdatetime}, but
unfortunately its duration arithmetic
functions have a nasty habit of overflowing.
So to give ourselves a little extra headroom,
we will use
| |
| getLimitHandler | back to summary |
|---|---|
| public LimitHandler getLimitHandler() Overrides org. Doc from org. Obtain a
| |
| getMaxAliasLength | back to summary |
|---|---|
| public int getMaxAliasLength() Overrides org. Doc from org. What is the maximum length Hibernate can use for generated aliases?
| |
| getMaxIdentifierLength | back to summary |
|---|---|
| public int getMaxIdentifierLength() Overrides org. Doc from org. What is the maximum identifier length supported by this dialect?
| |
| getMaxVarcharLength | back to summary |
|---|---|
| public int getMaxVarcharLength() Overrides org. Doc from org. The biggest size value that can be supplied as argument to a
For longer column lengths, use some sort of
| |
| getSizeStrategy | back to summary |
|---|---|
| public Dialect. Overrides org. Doc from org. A custom
| |
| getSqlAstTranslatorFactory | back to summary |
|---|---|
| public SqlAstTranslatorFactory getSqlAstTranslatorFactory() Overrides org. Doc from org. Return a
| |
| getTableTypeString | back to summary |
|---|---|
| public String getTableTypeString() Overrides org. Doc from org. An arbitrary fragment appended to the end of the
| |
| getViolatedConstraintNameExtractor | back to summary |
|---|---|
| public ViolatedConstraintNameExtractor getViolatedConstraintNameExtractor() Overrides org. Implements org. Doc from org. A
| |
| isAnsiNull | back to summary |
|---|---|
| private static boolean isAnsiNull(DialectResolutionInfo info) | |
| isAnsiNullOn | back to summary |
|---|---|
| public boolean isAnsiNullOn() Overrides org. Doc from org. A setting specific to
| |
| registerColumnTypes | back to summary |
|---|---|
| protected void registerColumnTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry) Overrides org. Doc from org. Register ANSI-standard column types using the length limits defined
by
This method is always called when a
| |
| registerDefaultKeywords | back to summary |
|---|---|
| protected void registerDefaultKeywords() Overrides org. Doc from org. Register the reserved words of ANSI-standard SQL as keywords.
| |
| resolveSqlTypeLength | back to summary |
|---|---|
| public int resolveSqlTypeLength(String columnTypeName, int jdbcTypeCode, int precision, int scale, int displaySize) Overrides org. Doc from org. Determine the length/precision of a column based on information in the
JDBC
| |
| supportsBitType | back to summary |
|---|---|
| public boolean supportsBitType() Overrides org. The Sybase ASE
| |
| supportsCascadeDelete | back to summary |
|---|---|
| public boolean supportsCascadeDelete() Overrides org. Doc from org. Does this dialect support
| |
| supportsDistinctFromPredicate | back to summary |
|---|---|
| public boolean supportsDistinctFromPredicate() Overrides org. Doc from org. Does this dialect support some kind of That is, does it support syntax like: ... where FIRST_NAME IS DISTINCT FROM LAST_NAME
| |
| supportsLobValueChangePropagation | back to summary |
|---|---|
| public boolean supportsLobValueChangePropagation() Overrides org. Doc from org. Does the dialect support propagating changes to LOB values back to the database? Talking about mutating the internal value of the locator, as opposed to supplying a new locator instance.
| |
| supportsLockTimeouts | back to summary |
|---|---|
| public boolean supportsLockTimeouts() Overrides org. Doc from org. Does this dialect support specifying timeouts when requesting locks.
| |
| supportsOrderByInSubquery | back to summary |
|---|---|
| public boolean supportsOrderByInSubquery() Overrides org. Doc from org. Does this dialect support the For example: select * from Table1 where col1 in (select col1 from Table2 order by col2 limit 1)
| |
| supportsPartitionBy | back to summary |
|---|---|
| public boolean supportsPartitionBy() Overrides org. Doc from org. Does is dialect support
| |
| supportsSkipLocked | back to summary |
|---|---|
| public boolean supportsSkipLocked() Overrides org. Doc from org. Does this dialect support
| |
| supportsUnionInSubquery | back to summary |
|---|---|
| public boolean supportsUnionInSubquery() Overrides org. Doc from org. Does this dialect support
| |
| timestampaddPattern | back to summary |
|---|---|
| public String timestampaddPattern(TemporalUnit unit, TemporalType temporalType, IntervalType intervalType) Overrides org. Doc from org. Obtain a pattern for the SQL equivalent to a
| |
| timestampdiffPattern | back to summary |
|---|---|
| public String timestampdiffPattern(TemporalUnit unit, TemporalType fromTemporalType, TemporalType toTemporalType) Overrides org. Doc from org. Obtain a pattern for the SQL equivalent to a
| |
| toQuotedIdentifier | back to summary |
|---|---|
| public String toQuotedIdentifier(String name) Overrides org. Doc from org. Apply dialect-specific quoting. | |