简体   繁体   中英

envers audit table name

I have kind of naive question related to envers. Can we name a audit table to something other then the default one, ie, TableName_AUD and ya not just Prefix or suffix, full name.

Yes, if you annotate a given entity with @AuditTable you can specify the table that should be used. I don't think you can specify a global naming strategy to use.

使用配置http://docs.jboss.org/envers/docs/index.html#configuration ,您将获得已审计表的自定义前缀或后缀

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM