Java Keyword as generated constant name

Bug #720187 reported by Francis De Brabandere
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Undecided
Unassigned

Bug Description

We have a JPA Entity Package, the generated QPAckage contains this invalid code:

public class QPackage extends EntityPathBase<Package> {

    private static final long serialVersionUID = 1022567776;

    public static final QPackage package = new QPackage("package");

...

#579950 is similar but has not fixed this issue

Tags: jpa keyword
tags: added: jpa
summary: - Java Keywords as generated static name
+ Java Keywords as generated constant name
summary: - Java Keywords as generated constant name
+ Java Keyword as generated constant name
Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Thanks for the bug report. This has been fixed in SVN trunk.

Changed in querydsl:
status: New → Fix Committed
Revision history for this message
Francis De Brabandere (francisdb) wrote :

Thanks for fixing this so quick!
When is the next release planned? Got a release rss feed?

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

The next minor release will be probably next week.

Here is an RSS feed for general announcements (mostly Querydsl release announcements) : http://source.mysema.com/forum/mvnforum/rss2?forum=3&sort=ThreadLastPostDate&order=DESC

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

Released in 2.1.2

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.