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

Add utility to replace entity with reference/identity #3

Closed
ethlo opened this issue Apr 7, 2017 · 1 comment
Closed

Add utility to replace entity with reference/identity #3

ethlo opened this issue Apr 7, 2017 · 1 comment

Comments

@ethlo
Copy link
Owner

ethlo commented Apr 7, 2017

Currently the changeset holds the full entity objects in the changelog. However, sometimes it is very useful to avoid the fully referenced entities for connected entities, but rather use the primary key identity.

@ethlo
Copy link
Owner Author

ethlo commented Apr 8, 2017

Solved by creating utility method IdentityUtil.toIndentityReferences(Collection<EntityDataChange> list)

@ethlo ethlo closed this as completed Apr 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant