@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

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -