dshen wrote:
Hibernate version: 3.05
...
....
The same code (HQL) is working under hibernate2. Is there any update with HQL interpreter in Hibernate3?
Did some search. Someone had the similar proble and he claimed that the new HQL does not support nexted bean property, which I don't think is the case. Please help.
You should read, very carefully, the H3 Migration Guide.
http://www.hibernate.org/250.html
There is a completely new HQL Query Translator in H3. You can use the old one by adding
Code:
<property name="query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>
to your hibernate.cfg.xml but that should only be done as a last resort since there are some new features that you won't be able to use with it.