سؤال

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.

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top