Ignore:
Timestamp:
Aug 19, 2009, 9:02:11 AM (13 years ago)
Author:
Nicklas Nordborg
Message:

References #108: Logging the change history of an item

  • Documented the change made in [5058]
  • Changed calls to DbControl?.reattachItem() from all core code and jsp scripts
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/src/docbook/appendix/incompatible.xml

    r5027 r5060  
    9999      org.hibernate.SessionException: proxies cannot be fetched by a stateless session
    100100      </code>
     101    </para>
     102
     103    <bridgehead>
     104      Re-attaching a detached item no longer assumes that it has been modified
     105    </bridgehead>
     106   
     107    <para>
     108      The <code>DbControl.reattachItem(BasicItem)</code> method has been deprected
     109      and replaced with <code>DbControl.reattachItem(BasicItem, boolean)</code>.
     110      The boolean parameter is used to tell BASE if the item has been modified
     111      or not while it was detached from the session. The previous behaviour of
     112      <code>DbControl.reattachItem(BasicItem)</code> was equivalent to
     113      <code>DbControl.reattachItem(BasicItem, true)</code>, but this is now
     114      changed to <code>DbControl.reattachItem(BasicItem, false)</code> since
     115      in most cases there are really no changes to the item. The problem with
     116      the old behaviour was seen in the new (in BASE 2.13) change history
     117      functionality which would create UPDATE events even when there was no
     118      change.
    101119    </para>
    102120
Note: See TracChangeset for help on using the changeset viewer.