Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
3.2.5. GA
Hi I am stuck here.
Right now I have a parent class call CategoryItem and CategoryOrder (following the composite design from java persistance with hibernate book) join table with additional column section.
Now i have a class cal CategoryMarketing
and it has item_id referencing CategoryItem
and order_id referencing CategoryOrder
and it has category_id reference Category.
How would you map this?
Whats the best solution (table redesign?)
Thanks a lot