Domanda

Stiamo cercando di convertire la nostra vecchia applicazione Oracle SQL in No-SQL e abbiamo scelto Mongo DB.

Ci sono supporti orm per il MONGO DB come ibernazione che riduce la nostra codifica?

Possiamo utilizzare le specifiche JPA per creare un'applicazione per MONGO DB?

Se JPA, che ORM Vendor è meglio scegliere e perché?

Si presentano il dialetto No-SQL per il MONGO DB in modo che possiamo costruire un'applicazione utilizzando un DB non relazionale?

È stato utile?

Soluzione

Datanucleus JPA fornisce la piena persistenza a mongodb usando reale JPA (Al contrario dei dati di primavera, Morphia, ecc. Che hanno le proprie API, quindi non hai portabilità diretta - ma che potrebbe non essere la tua preoccupazione privilegiata);Nel caso del DataNucleo fornisce JPA2 (con alcune funzionalità di Anteprima JPA2.1).Fornisce anche la persistenza JPA a HBASE, RDBMS, Neodatis, Excel, ODF, XML, JSON, LDAP e alcuni altri nel caso in cui abbiate mai bisogno di portabilità a quelle.

Altri suggerimenti

Hibernate 4.0 ha OGM che supporta MongoDB è possibile vedere un esempio di ibernazione con Mongodb qui Porting Seam Hotel Esempio di prenotazione per OGM

You can choose Morphia. It is the most stable one over other ORM tools for Mongodb.

Some of the other tools are :

You can find the full list in the MongoDB Third Party Frameworks and Libs part.

Try Kundera. Much better performance than Morphia and offers a lot of easy way to code/implement.

-Vivek

You should also have a look at EclipseLink's MongoDB support which was released in version 2.4.

You may have a look at Spring Data and check out this Tutorial

PlayORM also supports MongoDB now. PlayORM is an object NoSQL mapping solution so you can write POJO’s and let it deal with all the details of marshalling/unmarshalling to MongoDB. Visit its documentation here

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top