Scala source generation issue with column named type

Bug #809817 reported by Satyagraha 1956
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.

Revision history for this message
Satyagraha 1956 (satyagraha-1956) wrote :
Revision history for this message
Satyagraha 1956 (satyagraha-1956) wrote :

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
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Fixed in SVN trunk

Changed in querydsl:
status: In Progress → Fix Committed
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.