It was an error that there were no links to *.hbm.xml files from hibernate.cfg.xml
So the problem now is that error message is incorrect.
artem wrote:
I use latest 3.2.5GA Hibernate and get strange exception:
java.lang.IllegalArgumentException:
Parameter docId does not exist as a named parameter in
[SELECT d FROM com.abnamro.Documents AS d INNER JOIN d.documentLockses AS dl WHERE d.id = :docId AND ((d.locked <> 'Y') OR (dl.locked_by = :userId))]
Gurus, could you please, help me and explain where is the problem?