我正在使用querydsl-maven-plugin
为 Maven 中的一堆 MySQL 表生成实体和 bean。
有没有办法告诉插件生成,比如说,OriginalNamingStrategy
而不是DefaultNamingStrategy
?
当前的评论似乎表明只有以下选项。我似乎无法在源代码中找到任何设置 aNamingStrategy
但如果可能的话将不胜感激。
<!--
optional elements :
* jdbcUser = connection user
* jdbcPassword = connection password
* namePrefix = name prefix for generated query classes (default: Q)
* schemaPattern = ant style pattern to restrict code generation to certain schemas (default: null)
* tableNamePattern = ant style pattern to restrict code generation to certain tables (default: null)
* exportBeans = set to true to generate beans as well, see section 2.14.13 (default: false)
* innerClassesForKeys = set to true to generate inner classes for keys (default: false)
* validationAnnotations = set to false to disable serialization of validation annotations (default: true)
-->