@CreatedDate field with updates in spring data mongodb with spring data rest -
i trying spring-data-rest
spring-data-mongo
, lot of things working beautifully out of box, including support etag
field. @enablemongoauditing
annotations works to, when document created, @createddate
, @lastmodifieddate
fields set.
the problem @createddate
field being set null during updates. found unresolved issue mongo auditing:@createddate field gets set null on updates spring data rest with suggested workaround of using @jsonignore
annotation not work me.
there similar question here couple of years ago no solution.
i using versions 1.10.1release of spring-data-mongo , 2.6.1release of spring-data-rest
is there solution issue?
Comments
Post a Comment