Hi All!
I'm using 1.0.3 version of hibernate xdoclet plugin and have some
problems with hierarchy generation.
I have 3 classes:
/**
* @hibernate.class abstract="true" table="A"
* @hibernate.discriminator column="type" type="java.lang.String" */
public interface Interface1
/**
* @hibernate.class abstract="true"
*/
public interface Interface2 extends Interface1
and implementation of those two classes:
/**
* @hibernate.subclass discriminator-value="base1"
*/
public class Base1 implements Interface1,Interface2{
After generation I get duplicated Base1 description:
<hibernate-mapping>
<class abstract="true" table="A" name="Interface1">
<id column="id" name="id">
<generator class="native"/>
</id>
<discriminator type="java.lang.String" column="type"/>
<subclass name="Base1" discriminator-value="base1"/>
* <subclass name="Base1" discriminator-value="base1"/>*
</class>
</hibernate-mapping>
I can't change such object hierarchy so can be found another way to fix
this problem?
Regards,
Maksimenko Alexander
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest