Hibernate Version 3.1.3
Hi i am trying to create a class using a constructor set in the HQL query.
so that
Code:
List myClassses = s.createQuery("select new MyClass(class.property as a,anotherclass.property as b........").list();
i have checked and double checked the constructor syntax and ordering and everything is fine, however i am receiving a
Quote:
PropertyNotFoundException no appropriate constructor.
can anyone give me a hand with this as i am up against a friday deadline to get this working.
I have also wrapped the primitive values in the constructor to their complex type wrapper but to no avail
thanks in advance
Beero