Hi All,
I am getting InstantiationException in compilation of a HQL.
HQL is somthing like this :
select new classA(param1, param2)
from classB
In this HQL it gives error as no appropriate constructor found.
Where as in the classA there is a constructor taking two params and there sata types are consitent everywhere ie mapping file, corresponding JAVA class and classA.
Also this error occurs only for Date/Time type of params.
Date/Time params are defined to be of type java.sql.* consistently every where.
Please help...
|