Unable to query JPA entities with @Entity(name="NotClassName")

Bug #819865 reported by Dustin
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

From http://source.mysema.com/forum/mvnforum/viewthread_thread,2682

Hi all,

I'm running into problems trying to query an entity that has a different name set in the @Entity annotation. As far as I can tell from the code, Querydsl assumes the entity name to be the class name. Is there a way to get it to use the name specified in the @Entity annotation?


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

Fixed in SVN trunk. Could you verify that the fix works for you?

Changed in querydsl:
status: New → Fix Committed
Revision history for this message
Dustin (woodsd) wrote :

Works great. Thanks.

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

Released in 2.2.1

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