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?
|