openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: JPA for portable database management (and wishes for JPA 3.0)
Date Tue, 08 Jun 2010 12:20:20 GMT


> 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
       @Entity
       @Auditable
       public class Customer {....}

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




-----
Pinaki 
-- 
View this message in context: http://openjpa.208410.n2.nabble.com/JPA-for-portable-database-management-tp5134215p5153394.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message