Re: No access to getObjectStore().getFlattenedInserts() / getFlattenedDeletes()

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Jan 04 2006 - 12:02:01 EST

  • Next message: jira-norepl..bjectstyle.org: "[OS-JIRA] Created: (CAY-415) CayenneModeler ClassCastException on save"

    On Jan 4, 2006, at 11:52 AM, Mike Kienenberger wrote:
    > Would it make more sense to support commitChanges(Transaction) rather
    > than binding to the thread?

    Considering all places where transactions are used, IMO thread-bound
    solution is more flexible. It is a recent change that was required to
    address the growing complexity of the stack (in particular I
    deprecated QueryEngine.performQueries
    (Collection,OperationObserver,Transaction)). Transaction is an
    "external concern" to the rest of the query processing logic and was
    removed to simplify the rest of the code.

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Jan 04 2006 - 12:02:03 EST