Java Keyword as generated constant name

Bug #720187 reported by Francis De Brabandere on 2011-02-16
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: 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

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

Changed in querydsl:
status: New → Fix Committed

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

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

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

Other bug subscribers