[JAVA-1508] Handle DBRef encoding and decoding in Document Codec Created: 17/Oct/14  Updated: 31/Mar/15  Resolved: 10/Nov/14

Status: Closed
Project: Java Driver
Component/s: Codecs
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Like DBObjectCodec, DocumentCodec should be able to encode from and decode to a DBRef.



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Added general ability to encode DBRef and for DocumentCodec to decode DBRef.

JAVA-1508
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/5844588167acfccc521dd5094a06d87f7e5b5660

Comment by Githook User [ 10/Nov/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Added general ability to encode DBRef and for DocumentCodec to decode DBRef.

JAVA-1508
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/5844588167acfccc521dd5094a06d87f7e5b5660

Comment by Jeffrey Yemin [ 17/Oct/14 ]

The tricky part here is that DocumentCodec is in the bson module while DBRef is in the driver module, so will need to add some indirection.

Generated at Thu Feb 08 08:54:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.