openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C N Davies" <>
Subject RE: JPA for portable database management (and wishes for JPA 3.0)
Date Tue, 08 Jun 2010 12:37:38 GMT
I like @Auditable because it's easy to switch on auditing of specific
entities or entity hierarchies. But the property would allow for
auditability globally to be turned on or off.  Personally I would favour
also adding a property like :

<property name='openjpa.AuditManagerImpl"

Different countries and industries have different audit requirements so we
can implement/extend to our specific requirements.

2c more :) 


-----Original Message-----
From: Pinaki Poddar [] 
Sent: Tuesday, 8 June 2010 10:20 PM
Subject: Re: JPA for portable database management (and wishes for JPA 3.0)

> some technical annotation like @NativeTrigger or should we have higher
> level annotation like @Audit ? 
I prefer @Audit to @NativeTrigger.

In fact I see two specifications
  a) one on the persistent domain entity as an annotation
       public class Customer {....}

  b) one on the run-time as a plug-in property
       <property name="openjpa.AuditManager" value="trigger(query=false,
       <property name='openjpa.AuditManager" value="none"/>

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message