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
2
votes
1 answer

Hibernate OGM over Spring-Data is valid?

I want to create an project and using MongoDB and Neo4J, both databases are need to use. Now the day's Hibernate OGM concept was launch and support provide for all NoSQL databases. If i am go for Hibernate OGM they used JPA apis for implementation…
Harmeet Singh Taara
  • 6,483
  • 20
  • 73
  • 126
2
votes
1 answer

Hibernate OGM & Hibernate OGM first and second level cache

Will Hibernate OGM supports Cassandra? Since OGM provides JPA support to persist data in NoSQL DBs and it reuses Hibernate core engine, what about first and second level cache? Will OGM supports 1st and 2nd level cache?
user3133577
  • 81
  • 1
  • 2
  • 10
2
votes
2 answers

Hibernate OGM vs. Kundera

Does anyone have a feedback on the use of Hibernate OGM vs. Kundera ? I know these 2 frameworks are providing Java Persistence (JPA) support for NoSQL solutions, and I would like to benefit from the experience of someone who studied both. It sounds…
1tox
  • 327
  • 1
  • 4
  • 14
1
vote
1 answer

Does the jakarta persistence API support org.hibernate.ogm.jpa.HibernateOgmPersistence?

I am using hibernate-ogm-neo4j(v.5.4.1.Final) and I have setup a persistence.xml with org.hibernate.ogm.jpa.HibernateOgmPersistence provider. When I tried to instantiate an EntityManagerFactory from the jakarta persistence API 3.0 I received this…
mihai
  • 41
  • 6
1
vote
2 answers

Migrating to 'Morphia' from Hibernate OGM

I have been running MongoDB (5.0.7) for a number of years with Hibernate ORM & OGM. Currently using 'org.mongodb:mongodb-driver-core:4.6.0'. (2022.04.26) Using WildFly 26.1.0.Final (Jakarta EE 8 Full) with OpenJDK 18.0.1. IntelliJ IDEA 2022.1,…
NOTiFY
  • 1,255
  • 1
  • 20
  • 36
1
vote
0 answers

Marklogic Dialect support in Hibernate OGM

Although Marklogic is having api like optic to query against the marklogic database, I am really curious to know whether we are having marklogic support in hibernate. Does hibernate ogm support marklogic database?
Ruby Kannan
  • 251
  • 1
  • 6
1
vote
0 answers

MongoDB with Hibernate OGM and Spring-Boot - persistence.xml Authentication doesn't go against specified Database

I'm currently working on a simple demo application to show example CRUD with MongoDB Hibernate OGM and Spring-Boot. I have a local MongoDB with 2 users. use admin db.createUser( { user: "useradmin", pwd: "password, …
KilledByCheese
  • 852
  • 10
  • 30
1
vote
1 answer

Hibernate OGM with Neo4j - Application conncetion to server failed

I'am trying to use hibernate ogm to connect to neo4j server that i am running using docker on my local machine. When a try to connect i got the message: Exception in thread "main" javax.persistence.PersistenceException: Unable to build entity…
1
vote
1 answer

java.lang.NoSuchFieldError: FSYNCED

I am getting error when executing below code, could you please help me in resolving this error public fun getEntityManager(): EntityManager { val tm: TransactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager() val emf:…
1
vote
2 answers

Failure to retrieve EntityManager from LocalContainerEntityManagerFactoryBean (Hibernate OGM Provider)

I am trying to retrieve a JPA EntityManager from Spring's LocalContainerEntityManagerFactoryBean using the Hibernate OGM persistence provider but I am getting the following error when I attempt to created an EntityManager from the injected…
chejohn131
  • 11
  • 2
1
vote
1 answer

Correct the classpath of your application so that it contains a single, compatible version of org.hibernate.internal.SessionFactoryImpl

I'm trying to connect MongoDB database via hibernate with spring-boot. While trying to connect to MongoDB, I'm getting below error. Please help me to connect via hibernate. In my build.gradle, I have "hibernate-ogm-mongodb" dependency only. Gradle…
Viswa
  • 45
  • 1
  • 2
  • 9
1
vote
1 answer

MongoDB + HibernateOGM + Spring Boot auto create database

Today, I want to auto-create my database structure for MongoDB with Spring Boot usage. In relational databases in the past, I was using two properties in the application.properties file…
Martin
  • 1,139
  • 4
  • 23
  • 49
1
vote
1 answer

org.bson.codecs.configuration.CodecConfigurationException: Can't find a codec for class org.hibernate.ogm.datastore.mongodb.type.GridFS

I'm trying to experiment with GridFS in Hibernate-ogm. This is simply my class import org.hibernate.ogm.datastore.mongodb.type.GridFS; @Embeddable public class MyEntity implements Serializable{ private String name; public MyEntity () { …
alfredopacino
  • 2,979
  • 9
  • 42
  • 68
1
vote
2 answers

Hibernate OGM with MongoDB could not resolve property

This HQL query give me error: String q4 = "SELECT i, COUNT(ie) FROM CorsoStudi cs \n" + "\t JOIN cs.inserogati ie JOIN ie.insegn i \n" + "\t WHERE cs.nome = 'Laurea in Informatica' \n" + "\t GROUP BY i";…
1
vote
1 answer

Neo4j OGM frameworks

I'new to NEO4J and working around Neo4J OGM, to my understanding this is the framework that is associated with Spring Data Neo4j. There's, however, Hibernate OGM, also supporting Neo4J. Is anyone aware of the differences between the two, or can…
garfield
  • 571
  • 9
  • 21
1 2
3
15 16