Concerning your example query :
SKontakt sKontaktPath = SKontakt.kontakt; QKontakt qKontaktPath = QKontakt.kontakt;
Query sqlQuery = hibernateSqlQuery() .from(sKontaktPath) .where(sKontaktPath.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.
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.