[JAVA-2209] Primitive codecs Created: 07/Jun/16  Updated: 03/Apr/17  Resolved: 13/Jan/17

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

Type: New Feature Priority: Major - P3
Reporter: Justin Lee Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: POJO

 Description   

We need these Codecs to support general POJOs



 Comments   
Comment by Ross Lawley [ 03/Apr/17 ]

See JAVA-1812 for the commit containing the commit covering this ticket.

Comment by Ross Lawley [ 02/Feb/17 ]

Apart of https://mongodbcr.appspot.com/114600001/

I took an alternative approach so that the FieldModelBuilder boxes primitive types when mapping classes.

Comment by Jeffrey Yemin [ 07/Jun/16 ]

What would a codec for a primitive look like? You can't create a Codec<int>. Could we use Codec<Integer> and box/unbox the primitive?

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