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
     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 Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to