Scala source generation issue with column named type
Bug #809817 reported by
Satyagraha 1956
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have a MySQL table with a column named type. When the source code is generated, we get syntax errors due to type being a reserved word in Scala, see attachment.
I'm using 2.2.0.beta5.
Changed in querydsl: | |
status: | New → In Progress |
To post a comment you must log in.
Possibly generating all column names using backtick syntax would be pretty simple. When using the generated classes only those causing issues would need to be backticked in the client program.