You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.
Hi:
We have a web app were use the sugested JpaPersistenceCallback, and have a model where exist a parent entity with many items (OneToMany JPA hibernate context). At client side we want work only with the parent reference (single shadow) change properties and adding and remove items:
Tha patch array operations dont work and we suppose that don't make a right JSON conversion since try to evaluate the value (LateObjectEvaluator ) with the entityValueType of the parent.
return value instanceof LateObjectEvaluator ? ((LateObjectEvaluator) value).evaluate(entityValueType) : value;
Maybe our approach is not the best solution to sync into a JPA context with OneToMany relations even if exists Lazy Fetch (where collections are PersistedBags) and could be better use shadow parent and items separated.
I hope your comments and sugestions, Great Job.
The text was updated successfully, but these errors were encountered:
Hi:
We have a web app were use the sugested JpaPersistenceCallback, and have a model where exist a parent entity with many items (OneToMany JPA hibernate context). At client side we want work only with the parent reference (single shadow) change properties and adding and remove items:
Tha patch array operations dont work and we suppose that don't make a right JSON conversion since try to evaluate the value (LateObjectEvaluator ) with the entityValueType of the parent.
Maybe our approach is not the best solution to sync into a JPA context with OneToMany relations even if exists Lazy Fetch (where collections are PersistedBags) and could be better use shadow parent and items separated.
I hope your comments and sugestions, Great Job.
The text was updated successfully, but these errors were encountered: