HibernateSQLQuery projection with domain query type

Bug #838834 reported by John Cook on 2011-09-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

I've encountered a little problem trying to build HibernateSQLQuery using SQL query types but project it using domain query type (as written in manual: 2.2.14. Using Native SQL in Hibernate queries). However, validation performed during query building does not allow me to do that reporting unknown path for projection. According to manual, I consider this to be a bug (validation should be probably turned off before projection for AbstractHibernateQuery?), right?

Example query: http://source.mysema.com/forum/mvnforum/viewthread_thread,2973

Concerning your example query :

SKontakt sKontaktPath = SKontakt.kontakt;
QKontakt qKontaktPath = QKontakt.kontakt;

Query sqlQuery = hibernateSqlQuery()

How do SKontakt.kontakt and QKontakt.kontakt look like?

I have not yet been able to reproduce your problem.

Found the problem now and fixed it.

Changed in querydsl:
status: New → Fix Committed

Released in 2.2.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