|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> [ access overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.objectstyle.cayenne.access
Interface OperationHints

- All Known Subinterfaces:
- OperationObserver
- All Known Implementing Classes:
- DefaultOperationObserver, org.objectstyle.cayenne.access.util.DefaultOperationObserver
- public interface OperationHints
Defines an API that allows QueryEngine to obtain information about query execution. Defines query running strategies, logging, etc.
| Method Summary | |
org.apache.log4j.Level |
getLoggingLevel()
Returns a log level level that should be used when logging query execution. |
boolean |
isIteratedResult()
Returns true to indicate that any results of a select operation
should be returned as a ResultIterator. |
boolean |
useAutoCommit()
DataNode executing a list of statements will consult OperationHints about transactional behavior by calling this method. |
| Method Detail |
getLoggingLevel
public org.apache.log4j.Level getLoggingLevel()
- Returns a log level level that should be used when
logging query execution.
useAutoCommit
public boolean useAutoCommit()
DataNode executing a list of statements will consult OperationHints about transactional behavior by calling this method.
- If this method returns true, each statement in a batch will be run as a separate transaction.
- If this method returns false, the whole batch will be wrapped in a transaction.
isIteratedResult
public boolean isIteratedResult()
- Returns
trueto indicate that any results of a select operation should be returned as a ResultIterator.falseis returned when the results are expected as a list.
|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> [ access overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC