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

Having trouble when doing "mvn wildfly:deploy" using wildfly 10.1.0.Final, hibernate ogm 5.0.10.Final and Cassandra 3.0.9

I have trouble doing "mvn wildfly:deploy". Here is the error code: [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Final:deploy (default-cli) on project aigateway: Failed to execute goal deploy: {"WFLYCTL0062:…
LebroNan
  • 149
  • 7
  • 18
0
votes
2 answers

Hibernate OGM: How to store a List?

Is it possible to store List with Hibernate OGM and mongodb without creating a Entity for type Double. Example: @Entity public class Series extends Default { private List results; Gives the following exception: Caused by:…
gregor
  • 2,397
  • 2
  • 12
  • 18
0
votes
1 answer

Table per class configuration with Hibernate OGM and MongoDb is not working

I am trying to have table per class configuration with Hibernate OGM + MongoDb. I have a BaseEntity like below: @Entity @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public abstract class BaseEntity { protected UUID id; @Id …
Sayan Pal
  • 4,768
  • 5
  • 43
  • 82
0
votes
1 answer

hibernate ogm mongodb Timestamp

I have the following mongodb { "_id" : ObjectId("57713c6304f4dc08008b45ba"), "SYS_FluxName" : "ERDF_F12_17X100A100F0073T_GRD-F046_0321_00011_FL_00001_00001.xml", "SYS_ReadDateTime" : Timestamp(6300883749567463, 83), …
Med Besbes
  • 2,001
  • 6
  • 25
  • 38
0
votes
1 answer

Hibernate OGM: Unable to connect on mongo

I'm able to access successfully on my mongo instance using: #mongo -u user -p pwd -authenticationDatabase admin database Nevertheless, using Hibernate OGM I'm not able to access on mongo instance:
Jordi
  • 20,868
  • 39
  • 149
  • 333
0
votes
1 answer

hibernate ogm Could not obtain JBoss Transactions transaction manager instance

I'm trying to run hibernate ogm in standalone mode (not jee container). my persistence.xml file is the following
Med Besbes
  • 2,001
  • 6
  • 25
  • 38
0
votes
2 answers

How to join MongoDB and Wildfly using Hibernate OGM

I'm trying to build the REST application by means of JavaEE7 (JAX-RS), Hibernate OGM, MongoDB and Wildfly 10. I've attempted to refer to THIS tutorial. HERE you can also find the complete source code of the tutorial. I replaced the old version of…
Robert
  • 762
  • 2
  • 10
  • 23
0
votes
0 answers

Wildfly MongoDB Hibernate OGM - ElementCollection hibernate.MappingException: Could not determine type for: java.util.List

I am trying to run hibernate-ogm (5.0.3.Final) for Mongodb (3.2.10) on Wildfly 10 (10.1.0). I have an entity called User mapped to collection users in mongodb and containing list of permissions. When I try to deploy I get the following exception…
Sandeep M
  • 11
  • 2
0
votes
1 answer

Is Hibernate -OGM does not supports InheritanceType.JOINED?

Hi i am migrating my application mysql database to mongodb using hibernate-ogm. In my pojo i used InheritanceType.JOINED ,but i read in documentation "Hibernate OGM supports the following inheritance strategies: * InheritanceType.TABLE_PER_CLASS *…
0
votes
1 answer

How to connect to multiple nosql databases in Hibernate-ogm

In my web app I need to connect to Mongodb and Neo4j, how to configure it? and if I need to connect to Mongodb and Mysql , how to configure it?
Qs Lin
  • 1
0
votes
0 answers

Hibernate OGM and MongoDB, query's result to a composite structure is incorrect

I'm using Hibernate OGM (5.0.3.Final) with MongoDB. I've persisted this composite Structure with the strategy=InheritanceType.SINGLE_TABLE. When I try to query a TextNode, I found the properties "text" null, but if I check the DB with mongo shell, i…
0
votes
0 answers

How to create JNDI datasource in glassfish server for mongoDB (no-sql database)?

I know how to create JNDI datasource in glassfish server for relational database. when I try to create JNDI datasource for mongoDB using datasource connection pool no option available in glassfish. after that I tried with JNDI Custom resource…
Suman Behara
  • 150
  • 9
0
votes
1 answer

Running java project with hibernate for PostgreSQL and hibernate ogm for MongoDB

I use jpa to access PG from Play. I need to access also MongoDB. Once i add mongo dependencies to the related pom.xml i get runtime exceptions, like: [INFO] --- play2-maven-plugin:1.0.0-beta5:run (default-cli) @ API --- [INFO] Launching Play!…
YuriR
  • 1,251
  • 3
  • 14
  • 26
0
votes
1 answer

spring-boot configure hibernate-ogm for cassandra [dataSource not found]

I am trying to configure hibernate-ogm for Cassandra on spring boot, but there are no dataSource are transparent provided to entityManager and below error with run: *************************** APPLICATION FAILED TO…
0
votes
0 answers

Exception 'Provider is not a subtype' when using hibernate-ogm-neo4j in glassfish4

I'm trying to get hibernate-ogm-neo4j (5.1.0.Alpha1) running in my glassfish (4.1.1). When starting the application server with the datastorprovider it shows a long…
Richard
  • 582
  • 5
  • 19