openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Talbut <jtal...@spudsoft.co.uk>
Subject Re: audit?
Date Wed, 12 Sep 2012 12:09:56 GMT
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



Mime
View raw message