-->
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.  [ 1 post ] 
Author Message
 Post subject: Positional param problem
PostPosted: Tue Dec 21, 2004 2:02 pm 
Newbie

Joined: Tue Dec 21, 2004 12:06 pm
Posts: 3
Hibernate version:
2.0


java.lang.IllegalArgumentException: Positional parameter does not exist: 1 in query:

select {tt.*}
from
workflow.workflows {wf},
workflow.workflow_tasks {wt},
workflow.tasks {t},
workflow.task_types {tt},
ia.entity_lineage {el}
where
{el}.ANCESTOR_GUID = ?
and {wf}.OWNER_GUID = {el}.DESCENDANT_GUID
and {wf}.guid = {wt}.workflow_guid
and {wt}.task_guid = {t}.guid
and {t}.task_type_guid = {tt}.guid


at net.sf.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:146)
at net.sf.hibernate.impl.AbstractQueryImpl.setBinary(AbstractQueryImpl.java:211)


I have specified the positional parameter as ?. Why is it not picking it up?


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

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.