HibernateSQLQuery projection with domain query type
Bug #838834 reported by
John Cook
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Undecided
|
Unassigned |
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 AbstractHiberna
Example query: http://
To post a comment you must log in.
Concerning your example query :
SKontakt sKontaktPath = SKontakt.kontakt;
QKontakt qKontaktPath = QKontakt.kontakt;
Query sqlQuery = hibernateSqlQuery() from(sKontaktPa th) where(sKontaktP ath.typ. eq("E-mail" )) createQuery( qKontaktPath) ;
.
.
.
How do SKontakt.kontakt and QKontakt.kontakt look like?
I have not yet been able to reproduce your problem.