[英]hibernate envers alter REVINFO table name
I'm using hibernate envers 4 and I would like to change the REVINFO table name. 我正在使用hibernate envers 4,我想更改REVINFO表名。 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. 创建自定义修订实体(使用@RevisionEntity
注释它),然后您可以通常的方式指定表的名称。
See also Envers docs . 另请参阅Envers文档 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.