| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static ViolatedConstraintNameExtracter | |
| pack-priv StandardIndexExporter | TeraIndexExporter
Constructor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | applyLocksToSql(String
the SQL string to modify sql, LockOptions lock options indexed by aliased table names. aliasedLockOptions, Map<K, V> a map of key columns indexed by aliased table names. keyColumnNames)
Modifies the given SQL by applying the appropriate updates for the specified
lock modes and key columns.
|
| public boolean | areStringComparisonsCaseInsensitive()
Overrides org. |
| public String | getAddColumnString()
Overrides org. |
| public IdentityColumnSupport | getIdentityColumnSupport()
Overrides org. IdentityColumnSupport
|
| public Exporter | |
| public String | getReadLockString(int
in milliseconds, -1 for indefinite wait and 0 for no wait. timeout)
Get the string to append to SELECT statements to acquire READ locks
for this dialect.
|
| public ResultSet | getResultSet(CallableStatement
The callable statement. cs)Overrides org. registerResultSetOutParameter,
extract the ResultSet from the OUT parameter.
|
| public String | Returns: the database type namejava.sql.Types typecode code, int the length or precision of the column length, int the precision of the column precision, int the scale of the column scale)Overrides org. |
| public ViolatedConstraintNameExtracter | |
| public String | getWriteLockString(int
in milliseconds, -1 for indefinite wait and 0 for no wait. timeout)
Get the string to append to SELECT statements to acquire WRITE locks
for this dialect.
|
| public int | registerResultSetOutParameter(CallableStatement
The callable statement. statement, int The bind position at which to register the output param. col)Overrides org. ResultSet *by position*.
|
| public boolean | supportsExistsInSelect()
Overrides org. |
| public boolean | supportsExpectedLobUsagePattern()
Overrides org. |
| public boolean | supportsLockTimeouts()
Overrides org. |
| public boolean | supportsTupleDistinctCounts()
Overrides org. |
| public boolean | supportsUnboundedLobLocatorMaterialization()
Overrides org. |
| public boolean | useFollowOnLocking(QueryParameters
query parameters parameters)
Some dialects have trouble applying pessimistic locking depending upon what other query options are
specified (paging, ordering, etc).
|
| EXTRACTER | back to summary |
|---|---|
| private static ViolatedConstraintNameExtracter EXTRACTER | |
| TeraIndexExporter | back to summary |
|---|---|
| pack-priv StandardIndexExporter TeraIndexExporter Constructor | |
| Teradata14Dialect | back to summary |
|---|---|
| public Teradata14Dialect() | |
| applyLocksToSql | back to summary |
|---|---|
| public String applyLocksToSql(String sql, LockOptions aliasedLockOptions, Map<K, V> keyColumnNames) Overrides org. Doc from org. Modifies the given SQL by applying the appropriate updates for the specified lock modes and key columns. The behavior here is that of an ANSI SQL SELECT FOR UPDATE. This method is really intended to allow dialects which do not support SELECT FOR UPDATE to achieve this in their own fashion.
| |
| areStringComparisonsCaseInsensitive | back to summary |
|---|---|
| public boolean areStringComparisonsCaseInsensitive() Overrides org. Doc from org. Are string comparisons implicitly case insensitive. In other words, does [where 'XYZ' = 'xyz'] resolve to true?
| |
| getAddColumnString | back to summary |
|---|---|
| public String getAddColumnString() Overrides org. Doc from org. The syntax used to add a column to a table (optional). | |
| getIdentityColumnSupport | back to summary |
|---|---|
| public IdentityColumnSupport getIdentityColumnSupport() Overrides org. Doc from org. Get the appropriate
| |
| getIndexExporter | back to summary |
|---|---|
| public Exporter Overrides org.
| |
| getReadLockString | back to summary |
|---|---|
| public String getReadLockString(int timeout) Overrides org. Doc from org. Get the string to append to SELECT statements to acquire READ locks for this dialect. Location of the returned string is treated the same as getForUpdateString. | |
| getResultSet | back to summary |
|---|---|
| public ResultSet getResultSet(CallableStatement cs) throws SQLException Overrides org. Doc from org. Given a callable statement previously processed by
| |
| getTypeName | back to summary |
|---|---|
| public String getTypeName(int code, int length, int precision, int scale) throws HibernateException Overrides org. Get the name of the database type associated with the given java.sql.Types typecode.
| |
| getViolatedConstraintNameExtracter | back to summary |
|---|---|
| public ViolatedConstraintNameExtracter getViolatedConstraintNameExtracter() Overrides org. Implements org.
| |
| getWriteLockString | back to summary |
|---|---|
| public String getWriteLockString(int timeout) Overrides org. Doc from org. Get the string to append to SELECT statements to acquire WRITE locks for this dialect. Location of the returned string is treated the same as getForUpdateString. | |
| registerResultSetOutParameter | back to summary |
|---|---|
| public int registerResultSetOutParameter(CallableStatement statement, int col) throws SQLException Overrides org. Doc from org. Registers a parameter (either OUT, or the new REF_CURSOR param type available in Java 8) capable of
returning
| |
| supportsExistsInSelect | back to summary |
|---|---|
| public boolean supportsExistsInSelect() Overrides org. Doc from org. Does the dialect support an exists statement in the select clause?
| |
| supportsExpectedLobUsagePattern | back to summary |
|---|---|
| public boolean supportsExpectedLobUsagePattern() Overrides org. Doc from org. Expected LOB usage pattern is such that I can perform an insert via prepared statement with a parameter binding for a LOB value without crazy casting to JDBC driver implementation-specific classes... Part of the trickiness here is the fact that this is largely driver dependent. For example, Oracle (which is notoriously bad with LOB support in their drivers historically) actually does a pretty good job with LOB support as of the 10.2.x versions of their drivers...
| |
| supportsLockTimeouts | back to summary |
|---|---|
| public boolean supportsLockTimeouts() Overrides org. Doc from org. Informational metadata about whether this dialect is known to support specifying timeouts for requested lock acquisitions.
| |
| supportsTupleDistinctCounts | back to summary |
|---|---|
| public boolean supportsTupleDistinctCounts() Overrides org. Doc from org. Does this dialect support `count(distinct a,b)`?
| |
| supportsUnboundedLobLocatorMaterialization | back to summary |
|---|---|
| public boolean supportsUnboundedLobLocatorMaterialization() Overrides org. Doc from org. Is it supported to materialize a LOB locator outside the transaction in which it was created? Again, part of the trickiness here is the fact that this is largely driver dependent. Note all database I have tested which
| |
| useFollowOnLocking | back to summary |
|---|---|
| public boolean useFollowOnLocking(QueryParameters parameters) Overrides org. Doc from org. Some dialects have trouble applying pessimistic locking depending upon what other query options are specified (paging, ordering, etc). This method allows these dialects to request that locking be applied by subsequent selects.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | getSqlCreateStrings(Index index, Metadata metadata, SqlStringGenerationContext context)
Overrides org. Overrides default org.
Deprecated
as a consequence of
Get the commands needed for creation.
Index being deprecated.
|
| TeradataIndexExporter | back to summary |
|---|---|
| public TeradataIndexExporter(Dialect dialect) | |
| getSqlCreateStrings | back to summary |
|---|---|
| public String[] getSqlCreateStrings(Index index, Metadata metadata, SqlStringGenerationContext context) Overrides org. Overrides default org. Doc from org. Deprecated as a consequence of Get the commands needed for creation. | |