public class OracleTemplates extends SQLTemplates
tested with Oracle 10g XE
SQLTemplates.Builder
Modifier and Type | Field and Description |
---|---|
static OracleTemplates |
DEFAULT |
RECURSIVE, SQL_RESERVED_WORDS
Constructor and Description |
---|
OracleTemplates() |
OracleTemplates(boolean quote) |
OracleTemplates(char escape,
boolean quote) |
Modifier and Type | Method and Description |
---|---|
static SQLTemplates.Builder |
builder() |
String |
getCastTypeNameForCode(int code) |
void |
serialize(QueryMetadata metadata,
boolean forCountRow,
SQLSerializer context)
template method for SELECT serialization
|
String |
serialize(String literal,
int jdbcType) |
void |
serializeDelete(QueryMetadata metadata,
RelationalPath<?> entity,
SQLSerializer context)
template method for DELETE serialization
|
protected void |
serializeModifiers(QueryMetadata metadata,
SQLSerializer context)
template method for LIMIT and OFFSET serialization
|
void |
serializeUpdate(QueryMetadata metadata,
RelationalPath<?> entity,
List<com.mysema.commons.lang.Pair<Path<?>,Expression<?>>> updates,
SQLSerializer context)
template method for UPDATE serialization
|
addCustomType, addTableOverride, addTypeNameToCode, addTypeNameToCode, escapeLiteral, getAsc, getAutoIncrement, getCodeForTypeName, getColumnAlias, getCount, getCountStar, getCreateIndex, getCreateTable, getCreateUniqueIndex, getCustomTypes, getDefaultValues, getDelete, getDesc, getDistinctCountEnd, getDistinctCountStart, getDummyTable, getFrom, getFullJoin, getGroupBy, getHaving, getInnerJoin, getInsertInto, getJoin, getJoinSymbol, getKey, getLeftJoin, getLimitTemplate, getListMaxSize, getMergeInto, getNotNull, getNullsFirst, getNullsLast, getOffsetTemplate, getOn, getOrderBy, getRightJoin, getSelect, getSelectDistinct, getSet, getTableAlias, getTableOverrides, getTypeForCast, getTypeForClass, getTypeNameForCode, getUpdate, getValues, getWhere, getWith, getWithRecursive, isArraysSupported, isBatchCountViaGetUpdateCount, isBigDecimalSupported, isCountDistinctMultipleColumns, isCountViaAnalytics, isFunctionJoinsWrapped, isLimitRequired, isNativeMerge, isParameterMetadataAvailable, isPrintSchema, isSupportsAlias, isSupportsUnquotedReservedWordsAsIdentifier, isUnionsWrapped, isUseQuotes, isWrapSelectParameters, newLineToSingleSpace, quoteIdentifier, quoteIdentifier, requiresQuotes, serializeInsert, serializeMerge, setArraysSupported, setAsc, setAutoIncrement, setBatchCountViaGetUpdateCount, setColumnAlias, setCount, setCountDistinctMultipleColumns, setCountStar, setCountViaAnalytics, setCreateIndex, setCreateTable, setCreateUniqueIndex, setDefaultValues, setDelete, setDesc, setDistinctCountEnd, setDistinctCountStart, setDummyTable, setFrom, setFullJoin, setFunctionJoinsWrapped, setGroupBy, setHaving, setInnerJoin, setInsertInto, setJoin, setKey, setLeftJoin, setLimitRequired, setListMaxSize, setMergeInto, setNativeMerge, setNotNull, setNullsFirst, setNullsLast, setOffsetTemplate, setOn, setOrderBy, setParameterMetadataAvailable, setPrintSchema, setRightJoin, setSelect, setSelectDistinct, setSet, setSupportsUnquotedReservedWordsAsIdentifier, setTableAlias, setUnionsWrapped, setUpdate, setValues, setWhere, setWith, setWithRecursive, setWrapSelectParameters
add, add, add, escapeForLike, getEscapeChar, getPrecedence, getTemplate
public static final OracleTemplates DEFAULT
public OracleTemplates()
public OracleTemplates(boolean quote)
public OracleTemplates(char escape, boolean quote)
public static SQLTemplates.Builder builder()
public String getCastTypeNameForCode(int code)
getCastTypeNameForCode
in class SQLTemplates
public String serialize(String literal, int jdbcType)
serialize
in class SQLTemplates
public void serialize(QueryMetadata metadata, boolean forCountRow, SQLSerializer context)
SQLTemplates
serialize
in class SQLTemplates
public void serializeDelete(QueryMetadata metadata, RelationalPath<?> entity, SQLSerializer context)
SQLTemplates
serializeDelete
in class SQLTemplates
public void serializeUpdate(QueryMetadata metadata, RelationalPath<?> entity, List<com.mysema.commons.lang.Pair<Path<?>,Expression<?>>> updates, SQLSerializer context)
SQLTemplates
serializeUpdate
in class SQLTemplates
protected void serializeModifiers(QueryMetadata metadata, SQLSerializer context)
SQLTemplates
serializeModifiers
in class SQLTemplates
Copyright © 2007–2015 Mysema Ltd. All rights reserved.