[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2539?page=c...
]
Christian Bauer reopened HHH-2539:
----------------------------------
Re-opening, but I'm not sure the original exception is going to help you.
QueryExcepation: Caused By is Missing
-------------------------------------
Key: HHH-2539
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2539
Project: Hibernate3
Issue Type: Improvement
Reporter: Harald Brabenetz
Priority: Minor
I got the following Exception and i don't know where it comes from and I don't
know how I can reproduce it:
Caused by:
org.hibernate.QueryException: collection role not found: ..............
at
org.hibernate.hql.ast.util.SessionFactoryHelper.requireQueryableCollection(SessionFactoryHelper.java:205)
at org.hibernate.hql.ast.tree.DotNode.dereferenceCollection(DotNode.java:242)
at org.hibernate.hql.ast.tree.DotNode.resolve(DotNode.java:206)
at org.hibernate.hql.ast.tree.DotNode.resolveFirstChild(DotNode.java:143)
at org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:460)
at org.hibernate.hql.antlr.HqlSqlBaseWalker.addrExpr(HqlSqlBaseWalker.java:4326)
Can you extend the catch - Clause with the original Exception?
From:
catch ( Exception e ) {
throw new QueryException( "collection not found: " + role );
}
Into:
catch ( Exception e ) {
throw new QueryException( "collection not found: " + role, e );
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira