Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.0.5
I was wondering if anyone ever had to do the following :
Standard product, using Hibernate, with let's say 20 classes mapped and defined.
Need to customize the product often, creating custom subclasses of the original classes - which usually have an extended database table.
So let's say I have StandardObject, which is mapped and works correctly, and CustomObject which extends StandardObject.
I'm really trying to understand how I can make a mapping for CustomObject which extends and substitutes the original mapping, so that a query like "from StandardObject" actually retrieves instances of CustomObject.
It's a pattern we had in the previous framework, called substitution - usually managed by a configured factory.
I hope there is some solution...
Thanks in advance,
Giulio