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

Bug #819865 reported by Dustin
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

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

Other bug subscribers

Remote bug watches

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