[ http://jira.codehaus.org/browse/XDP-164?page=all ]

Konstantin Pribluda reassigned XDP-164:
---------------------------------------

    Assignee: Konstantin Pribluda

> duplication of subclass hibernate mapping
> -----------------------------------------
>
>                 Key: XDP-164
>                 URL: http://jira.codehaus.org/browse/XDP-164
>             Project: XDoclet 2 Plugins
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 1.0.3
>            Reporter: Maksimenko Alexander
>         Assigned To: Konstantin Pribluda
>
> 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

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to