Hibernate version: 2.1.8 (but would switch to 3.0 if it can handle this)
Lets say I have three Objects:
Code:
public class Product {
private List salesChannels;
}
public class SalesChannel {
private List prices;
}
public class Price {
private long price;
}
As you can see, Product has a List of sales channels and each sales channel has a list of prices. Is it possible to map this in hibernate? Near as I can tell, it is impossible to have a collection of collections. Is there a good work around?
Thanks,
Ethan Schreiber