Hi,

I have a problem with hibernate cartridge.
In my uml shema, I use an association end with "ordering : ordered" to create a List. Then, andromda generates a List in my entity (instead of a Collection, if I use "ordering : unordered").
But hibernate mapping file is always the same (whatever ordering specification), like this :


<set name=... order-by=...>
           <key>
              ....
           </key>
          ...
</set>

For the "ordering : ordered" , I think this mapping file should have <list> tag instead of <set> and should have an <index> like this :

<list name=... ...>
   <key>
           ...
   </key>
   <index>
       ....
   </index>
...
</list>

Is it possible to do it ?
thanks.




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to