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
Track changes in collection. Tracking VO changes while looking at master Entity #98
Comments
Not sure what do you mean. In this example you have ValueChange (salary) but on Trainee not Bob. Why you expect to see it on Bob's change history? |
Beacuse I want to get Bob's changelog, something like this: commit 2.0, author: hr.manager, 2015-02-11 09:49:45 Is it possible? |
well, I could think about some solution for that issue if Subordinate was a ValueObject (part of Boss aggregate). ValueObjects are owned by Entities and tracking changes in whole Aggregate (root Entity + ValueObject) makes sense. |
shortly, we don't plan to implement a feature to view a change history of one Entity from another Entity. |
I've switched dependant object to ValueObject, still no VO changes in changelog.. Am I doing something wrong? VO:
} Employee: Test:
Changelog: |
Hi, you are doing all right. Maybe I didn't express this issue clearly. With this feature, you would be able to track changes done on dependant VO while looking at master Entity. |
Great, I am waiting for this feature |
Hi . let me understand : if i have an Object like EntityConn and the following Object is @entity with @id (javax.persistence) : public class EntityConn implements Serializable {
private Collection<EntityConn> children;
private RuleMD endRuleMD;
private Map<String, List<EntityConnAttValue>> attValues;
............
} So - i need to do complex traversing on the Object Tree and for each @entity i need to call : 10x |
Hi @eladh, So for example if you have two entities A and B, connected by the reference: When B changes its state to B' What you can see from the A point of view is the reference change (when changed from A->B to A->C). What we are working now is to tracking ValueObject changes while looking at master Entity. |
@efreet007, we will start working on this feature after delivering SQLRepository #67, which is almost done and available as Snapshot (requires some testing) |
thanks :-) |
JQL is released in javers 1.2.0 |
if you are using SQL DB, there is a schema migration script |
Is it possible to track changes in collection element properties?
For example:
The text was updated successfully, but these errors were encountered: