[EMF][Teneo] Order of children in references [message #1176799] |
Fri, 08 November 2013 10:10  |
Eclipse User |
|
|
|
Hi together,
I need to know whether EMF together with Teneo/Hibernate stores the
order of the children in one-to-many or many-to-many references and if
it is somehow possible to change this order - like moving one item to
the front or the end of the list.
I am dependent on the order of the children as I need to create files
out of some elements which need to be in exactly the order I've put them
in the model. I don't have any possibility to sort them.
Thank you for any hints
Marina
|
|
|
Re: [EMF][Teneo] Order of children in references [message #1176987 is a reply to message #1176799] |
Fri, 08 November 2013 12:44  |
Eclipse User |
|
|
|
Hi Marina,
Yes this is possible, Teneo will persist list default as a list with an index. There are options in Teneo to use bags
instead of list mappings but as a default the list persistence is chosen. See the teneo wiki for more details.
gr. Martin
On 11/08/2013 04:10 PM, Marina Knieling wrote:
> Hi together,
>
> I need to know whether EMF together with Teneo/Hibernate stores the order of the children in one-to-many or many-to-many
> references and if it is somehow possible to change this order - like moving one item to the front or the end of the list.
>
> I am dependent on the order of the children as I need to create files out of some elements which need to be in exactly
> the order I've put them in the model. I don't have any possibility to sort them.
>
> Thank you for any hints
>
> Marina
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
Powered by
FUDForum. Page generated in 0.02930 seconds