Questions tagged [hibernate-ogm]

Hibernate Object/Grid Mapper (OGM) provides Java Persistence (JPA) support for NoSQL solutions. It reuses Hibernate Core's engine but persists entities into a NoSQL data store instead of a relational database. It allows applications to continue to use Java Persistence Query Language (and Hibernate HQL extensions) to search their data.

From Hibernate OGM Reference Guide Hibernate OGM offers a familiar programming paradigm to deal with NoSQL stores, moves model denormalization from a manual imperative work to a declarative approach handled by the engine and encourages new data usage patterns and NoSQL exploration in more "traditional" enterprises

Hibernate OGM also aims at helping people scale traditional relational databases by providing a NoSQL front-end and keeping the same JPA APIs and domain model.

Related Stack Overflow Question:

Related Tags:

229 questions
0
votes
2 answers

Hibernate OGM IncompatibleClassChangeError

I am try to configure my spring web app with Hibernate OGM for mongoDB with java 1.6 and OGM 4.1.3.Final. For Session I write HibernateUtil.java which is working fine with JUnit test but It throws Exception. Hibernate.java import…
Pankaj Saboo
  • 1,125
  • 1
  • 8
  • 27
0
votes
0 answers

Encountered a deprecated javax.persistence.spi.PersistenceProvider with NoSQL with Hibernate OGM

I'm following the tutorial given on this link: http://blog.eisele.net/2015/01/nosql-with-hibernate-ogm-part-one.html. Getting the below error: WARN: HHH015016: Encountered a deprecated javax.persistence.spi.PersistenceProvider…
Raj Wadhwa
  • 335
  • 2
  • 13
0
votes
0 answers

what to use for data integrity check at application level for mongoDb?

I am migrating from RDBMS to mongoDb . i need to do data integrity checks for eg. adding constraint , enforcing schema validation, etc i came around few blogs where they have mentioned to use spring data mongodb , mongoosejs , hibernate OGM etc. i…
rahul
  • 239
  • 1
  • 2
  • 10
0
votes
1 answer

Can Hibernate OGM Persistence Provider be used with Spring-data-jpa?

I really like the simplicity of spring data repository, however need to use hibernate as persistence provider for consistency and few other factors. (I am using mongodb but not using mongo template). Few things I noticed -- The…
Rajesh
  • 419
  • 1
  • 6
  • 20
0
votes
1 answer

Hibernate OGM mapping to subcollection

I have an collection as following application * _id * name * desc * settings ** _id ** magento *** name *** keys I use the following object to map the document @Entity @Table(name = "applications") public class ApplicationEntity…
Lunf
  • 442
  • 4
  • 9
0
votes
1 answer

QUERY for hibernate ogm and hibernate orm together?

i test different databases, so far there are mysql, postgresql and mongoDB. I wrote an insert method that I can use for all three databases. But until now I didn't find any way to write a function that reads all existing data from a table/collection…
Ruth
  • 856
  • 2
  • 13
  • 26
0
votes
2 answers

hibernate-ogm - 'cassandra_experimental' is no valid datastore provider short name

i just wrote a testing programm for multiple Databases. It is based on hibernate vor relational databases and hibernate-ogm for NoSQL databases. at the moment I support mysql, postgresql and MongoDB. Now I wanted to try out the cassandra driver,…
Ruth
  • 856
  • 2
  • 13
  • 26
0
votes
1 answer

Hibernate delete by criteria error

I have an Entity (persisted on mongodb) called SourceCondition with property workflowID and I want to delete all SourceCondition objects with a particular workflowID. The entity is: @Entity @Table(name="source_conditions") public class…
user1734227
0
votes
1 answer

Getting java.lang.NoSuchFieldError: ERRORS_IGNORED for hibernate-ogm with mongodb

I am trying to use hibernate-ogm with mongodb and getting no such fieds error persistence.xml
0
votes
1 answer

hibernate ogm mongo db, how to get count of collection?

with mongo java driver for getting collection count, i use following method public Integer getUsersCount() { Integer listCount = 0; try { BasicDBObject query = new BasicDBObject(); DBCursor cursor =…
Armen Arzumanyan
  • 1,939
  • 3
  • 30
  • 56
0
votes
0 answers

Jboss7 + neo4j + hibernate-ogm = StoreLockException?

I'm trying to setup neo4j under JBoss7 using hibernate=ogm, heres my pon.xml:
0
votes
1 answer

Hibernate embedded entity in MongoDB doesn't update

I'm trying to embed an entity named Data into another one called Workflow. I'm tying to obtain something like this: { "_id" : ObjectId("my-object-id"), "myproperty" : "myvalue", "data":{ "category":"DataStore", …
user1734227
0
votes
1 answer

The jbossews log on openshift showing com.mongodb.CommandFailureException:{ "serverUsed":"127.xx2.xxx.xx0:27017","ok":0.0,"errmsg":"unauthorized"}

The jbossews.log segment : Caused by: com.mongodb.CommandFailureException: { "serverUsed" : "127.xxx.xx3.xx0:27018" , "ok" : 0.0 , "errmsg" : "unauthorized"} at com.mongodb.CommandResult.getException(CommandResult.java:76) at…
0
votes
1 answer

Override Hibernate OGM user type restriction?

I recently created an mongolab account on a sandbox platform (so no admin priviledges). I have a simple testcase application to integrate Hibernate OGM + JPA 2.1 with my mongo database. When i try to run my application i get the following…
0
votes
0 answers

Running hibernate-ogm for MongoDB on WildFly

I am trying to run hibernate-ogm 4.1.1.Final on WildFly 8.2.0.Final in standalone configuration. I've set up a Maven test project based on the archetype wildfly-javaee7-webapp-ear-archetype. This resulted in a project containing an EAR project with…
simd
  • 83
  • 1
  • 6