[hibernate-dev] [OGM] Keeping the order of the collection of elements in MongoDB
Sanne Grinovero
sanne at hibernate.org
Fri Jan 13 07:48:14 EST 2017
I think it's a reasonable expectation, as long as we're talking
specifically about mapping a *List* and not just a generic Collection.
On 13 January 2017 at 12:18, Davide D'Alto <davide at hibernate.org> wrote:
> Hi,
> it seems that when using Collection of elements in MongoDB, users
> expect to have the elements in the same order as in the db. You can
> see the question on the forum here:
> https://forum.hibernate.org/viewtopic.php?f=31&t=1043903&p=2491218#p2491218
>
> I also found this StackOverflow question:
> http://stackoverflow.com/questions/9013916/do-arrays-stored-in-mongodb-keep-their-order
>
> What do you think? Is it something that we should support?
>
> Cheers,
> Davide
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
More information about the hibernate-dev
mailing list