Issue Details (XML | Word | Printable)

Key: CAY-709
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andrus Adamchik
Reporter: Andrus Adamchik
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Cayenne

Leak-free ObjectContext

Created: 20/Nov/06 07:27 PM   Updated: 22/Nov/06 03:45 AM
Component/s: Cayenne Core Library
Affects Version/s: 3.0
Fix Version/s: 3.0

Time Tracking:
Not Specified

Resolution Date: 22/Nov/06 03:45 AM


 Description  « Hide
http://objectstyle.org/cayenne/lists/cayenne-devel/current/0036.html

Per discussion thread above we need to implement a self-cleaning DataContext/CayenneContext with weakly referenced objects.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Andrus Adamchik added a comment - 22/Nov/06 03:26 AM
This feature allows to deprecate ObjectStore.startTrackingNewObjects() and ObjectStore.unregisterNewObjects() and also optimize some ObjectDiff operations, resulting in fewer map lookups.

Andrus Adamchik added a comment - 22/Nov/06 03:44 AM
not sure if this would be a smart default strategy for the client in an ROP situation, as there is no underlying snapshot cache and swapping out previously resolved objects will result in extra db trips