1. Generic Hibernate Fetching forum.hibernate.orgpublic class Item { private String name; private Set categories = new HashSet(); private Set bids = new HashSet(); private Bid successfulBid; ... } ---------------------------------------------------- public class Bid { ... private Item item; ... } ----------------------------------------------------- public class User { private Address shippingAddress; private Set billingDetails; .. } ----------------------------------------------------- public class Category { private String name; private Category parentCategory; private Set ... |
2. Generics and Hibernate forum.hibernate.org |
3. URGENT : HELP : Mapping Generic class forum.hibernate.orgHi Have the following class. Can some one pelase provide the mapping file for this please ? I do not know how to map |
4. Inheritance mapping and Java generics forum.hibernate.org |
5. mapping generic classes forum.hibernate.orgWhat do you mean by generic classes? You can't map a class to multiple tables or maybe that's a bad way to put it. Maybe a better way to say it is you can't map a pojo property to more than one field in the database. Barring a few special annotations like "secondarytable". Even with those annotations though the class always ... |