We are looking at using MongoDB as our database in our Java Server-side application.
In my earlier project we were using Hibernate to abstract the underlying SQL database, so that we could switch from MySQL to Postgres (for example) without changing application code. (this was a + that Hibernate gave us apart from the usual ORM feature).
I did a search for a similar abstraction layer for Document-oriented NoSQL Databases, and ended up with no results !
Though MongoDB suffices our requirements of today, if a better Document-oriented NoSQL DB comes up 3 years down the line, we dont want to change our application code to move to the new DB.
One solution is for us to write the abstraction layer by ourselves (which we will if we are left with no other option).
But I would be surprised if people coming from ORM world coded directly onto the NoSQL DB interfaces ?! Is database independence not a concern in the NoSQL world ? Or is it achieved by some other means ?