public class SQLDialect
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONFIG_TABLE_
Name of config table.
|
static java.lang.String |
DUAL_TABLE
Name of dual table.
|
static java.lang.String |
TMP_TABLE_
Name of temp table.
|
| Constructor and Description |
|---|
SQLDialect() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
dmlTableReference(java.lang.String tableName,
Session session,
ExecutionContext executionContext)
Gets table reference for DML statements for a given working table.
|
UPDATE_MODE |
getUpdateMode() |
UPSERT_MODE |
getUpsertMode() |
boolean |
isNeedsValuesKeywordForDeletes() |
boolean |
isSupportsInClauseForDeletes() |
boolean |
isSupportsMultiRowInserts() |
void |
setNeedsValuesKeywordForDeletes(boolean needsValuesKeywordForDeletes) |
void |
setSupportsInClauseForDeletes(boolean supportsInClauseForDeletes) |
void |
setSupportsMultiRowInserts(boolean supportsMultiRowInserts) |
void |
setUpdateMode(UPDATE_MODE updateMode) |
void |
setUpsertMode(UPSERT_MODE upsertMode) |
java.lang.String |
toString() |
public static final java.lang.String CONFIG_TABLE_
public static final java.lang.String TMP_TABLE_
public static final java.lang.String DUAL_TABLE
public boolean isNeedsValuesKeywordForDeletes()
public void setNeedsValuesKeywordForDeletes(boolean needsValuesKeywordForDeletes)
needsValuesKeywordForDeletes - the needsValuesKeywordForDeletes to setpublic boolean isSupportsInClauseForDeletes()
public void setSupportsInClauseForDeletes(boolean supportsInClauseForDeletes)
supportsInClauseForDeletes - the supportsInClauseForDeletes to setpublic boolean isSupportsMultiRowInserts()
public void setSupportsMultiRowInserts(boolean supportsMultiRowInserts)
supportsMultiRowInserts - the supportsMultiRowInserts to setpublic UPSERT_MODE getUpsertMode()
public void setUpsertMode(UPSERT_MODE upsertMode)
upsertMode - the upsertMode to setpublic UPDATE_MODE getUpdateMode()
public void setUpdateMode(UPDATE_MODE updateMode)
updateMode - the update modepublic static java.lang.String dmlTableReference(java.lang.String tableName,
Session session,
ExecutionContext executionContext)
throws java.sql.SQLException
tableName - the working tablesession - holds connection to DBMSjava.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()