Hi,

there is already a request for this at "http://thecla.homeftp.net:8380/jira/browse/HIB-20";, but is was not done yet

please fell free to submit a patch for this and we could apply.

Thanks
Carlos

Chad Brandon wrote:

Yes, it's possible please submit a JIRA request.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pierre-Yves
ROGER
Sent: Friday, February 11, 2005 3:41 AM
To: andromda-user@lists.sourceforge.net
Subject: [Andromda-user] Hibernate cartridge and ordered collections : List

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 Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user




------------------------------------------------------- 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 Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user







------------------------------------------------------- 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 Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to