Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我遇到了这种情况:
表:t_user,t_manager,...
域对象名称:用户实体,经理实体,...
我知道如何使用 domainObjectRenamingRule 替换前缀,
但我怎样才能附加后缀?
您可以为此使用正则表达式捕获组。例如:
<domainObjectRenamingRule searchString="^(?i)t(.*)" replaceString="$1Entity" />