The mapping strategy within a class hierarchy should be more flexible. OJB 1.0 does not allow mixing one-class-one-table with many-classes-one-table, because 'ojbConcreteClass' is evaluated statically.

OJB 1.1 will fix this issue, fixes are already in CVS. For the many-classes-one-table mapping the discriminator-column (old ojbConcreteClass) can be defined in a special discriminator-descriptor. The optional attribute value can be used to set a user defined value to discriminate the classes. If 'value' is omitted, it defaults to the name of tha class from class-descriptor.

{{{ <class-descriptor

Another problem is the mapping on-class-multiple-tables, that is currently implemented using the 'super'-reference-descriptor.

OJBProjectPages/MixingMappingStrategies (last edited 2009-09-20 23:33:22 by localhost)