-
Notifications
You must be signed in to change notification settings - Fork 377
Closed
Description
Oliver Drotbohm opened DATAJDBC-232 and commented
It looks like we need significant changes to support immutable entities as the APIs starting in SimpleJdbcRepository.save(…) do not actually return the instance that has been manipulated in downstream operations, i.e. they assume the instance handed down can be mutated.
From a brief inspection it looks like we need AggregateChange to keep a PersistentPropertyAccessor around instead of the actual instance. That would allow all downstream code to manipulate the bean via PersistentPropertyAccessor and the orchestrating code on top to be able to call ….getBean() once all operations have been finished
Issue Links:
- DATAJDBC-233 API changes for future proper support for immutable entities
Referenced from: commits 95d3163
Metadata
Metadata
Assignees
Labels
type: taskA general taskA general task