|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.eoaccess.EOSQLExpression
com.webobjects.jdbcadaptor.JDBCExpression
com.webobjects.jdbcadaptor.OraclePlugIn.OracleExpression
com.webobjects.jdbcadaptor.EROracleExpression
public class EROracleExpression
overrides OracleExpression in order to add TIMESTAMP values including milliseconds. The normal EOF Oracle PlugIn does not add milliseconds to the TIMESTAMP value
Nested Class Summary | |
---|---|
static interface |
EROracleExpression.Delegate
|
Nested classes/interfaces inherited from class com.webobjects.eoaccess.EOSQLExpression |
---|
com.webobjects.eoaccess.EOSQLExpression.SQLValue |
Field Summary |
---|
Fields inherited from class com.webobjects.jdbcadaptor.JDBCExpression |
---|
_externalQuoteChar, _inSelect, _jdbcInfo, _rtrimFunctionName |
Fields inherited from class com.webobjects.eoaccess.EOSQLExpression |
---|
_aliasesByRelationshipPath, _bindings, _contextStack, _defaultDateFormatter, _entity, _joinClauseString, _listString, _NibbleToHex, _orderByString, _statement, _upperFunctionName, _useAliases, _valueListString, _whereClauseString, BindVariableAttributeKey, BindVariableColumnKey, BindVariableNameKey, BindVariablePlaceHolderKey, BindVariableValueKey |
Constructor Summary | |
---|---|
EROracleExpression(com.webobjects.eoaccess.EOEntity eoentity)
|
Method Summary | |
---|---|
void |
addCreateClauseForAttribute(com.webobjects.eoaccess.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. |
java.lang.String |
assembleSelectStatementWithAttributes(com.webobjects.foundation.NSArray attributes,
boolean lock,
com.webobjects.eocontrol.EOQualifier qualifier,
com.webobjects.foundation.NSArray fetchOrder,
java.lang.String selectString,
java.lang.String columnList,
java.lang.String tableList,
java.lang.String whereClause,
java.lang.String joinClause,
java.lang.String orderByClause,
java.lang.String lockClause)
Overriden to handle correct placements of join conditions and to handle DISTINCT fetches with compareCaseInsensitiveA(De)scending sort orders. |
com.webobjects.foundation.NSMutableDictionary |
bindVariableDictionaryForAttribute(com.webobjects.eoaccess.EOAttribute eoattribute,
java.lang.Object obj)
Overridden in order to add milliseconds to the value. |
java.lang.String |
formatValueForAttribute(java.lang.Object obj,
com.webobjects.eoaccess.EOAttribute eoattribute)
Overridden in order to add milliseconds to the value. |
boolean |
mustUseBindVariableForAttribute(com.webobjects.eoaccess.EOAttribute attribute)
|
void |
prepareConstraintStatementForRelationship(com.webobjects.eoaccess.EORelationship relationship,
com.webobjects.foundation.NSArray sourceColumns,
com.webobjects.foundation.NSArray destinationColumns)
|
static void |
setDelegate(EROracleExpression.Delegate delegate)
Sets the delegate for this expression. |
protected boolean |
shouldAllowNull(com.webobjects.eoaccess.EOAttribute attribute)
|
boolean |
shouldUseBindVariableForAttribute(com.webobjects.eoaccess.EOAttribute attribute)
|
boolean |
useBindVariables()
|
Methods inherited from class com.webobjects.jdbcadaptor.OraclePlugIn.OracleExpression |
---|
assembleJoinClause, assembleUpdateStatementWithRow, sqlStringForKeyValueQualifier |
Methods inherited from class com.webobjects.jdbcadaptor.JDBCExpression |
---|
addSelectListAttribute, allowsNullClauseForConstraint, appendItemToListString, appendItemToOrderByString, appendItemToValueListString, columnTypeStringForAttribute, externalNameQuoteCharacter, jdbcInfo, lockClause, prepareSelectExpressionWithAttributes, setJDBCInfo |
Methods inherited from class com.webobjects.eoaccess.EOSQLExpression |
---|
_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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EROracleExpression(com.webobjects.eoaccess.EOEntity eoentity)
Method Detail |
---|
public static void setDelegate(EROracleExpression.Delegate delegate)
delegate
- the delegate for this expressionprotected boolean shouldAllowNull(com.webobjects.eoaccess.EOAttribute attribute)
public void addCreateClauseForAttribute(com.webobjects.eoaccess.EOAttribute attribute)
addCreateClauseForAttribute
in class com.webobjects.eoaccess.EOSQLExpression
public com.webobjects.foundation.NSMutableDictionary bindVariableDictionaryForAttribute(com.webobjects.eoaccess.EOAttribute eoattribute, java.lang.Object obj)
bindVariableDictionaryForAttribute
in class com.webobjects.jdbcadaptor.JDBCExpression
obj
- eoattribute
-
public java.lang.String formatValueForAttribute(java.lang.Object obj, com.webobjects.eoaccess.EOAttribute eoattribute)
formatValueForAttribute
in class com.webobjects.jdbcadaptor.OraclePlugIn.OracleExpression
obj
- eoattribute
-
public boolean useBindVariables()
useBindVariables
in class com.webobjects.jdbcadaptor.JDBCExpression
public boolean shouldUseBindVariableForAttribute(com.webobjects.eoaccess.EOAttribute attribute)
shouldUseBindVariableForAttribute
in class com.webobjects.jdbcadaptor.OraclePlugIn.OracleExpression
public boolean mustUseBindVariableForAttribute(com.webobjects.eoaccess.EOAttribute attribute)
mustUseBindVariableForAttribute
in class com.webobjects.jdbcadaptor.OraclePlugIn.OracleExpression
public void prepareConstraintStatementForRelationship(com.webobjects.eoaccess.EORelationship relationship, com.webobjects.foundation.NSArray sourceColumns, com.webobjects.foundation.NSArray destinationColumns)
prepareConstraintStatementForRelationship
in class com.webobjects.jdbcadaptor.OraclePlugIn.OracleExpression
public java.lang.String assembleSelectStatementWithAttributes(com.webobjects.foundation.NSArray attributes, boolean lock, com.webobjects.eocontrol.EOQualifier qualifier, com.webobjects.foundation.NSArray fetchOrder, java.lang.String selectString, java.lang.String columnList, java.lang.String tableList, java.lang.String whereClause, java.lang.String joinClause, java.lang.String orderByClause, java.lang.String lockClause)
assembleSelectStatementWithAttributes
in class com.webobjects.eoaccess.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 clause
public void addOrderByAttributeOrdering(com.webobjects.eocontrol.EOSortOrdering sortOrdering)
addOrderByAttributeOrdering
in class com.webobjects.eoaccess.EOSQLExpression
EOSQLExpression.addOrderByAttributeOrdering(com.webobjects.eocontrol.EOSortOrdering)
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |