openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: Auditor issue after upgrading to OpenJPA 2.3.0
Date Wed, 27 Nov 2013 15:40:15 GMT
This is not known, but we moved the invocation of the auditing mechanism around a bit.
There must be a JIRA which is tagged as 2.3.1.

Please create a new JIRA for it and we will take a look.

LieGrue,
strub



>________________________________
> From: Harald Wellmann <hwellmann.de@gmail.com>
>To: users@openjpa.apache.org 
>Sent: Wednesday, 27 November 2013, 15:52
>Subject: Auditor issue after upgrading to OpenJPA 2.3.0
> 
>
>After upgrading from OpenJPA 2.2.2 to 2.3.0, one of my regression tests
>fails since Auditor.audit() delivers too many objects. In particular, after
>changing a given field from x to y, some of the updated objects occur
>twice, with the surplus occurrence reporting the field as changed from y to
>y.
>
>Is this a known issue?
>
>The changes affect an embeddable type which occurs twice in a given entity:
>
>@Entity
>@Auditable
>public class Container {
>
>   @AttributeOverrides(...)
>   private Item leftItem;
>
>   @AttributeOverrides(...)
>   private Item rightItem;
>}
>
>@Embeddable
>@Auditable(values = { AuditableOperation.UPDATE })
>public class Item {
>}
>
>Best regards,
>Harald
>
>
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message