Devil in the details...

When you specify subclass a table is generated for every subclass, ie
all the Impls. So to work around this I am experimenting with template
variable generateImpl which can be true or false. The consequences of
this are the generated Entities have to be concrete. The business
methods are not generated. These would have to be performed via a
facade. I have always (well nearly) followed the guideline of only have
concrete classes at the leafs. So another alternative would be to
generate an Impl at the leaf of an inheritance branch.

Good news: I have add logic to support the hibernate conrete strategy.
This is the only way to mix strategies. You can have concrete to a point
in the hierarchy and then switch to class (single table) or subclass
(table per subclass).

Thoughts ...

-- 
Martin West
Head of Product Design and Development
http://www.star-map.net
+44(0)207 318 0308
+44(0)787 968 0096

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to