duplication of subclass hibernate mapping
-----------------------------------------
Key: XDP-164
URL: http://jira.codehaus.org/browse/XDP-164
Project: XDoclet 2 Plugins
Type: Bug
Components: hibernate
Versions: 1.0.3
Reporter: Maksimenko Alexander
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>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
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