Hi All,
I am trying to do something like "select new Family(mother, mate, offspr)" from the Hibernate 2.1.2 Reference document on page 79. I can get it to create a class if I only have Strings, Integers, and Longs, but as soon as I try to use a Timestamp I keep getting:
net.sf.hibernate.PropertyNotFoundException: no appropriate constructor in class: com.nameprotect.ba.dao.AlertSummary
I have tried to create a contructor that has the Type listed as a Timestamp and Object, but neither seem to work.
Help.
Thanks,
Kevin
|