> 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.