-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: java.lang.IllegalArgumentException
PostPosted: Tue Oct 30, 2007 9:28 pm 
Newbie

Joined: Fri Feb 09, 2007 6:51 pm
Posts: 16
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?


Top
 Profile  
 
 Post subject: Re: java.lang.IllegalArgumentException
PostPosted: Wed Oct 31, 2007 4:43 pm 
Newbie

Joined: Fri Feb 09, 2007 6:51 pm
Posts: 16
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.