[ http://jira.codehaus.org/browse/XDP-54?page=all ] Anatol Pomozov closed XDP-54: -----------------------------
> composite-element not fully implemented > --------------------------------------- > > Key: XDP-54 > URL: http://jira.codehaus.org/browse/XDP-54 > Project: XDoclet 2 Plugins > Type: Improvement > Components: hibernate > Versions: hibernate-1.0 > Environment: JDK 5, Hibernate 3, Xdoclet2, plugins 1.0 > Reporter: Geir Hedemark > Assignee: Anatol Pomozov > Fix For: hibernate-1.0 > > > The following tags > /** > * @hibernate.map table="settings" cascade="all" > lazy="true" > * @hibernate.key column="id" > * @hibernate.index column = "propKey" type="string" > * @hibernate.composite-element > class="no.telio.model.Settings" > */ > should give something like > <map cascade="all" > lazy="true" > table="settings" > name="settings"> > <key column="id"/> > <index column="propKey" type="string"/> > <composite-element > class="no.telio.model.Settings"> > (properties from the Settings class) > </composite-element> > </map> > Version 1.0 complains about the @hibernate.composite-element tag begin a > class level tag, and will not generate this mapping. > Generating a similar mapping with @hibermate.element works just fine. -- 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 Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest