Scala source generation issue with column named type

Bug #809817 reported by Satyagraha 1956 on 2011-07-13
6
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.

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.

Changed in querydsl:
status: New → In Progress

Fixed in SVN trunk

Changed in querydsl:
status: In Progress → Fix Committed

Released in 2.2.0

Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments