Anthony,
Thanks for the try, but it didn't work either.
I've already tried it in many different ways, but if you have any other ideas, I'll be glad to try them too.
Here is the stack trace:
net.sf.hibernate.QueryException: unexpected token: left [select this from this left join fetch this.rooms]
at net.sf.hibernate.hql.FromParser.token(FromParser.java:77)
at net.sf.hibernate.hql.ClauseParser.token(ClauseParser.java:87)
at net.sf.hibernate.hql.PreprocessingParser.token(PreprocessingParser.java:123)
at net.sf.hibernate.hql.ParserHelper.parse(ParserHelper.java:29)
at net.sf.hibernate.hql.QueryTranslator.compile(QueryTranslator.java:149)
at net.sf.hibernate.hql.QueryTranslator.compile(QueryTranslator.java:138)
at net.sf.hibernate.hql.FilterTranslator.compile(FilterTranslator.java:26)
at net.sf.hibernate.impl.SessionFactoryImpl.getFilter(SessionFactoryImpl.java:305)
at net.sf.hibernate.impl.SessionImpl.getFilterTranslator(SessionImpl.java:3452)
at net.sf.hibernate.impl.SessionImpl.filter(SessionImpl.java:3509)
at net.sf.hibernate.impl.SessionImpl.filter(SessionImpl.java:3404)
_________________ Luis Fernando Kauer
|