On 12/09/2012 02:37, Pinaki Poddar wrote:
OpenJPA audit allows the user to choose how the audit records are treated. It
does not make any decision to store the audited record to be stored in the
same database. But that is entirely possible because the audit record
carries the states of the persistent object when it entered the persistent
context and when it is ready to be committed. However, OpenJPA audit allow
the audit record be stored in an entoirely different database or schema as
well.
I'm not sure what message Pinaki is replying to, but I would urge caution when using the OpenJPA audit at the moment:

https://issues.apache.org/jira/browse/OPENJPA-2253

This causes a memory leak of every auditable object, which will eventually kill 
any process.
We've had to remove all @Auditable annotations for the time being.

Jim


Reply via email to