Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManagedFieldAccessorSet.update() creates new ManagedFieldAccessorSet every time [DATAGRAPH-14] #580

Closed
spring-projects-issues opened this issue Dec 9, 2010 · 1 comment
Labels
type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link

David Montag opened DATAGRAPH-14 and commented

ManagedFieldAccessorSet.update() calls fieldAccessor.setValue(entity, value) with the updated set, and it is performed when the ManagedFieldAccessorSet is updated. The only FieldAccessor that is ever used here is the OneToNRelationshipFieldAccessor. Possibly ManagedFieldAccessorSet could be made specific to that FieldAccessor and utilize a method for only setting?


Affects: 1.0 M1

@spring-projects-issues
Copy link
Author

Michael Hunger commented

It is used by several field accessors and is only a lightweight object, mutating operations must be reflected in the graph which is done by delta detection between the delegate-set and the existing relationships.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant