Codegen with no Prefix Overwrites Bean Files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Medium
|
Timo Westkämper |
Bug Description
If codegen is run with empty string as a prefix then the bean and the "Q" class will have the same file name. Please consider separate table-model-prefix, table-model-suffix, bean-prefix, bean-suffix and independent bean-package settings to help the generated code fit a wide range of naming and package styles.
Alternately, it might be easier for just two settings that are templates for table model and bean, "org.my.
MetaDataExporte
private void handleTable(
String tableName = tables.
String className = namingStrategy.
if (beanSerializer != null){
}
EntityType classModel = createEntityTyp
...
}
Changed in querydsl: | |
importance: | Undecided → Medium |
assignee: | nobody → Timo Westkämper (timo-westkamper) |
Changed in querydsl: | |
status: | New → In Progress |
Thanks for the bug report.
These are good additions, but I will take them on the roadmap after the 2.1.0 release.