How do I avoid content fields in Joda objects?

后端 未结 2 1660
闹比i
闹比i 2021-01-20 08:16

I\'m using Joda objects (DateTime and DateTimeZone) in a document and whenever I access it via the REST interface I get entries with fields like this

lastAggre

相关标签:
2条回答
  • 2021-01-20 08:47

    This is fixed in Spring Data Hopper-SR4: https://jira.spring.io/browse/DATAMONGO-1498

    0 讨论(0)
  • 2021-01-20 08:47

    The issue results from Spring Boot not setting up MongoMappingContext correctly. A ticket has been created for Spring Boot and the fix is anticipated for the 1.4.1 release (credit for this answer goes to Oyku Gencay and Oliver Gierke). For more detail, see the ticket or the pull request.

    0 讨论(0)
提交回复
热议问题