public class EROracleExpression
extends com.webobjects.jdbcadaptor.OraclePlugIn.OracleExpression
| Modifier and Type | Class and Description |
|---|---|
static interface |
EROracleExpression.Delegate |
_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(com.webobjects.eoaccess.EOEntity eoentity) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCreateClauseForAttribute(EOAttribute attribute) |
void |
addOrderByAttributeOrdering(com.webobjects.eocontrol.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,
com.webobjects.eocontrol.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(com.webobjects.eoaccess.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, sqlStringForKeyValueQualifieraddSelectListAttribute, 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, whereClauseStringpublic EROracleExpression(com.webobjects.eoaccess.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 com.webobjects.eoaccess.EOSQLExpressionpublic NSMutableDictionary bindVariableDictionaryForAttribute(EOAttribute eoattribute, Object obj)
bindVariableDictionaryForAttribute in class com.webobjects.jdbcadaptor.JDBCExpressionobj - eoattribute - public String formatValueForAttribute(Object obj, EOAttribute eoattribute)
formatValueForAttribute in class com.webobjects.jdbcadaptor.OraclePlugIn.OracleExpressionobj - eoattribute - public boolean useBindVariables()
useBindVariables in class com.webobjects.jdbcadaptor.JDBCExpressionpublic boolean shouldUseBindVariableForAttribute(EOAttribute attribute)
shouldUseBindVariableForAttribute in class com.webobjects.jdbcadaptor.OraclePlugIn.OracleExpressionpublic boolean mustUseBindVariableForAttribute(EOAttribute attribute)
mustUseBindVariableForAttribute in class com.webobjects.jdbcadaptor.OraclePlugIn.OracleExpressionpublic void prepareConstraintStatementForRelationship(com.webobjects.eoaccess.EORelationship relationship,
NSArray sourceColumns,
NSArray destinationColumns)
prepareConstraintStatementForRelationship in class com.webobjects.jdbcadaptor.OraclePlugIn.OracleExpressionpublic String assembleSelectStatementWithAttributes(NSArray attributes, boolean lock, com.webobjects.eocontrol.EOQualifier qualifier, NSArray fetchOrder, String selectString, String columnList, String tableList, String whereClause, String joinClause, String orderByClause, String lockClause)
assembleSelectStatementWithAttributes in class com.webobjects.eoaccess.EOSQLExpressionattributes - 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(com.webobjects.eocontrol.EOSortOrdering sortOrdering)
addOrderByAttributeOrdering in class com.webobjects.eoaccess.EOSQLExpressionEOSQLExpression.addOrderByAttributeOrdering(com.webobjects.eocontrol.EOSortOrdering)Copyright © 2002 – 2020 Project Wonder.