@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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -