Given the following mapping file, is there a way to force hbm2java to generate two classes Bar and Baz that implement the interface Foo? I see how I can use META tags to force Foo to be an interface, but when I run hbm2java against the mapping file I get an interface Foo and 2 classes Bar and Baz the extend Foo (instead of implementing Foo).
Code:
<class name="Foo">
<meta attribute="interface" inherit="false">true</meta>
<id name="id" column="id" type="java.lang.Long">
<generator class="identity"/>
</id>
<discriminator column="subclass" type="character"/>
<subclass
name="Bar"
discriminator-value="r">
</subclass>
<subclass
name="Baz"
discriminator-value="z">
</subclass>
</class>
Rob