Spring Projects Issues
Spring Projects Issues
**[Ben Madore](https://jira.spring.io/secure/ViewProfile.jspa?name=madorb2)** commented Mark, I agree with your technical assessment of "Do Nothing" for the time being - though I think it _would_ be quite helpful to mention this somewhere...
**[Rui Miguel Pereira Figueira](https://jira.spring.io/secure/ViewProfile.jspa?name=rui.figueira)** commented As a workaround: ```kotlin @Repository interface InternalKotlinUserRepository : Repository { fun findById(username: String): User } @NoRepositoryBean @Component class KotlinUserRepository(repo: InternalKotlinUserRepository) : Repository by repo {...
**[Rui Miguel Pereira Figueira](https://jira.spring.io/secure/ViewProfile.jspa?name=rui.figueira)** commented Kotlin now [supports default methods on interfaces](https://blog.jetbrains.com/kotlin/2018/04/kotlin-1-2-40-is-out/) using a `@JvmDefault`, but it is still an experimental feature. So, it is another workaround
**[Martin Baumgartner](https://jira.spring.io/secure/ViewProfile.jspa?name=baumgartner)** commented The problem: MongoTemplate's `doFindAndUpdate(..)` and `doUpdate(..)` don't have listeners yet.
**[Arulraj V](https://jira.spring.io/secure/ViewProfile.jspa?name=arulrajnet)** commented Any update on this...?
**[shollander](https://jira.spring.io/secure/ViewProfile.jspa?name=shollander)** commented This ticket is over five years old and still hasn't been fixed! Please fix, thanks!
**[Mark Paluch](https://jira.spring.io/secure/ViewProfile.jspa?name=mp911de)** commented Auditing is applied only when working with entities directly via `IsNewAwareAuditingHandler` and not for query-based/bulk updates. Query-based updates require an association to an entity type, updates using...
**[Joerg](https://jira.spring.io/secure/ViewProfile.jspa?name=matysiak)** commented See also this discussion on stackoverflow https://stackoverflow.com/questions/53395198/spring-common-data-2-1-2-mongodb-cant-deserialise-optional-value
**[Mark Paluch](https://jira.spring.io/secure/ViewProfile.jspa?name=mp911de)** commented That's expected behavior in the first place. `Optional` has no public constructor that takes an argument and we do not write to immutable properties unless classes provide...
**[Joerg](https://jira.spring.io/secure/ViewProfile.jspa?name=matysiak)** commented From a technical point of view I agree, the interface of `Optional` does not provide such a constructor and makes it therefore difficult for frameworks like spriong-data. On...