CouchbasePersistentEntity#isTouchOnRead never used? [DATACOUCH-629] #940
Labels
in: repository
Repositories abstraction
status: duplicate
A duplicate of another issue
type: bug
A general bug
David Prevost opened DATACOUCH-629 and commented
I was checking to use the expiry feature and I noticed that we can configure the touchAndRead on Document#touchOnRead.
However, even though it is read by CouchbasePersistentEntity#isTouchOnRead, no one is actually checking if the entity expiry date need to be touchAndRead.
By analysing MappingCouchbaseConverter#writeInternal(), we can see that the expiry is always updated instead of doing it by checking if the touchAndRead is activated... unless this is a feature of JPA then is it probably a bug.
Fortunately for me, I need the expiry to be updated so not a major bug for me...
No further details from DATACOUCH-629
The text was updated successfully, but these errors were encountered: