Hi all,
I’m importing a large dataset from csv to a database and use hibernate envers. Flushing after every so-many lines keeps the hibernate memory consumption low, but envers insists on only writing the audit entries before the transaction completes. I see the rationale that entities could be updated multiple times in a transaction, but for a simple data import, this is getting in my way.
Is there any way to modify the default behaviour and make the flush calls also write the audit entities?
Thanks,
Kurt