1. HQL- no appropriate constructor forum.hibernate.orgpublic void ListingItem(String tradename,String strength, String unit ) { this.tradeName = tradename; this.strength = strength; this.unit = unit; } |
2. HQL and Tuple Constructors forum.hibernate.org |