History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: COR-676
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Critical Critical
Assignee: Andrew Zhang
Reporter: Andrew Zhang
Votes: 0
Watchers: 0
Operations

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

Failed to get an object by ExtObjectContainer#getByUUID()

Created: 11/Jun/07 04:44 AM   Updated: 17/Jun/07 01:47 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Original Estimate: Not Specified
Remaining Estimate: 0h
Time Spent - 9h
Time Spent: 9h
Time Spent - 9h

Resolution Date: 13/Jun/07 02:14 PM
Labels:
Participants: Andrew Zhang
Number of Attachments: 0
Number of Comments: 2


 Description  « Hide
It's reported in db4o user forum: http://developer.db4o.com/forums/thread/37292.aspx

It's reproducible against db4o 6.3.001.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Andrew Zhang - 13/Jun/07 02:14 PM
please see the doc of getByUUID:
This method is intended for replication and for long-term external references to objects. To get a Db4oUUID for an object use getObjectInfo(Object) and ObjectInfo.getUUID().

Objects will *NOT* be activated by this method. They will be returned in the activation state they are currently in, in the local cache.

So it needs explicit activation by the user code, db.activate(obj, depth);

btw, Transparent Activation is on the way (http://tracker.db4o.com/browse/COR-111)

Andrew Zhang - 17/Jun/07 01:47 PM
Verified by the user.