Hi,
This is a feature that I'm also interested in; specifically, putting "subclass" inside "joined-subclass". It seems that if you put the "discriminator" tag in a joined-subclass, and then put subclasses in, it seems to read fine -- but the whole thing dies at runtime (database constraint).
It would seem logical to me that you should be able to put discriminators in joined-subclasses (without the need for a special "join" tag; seen in another thread) -- especially if you don't want to mix the two beyond that, e.g.:
Code:
<joined-subclass ...>
<joined-subclass ...>
<discriminator />
<subclass ... />
<subclass ... />
</joined-subclass>
</joined-subclass>
This is pretty much exactly what I need to do for the application I'm building. Obviously this is open source, so I guess I should get in there and add it. However, if there's some alternative on the roadmap, I'd be interested to know. It's really just a performance/storage optimization, more than anything else -- not a priority at this stage.
Simon.