Frage

I'm using hibernate envers 4 and I would like to change the REVINFO table name. Is that feasible? If yes, how?

Thanks for your help.

War es hilfreich?

Lösung

Create a custom revision entity (annotate it with @RevisionEntity) and then you can specify the name of the table in the usual way.

See also Envers docs.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top