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

Bug #819865 reported by Dustin on 2011-08-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Querydsl
Fix Released
Undecided
Unassigned

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?

Thanks,
Dustin

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

Changed in querydsl:
status: New → Fix Committed
Dustin (woodsd) wrote :

Works great. Thanks.

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