We have a jsf web application using Hibernate running on JBoss. We have a class Product that defines name, model, and price.
public class Product {
name,
model,
price
}
Product can be clothes, car, computer, etc. How to let users define their own properties? Take computer for instance, user can add: cpu, memory size, etc.
The properties added by users should be able to be a query criterion.
Thanks for help and ideas.
Dave