[hibernate-dev] [OGM] Keeping the order of the collection of elements in MongoDB
Davide D'Alto
davide at hibernate.org
Fri Jan 13 07:18:47 EST 2017
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
More information about the hibernate-dev
mailing list