Re: [orientdb] Re: [HELP] Can I retrieve them in the same order in which they were saved?

2016-11-23 Thread Luca Garulli
Hi,

You should use a LIST as type, rather than a set or ridbag (for links).

Best Regards,

Luca Garulli
Founder & CEO
OrientDB LTD 

Want to share your opinion about OrientDB?
Rate & review us at Gartner's Software Review



On 23 November 2016 at 12:59, Academia Learning Centro de inglés y de
formación  wrote:

> I have the same problem
>
>
> El miércoles, 23 de noviembre de 2016, 12:23:34 (UTC+1), roberto carlos
> diaz justicia escribió:
>>
>> When I retrieve a json the fields are in different order than when saved
>>
>> Can I get them back in the same order?
>>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [orientdb] Re: [HELP] Can I retrieve them in the same order in which they were saved?

2016-11-24 Thread Academia Learning Centro de inglés y de formación
I don´t undersatnd, I want get the json content in the same order in which 
it was saved

El miércoles, 23 de noviembre de 2016, 13:10:33 (UTC+1), l.garulli escribió:
>
> Hi,
>
> You should use a LIST as type, rather than a set or ridbag (for links).
>
> Best Regards,
>
> Luca Garulli
> Founder & CEO
> OrientDB LTD 
>
> Want to share your opinion about OrientDB?
> Rate & review us at Gartner's Software Review 
> 
>
>
> On 23 November 2016 at 12:59, Academia Learning Centro de inglés y de 
> formación > wrote:
>
>> I have the same problem
>>
>>
>> El miércoles, 23 de noviembre de 2016, 12:23:34 (UTC+1), roberto carlos 
>> diaz justicia escribió:
>>>
>>> When I retrieve a json the fields are in different order than when saved
>>>
>>> Can I get them back in the same order?
>>>
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to orient-databa...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [orientdb] Re: [HELP] Can I retrieve them in the same order in which they were saved?

2016-11-28 Thread Luigi Dell'Aquila
Hi,

The ODocument is managed as a java Map, so it does not preserve field
order, I'm afraid what you need is not supported out of the box

Thanks

Luigi


2016-11-25 9:19 GMT+01:00 Academia Learning Centro de inglés y de formación
:

> HELP
>
> El miércoles, 23 de noviembre de 2016, 12:23:34 (UTC+1), roberto carlos
> diaz justicia escribió:
>
>> When I retrieve a json the fields are in different order than when saved
>>
>> Can I get them back in the same order?
>>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to orient-database+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.