[ 
https://issues.apache.org/jira/browse/OPENJPA-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13841466#comment-13841466
 ] 

Harald Wellmann commented on OPENJPA-2464:
------------------------------------------

Two updates is what I get from OpenJPA 2.2.2, one for the changed embeddable, 
and one for the enclosing entity. For multiple nested embeddables, I would get 
one update for each entity/embeddable on the path from the root to the leaf 
embeddable.

This is not exactly what I would expect, but at least it's consistent. The 
2.3.0 output doesn't make any sense at all (to me).

> Auditor reports spurious updates for Embeddables
> ------------------------------------------------
>
>                 Key: OPENJPA-2464
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2464
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.3.0
>            Reporter: Harald Wellmann
>         Attachments: openjpa-audit.tar.gz
>
>
> After upgrading from OpenJPA 2.2.2 to 2.3.0, I'm getting spurious update 
> events from the Auditor for fields that haven't changed at all.
> This affects entities with multiple copies of an embeddable using different 
> association overrides.
> See the attached test project which passes with 2.2.2 but fails with 2.3.0.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to