public class EROracleExpression extends OraclePlugIn.OracleExpression
Modifier and Type | Class and Description |
---|---|
static interface |
EROracleExpression.Delegate |
EOSQLExpression.SQLValue
_externalQuoteChar, _inSelect, _jdbcInfo, _rtrimFunctionName
_aliasesByRelationshipPath, _bindings, _contextStack, _defaultDateFormatter, _entity, _joinClauseString, _listString, _NibbleToHex, _orderByString, _statement, _upperFunctionName, _useAliases, _valueListString, _whereClauseString, BindVariableAttributeKey, BindVariableColumnKey, BindVariableNameKey, BindVariablePlaceHolderKey, BindVariableValueKey
Constructor and Description |
---|
EROracleExpression(EOEntity eoentity) |
Modifier and Type | Method and Description |
---|---|
void |
addCreateClauseForAttribute(EOAttribute attribute) |
void |
addOrderByAttributeOrdering(EOSortOrdering sortOrdering)
Overridden to allow the Null Sorting behavior of Oracle to be modified by
setting an application property.
|
String |
assembleSelectStatementWithAttributes(NSArray attributes,
boolean lock,
EOQualifier qualifier,
NSArray fetchOrder,
String selectString,
String columnList,
String tableList,
String whereClause,
String joinClause,
String orderByClause,
String lockClause)
Overriden to handle correct placements of join conditions and to handle
DISTINCT fetches with compareCaseInsensitiveA(De)scending sort orders.
|
NSMutableDictionary |
bindVariableDictionaryForAttribute(EOAttribute eoattribute,
Object obj)
Overridden in order to add milliseconds to the value.
|
String |
formatValueForAttribute(Object obj,
EOAttribute eoattribute)
Overridden in order to add milliseconds to the value.
|
boolean |
mustUseBindVariableForAttribute(EOAttribute attribute) |
void |
prepareConstraintStatementForRelationship(EORelationship relationship,
NSArray sourceColumns,
NSArray destinationColumns) |
static void |
setDelegate(EROracleExpression.Delegate delegate)
Sets the delegate for this expression.
|
protected boolean |
shouldAllowNull(EOAttribute attribute) |
boolean |
shouldUseBindVariableForAttribute(EOAttribute attribute) |
boolean |
useBindVariables() |
assembleJoinClause, assembleUpdateStatementWithRow, sqlStringForKeyValueQualifier
addSelectListAttribute, allowsNullClauseForConstraint, appendItemToListString, appendItemToOrderByString, appendItemToValueListString, columnTypeStringForAttribute, externalNameQuoteCharacter, jdbcInfo, lockClause, prepareSelectExpressionWithAttributes, setJDBCInfo
_aliasForRelatedAttributeRelationshipPath, _aliasForRelationshipPath, _defaultDateFormatter, _entityForRelationshipPathOrigin, _flattenRelPathEntity, _listString, _orderByString, _rootEntityForExpression, _setEntity, _sqlStringForJoinSemanticMatchSemantic, _stringForDate, _truncatedString, _truncatedStringForData, _valueList, addBindVariableDictionary, addInsertListAttribute, addJoinClause, addUpdateListAttribute, aliasesByRelationshipPath, appendItemToListString, assembleDeleteStatementWithQualifier, assembleInsertStatementWithRow, bindVariableDictionaries, entity, formatSQLString, formatStringValue, joinClauseString, joinExpression, listString, orderByString, prepareDeleteExpressionForQualifier, prepareInsertExpressionWithRow, prepareUpdateExpressionWithRow, setStatement, setUseAliases, setUseBindVariables, setUseQuotedExternalNames, sqlEscapeChar, sqlPatternFromShellPattern, sqlPatternFromShellPatternWithEscapeCharacter, sqlStringForAttribute, sqlStringForAttributeNamed, sqlStringForAttributePath, sqlStringForCaseInsensitiveLike, sqlStringForConjoinedQualifiers, sqlStringForData, sqlStringForDisjoinedQualifiers, sqlStringForKeyComparisonQualifier, sqlStringForNegatedQualifier, sqlStringForNumber, sqlStringForQualifier, sqlStringForSchemaObjectName, sqlStringForSelector, sqlStringForString, sqlStringForValue, statement, tableListWithRootEntity, toString, useAliases, useQuotedExternalNames, valueList, whereClauseString
public EROracleExpression(EOEntity eoentity)
public static void setDelegate(EROracleExpression.Delegate delegate)
delegate
- the delegate for this expressionprotected boolean shouldAllowNull(EOAttribute attribute)
public void addCreateClauseForAttribute(EOAttribute attribute)
addCreateClauseForAttribute
in class EOSQLExpression
public NSMutableDictionary bindVariableDictionaryForAttribute(EOAttribute eoattribute, Object obj)
bindVariableDictionaryForAttribute
in class JDBCExpression
obj
- eoattribute
- public String formatValueForAttribute(Object obj, EOAttribute eoattribute)
formatValueForAttribute
in class OraclePlugIn.OracleExpression
obj
- eoattribute
- public boolean useBindVariables()
useBindVariables
in class JDBCExpression
public boolean shouldUseBindVariableForAttribute(EOAttribute attribute)
shouldUseBindVariableForAttribute
in class OraclePlugIn.OracleExpression
public boolean mustUseBindVariableForAttribute(EOAttribute attribute)
mustUseBindVariableForAttribute
in class OraclePlugIn.OracleExpression
public void prepareConstraintStatementForRelationship(EORelationship relationship, NSArray sourceColumns, NSArray destinationColumns)
prepareConstraintStatementForRelationship
in class OraclePlugIn.OracleExpression
public String assembleSelectStatementWithAttributes(NSArray attributes, boolean lock, EOQualifier qualifier, NSArray fetchOrder, String selectString, String columnList, String tableList, String whereClause, String joinClause, String orderByClause, String lockClause)
assembleSelectStatementWithAttributes
in class EOSQLExpression
attributes
- the attributes to selectlock
- flag for locking rows in the databasequalifier
- the qualifier to restrict the selectionfetchOrder
- specifies the fetch ordercolumnList
- the SQL columns to be fetchedtableList
- the the SQL tables to be fetchedwhereClause
- the SQL where clausejoinClause
- the SQL join clauseorderByClause
- the SQL sort order clauselockClause
- the SQL lock clausepublic void addOrderByAttributeOrdering(EOSortOrdering sortOrdering)
addOrderByAttributeOrdering
in class EOSQLExpression
EOSQLExpression.addOrderByAttributeOrdering(com.webobjects.eocontrol.EOSortOrdering)
Copyright © 2002 – 2024 Project Wonder.