openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harald Wellmann <hwellmann...@gmail.com>
Subject Re: Auditor issue after upgrading to OpenJPA 2.3.0
Date Thu, 05 Dec 2013 14:16:24 GMT
Please see https://issues.apache.org/jira/browse/OPENJPA-2464. There's a
test case attached.

Best regards,
Harald


2013/11/27 Mark Struberg <struberg@yahoo.de>

> 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