Is there a have MongoJack work with BSON Date

113 views Asked by At

By default it looks like mongojack stores DateTime as a long in Mongo. Is there a simple way to have it store the dates as BSON Date instead?

For example the following ends up as a long in Mongo and I'd want to have a BSON Date

@JsonProperty("date") date: DateTime
0

There are 0 answers