Hello,
I'm having some trouble with an HQL query. I have a status check bean that has a constructor of the form StatusCheckBean(String, Long, List) and my query is like this :
Code:
select new org.mypackage.StatusCheckBean(c.uuaid,c.chequeNumber,(select ... ))
from org.mypackage.Cheque c
where ...
...but I keep getting a 'getDataType() is not supported by ConstructorNode!' error when I try to use the subselect in the constructor, and I get a '<line 1:118: unexpected token: ,>' error when I try to use this syntax :
Code:
select new org.mypackage.StatusCheckBean(c.uuaid,c.chequeNumber,new list(select ... ))
from org.mypackage.Cheque c
where ...
Does anybody know how I can use a constructor that takes a list argument ?