Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF][Teneo] Order of children in references
[EMF][Teneo] Order of children in references [message #1176799] Fri, 08 November 2013 15:10 Go to next message
Marina Knieling is currently offline Marina KnielingFriend
Messages: 83
Registered: February 2013
Member
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 17:44 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
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
Previous Topic:[EMFStore] command stack notification storms
Next Topic:[EMFClient] Usable together with e4?
Goto Forum:
  


Current Time: Thu Apr 25 22:42:04 GMT 2024

Powered by FUDForum. Page generated in 0.02806 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top