This is my HQL query
This generates the following SQL
And this is throwing
ERROR
[org.hibernate.util.JDBCExceptionReporter] (http-0.0.0.0-9980-1)
ORA-01791: not a SELECTed expression
But the same HQL query generating the following SQL when we used hibernate-3.3.1 GA and its working fine.
Jboss AS 4.3.2 GA, HIbernate 3.5.5, Oracle 10g
Having the same problem. However, I think this is a duplicate of HHH-5926.
Duplicating in favor of