Skip to content

Conversion of BSONTimstamp should not happen [DATAMONGO-1059] #1980

Closed
@spring-projects-issues

Description

@spring-projects-issues

John Butler opened DATAMONGO-1059 and commented

I have code that takes advantage of MongoDB's capability to assign the value of a BSONTimestamp server-side. This is done by inserting a DBObject whose first field is a "new BSONTimestamp()". However, Spring Data is not recognizing that BSONTimestamp is a MongoDB-specific class and is converting it to a BasicDBObject. This is file for the cases where this value is populated client-side but breaks when it is populated server-side.

Please see the "Timestamps" section of http://docs.mongodb.org/manual/reference/bson-types/


No further details from DATAMONGO-1059

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions