开发者

envers audit table name

I have kind of naive question related to envers. Can we name a audit table to something other then 开发者_JAVA技巧the default one, i.e., 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.


use configuration http://docs.jboss.org/envers/docs/index.html#configuration and you've got custom prefix or suffix for audited tables

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜