hibernate-ogm | Hibernate OGM - Domain model persistence | Object-Relational Mapping library

 by   hibernate Java Version: Current License: LGPL-2.1

kandi X-RAY | hibernate-ogm Summary

kandi X-RAY | hibernate-ogm Summary

hibernate-ogm is a Java library typically used in Utilities, Object-Relational Mapping, MongoDB, Hibernate, JPA applications. hibernate-ogm has no bugs, it has no vulnerabilities, it has build file available, it has a Weak Copyleft License and it has high support. You can download it from GitHub, Maven.

Hibernate OGM stores data in a NoSQL data grid using the Hibernate ORM engine.

            kandi-support Support

              hibernate-ogm has a highly active ecosystem.
              It has 303 star(s) with 200 fork(s). There are 36 watchers for this library.
              It had no major release in the last 6 months.
              hibernate-ogm has no issues reported. There are 6 open pull requests and 0 closed requests.
              It has a positive sentiment in the developer community.
              The latest version of hibernate-ogm is current.

            kandi-Quality Quality

              hibernate-ogm has 0 bugs and 0 code smells.

            kandi-Security Security

              hibernate-ogm has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              hibernate-ogm code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              hibernate-ogm is licensed under the LGPL-2.1 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              hibernate-ogm releases are not available. You will need to build from source code and install.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 105325 lines of code, 11083 functions and 1688 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed hibernate-ogm and discovered the below as its top functions. This is intended to give you an instant insight into hibernate-ogm implemented functionality, and help decide if they suit your requirements.
            • Executes a query and returns the results
            • Creates a ClosableIterator that iterates over all nodes
            • Finds an entity and returns it
            • Updates the embedded nodes of the embedded node
            • Inserts an object into the database
            • Updates an entity
            • Checks the version and throws SOSE or SOSE
            • Returns a map of properties for the given association key and row key
            • Returns the owner node of an embedded association
            • Inserts an entity into the database
            • Create a custom cache manager
            • Constructs a query to remove an association row
            • Initialize find relationship query
            • Inits the find node query
            • This method returns a string representation of this class
            • Builds a native query descriptor
            • Overridden to do a deep copy of the collection
            • Initialize the query for removing an association
            • Deletes an object
            • Initialize query for remove embedded property
            • Get the list of tuples for the provided keys
            • Adds the settings to the given service registry
            • Overrides default values for the given type
            • Initialize query for update to target
            • Main entry point
            • Executes the given BackendQuery on the given tuple
            Get all kandi verified functions for this library.

            hibernate-ogm Key Features

            No Key Features are available at this moment for hibernate-ogm.

            hibernate-ogm Examples and Code Snippets

            No Code Snippets are available at this moment for hibernate-ogm.

            Community Discussions


            Kotlin 1.5.10, Gradle 7.0.2_2 - Could not find method testCompile() group=org.junit.jupiter, name=junit-jupiter-api, version=5.7.2
            Asked 2021-May-27 at 17:51

            After following: https://youtrack.jetbrains.com/issue/KT-46090

            I'm still issues with:

            Configure project : POM relocation to an other version number is not fully supported in Gradle : xml-apis:xml-apis:2.0.2 relocated to xml-apis:xml-apis:1.0.b2. Please update your dependency to directly use the correct version 'xml-apis:xml-apis:1.0.b2'. Resolution will only pick dependencies of the relocated element. Artifacts and other metadata will be ignored.

            FAILURE: Build failed with an exception.

            • Where: Build file '/Users/NOTiFY/IdeaProjects/GoStopHandle/build.gradle' line: 53

            • What went wrong: A problem occurred evaluating root project 'GoStopHandle'.

            Could not find method testCompile() for arguments [{group=org.junit.jupiter, name=junit-jupiter-api, version=5.7.1}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.




            Answered 2021-May-27 at 17:51

            May 19, 2021 upgrade JUnit with 5.7.2_1 still get:

            Source https://stackoverflow.com/questions/67545818


            how connect mogodb atlas to java EE 8 Framework with jpa through hibernate ogm?
            Asked 2021-Jan-19 at 10:47

            so i want to connect a mongodb atlas cluster to a jpa project

            i could connect to mongodb local with this repo : https://github.com/i0712326/java-ee-hibernate-mongodb/tree/main/java-ee-09-hibernate-ogm

            but how much i changed its persistanse.xml file to able to connect to atlas it didnt work... i used almost all of property in this page : https://github.com/WiPeK/JavaEE-Bank/blob/5446e1c0fc87b7d4ef28e89bd3c5542de62ecaa7/shared/src/main/resources/META-INF/mongo-persistence.xml

            i think problem is from host property so i used this property:



            Answered 2021-Jan-19 at 10:47

            The dependencies you are using are pretty old. I'm not sure they support MongoDB Atlas, they don't support setting multiple hosts in the configuration property. That's why you are having the NumberFormatException.

            The latest Hibernate OGM version available is 5.4.1.Final. Unless you have strict requirements about the dependency to use, I would try to use that one: https://hibernate.org/ogm/releases/5.4/

            Source https://stackoverflow.com/questions/65749541


            The following method did not exist: disableRegistry()
            Asked 2020-Sep-23 at 12:42

            I use Spring Boot and MongoDB in my application. When starting the application, it gives the following error



            Answered 2020-Sep-23 at 12:42

            I got the same issue.

            Resolution : Remove the version from mongodb dependency.

            Source https://stackoverflow.com/questions/64026869


            Hibernate OGM ~ Discriminating Polymorphic Objects (Abstract Superclasses)
            Asked 2020-Jun-25 at 14:43

            I have a data model for MongoDB in Java that uses abstract superclasses to discriminate between polymorphic objects like this:



            Answered 2020-Jun-25 at 14:43

            UPDATED: JPA doesn't support hierarchies for embeddables. Plus, you are using @OneToMany with an embeddable and not an entity.

            A mapping that will work is the following:

            Source https://stackoverflow.com/questions/62528310


            Correct the classpath of your application so that it contains a single, compatible version of org.hibernate.internal.SessionFactoryImpl
            Asked 2020-Apr-28 at 10:12

            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 :



            Answered 2020-Apr-28 at 10:12

            Hibernate OGM 5.4.1.Final requires Hibernate ORM 5.3.6.Final.

            Some of the dependencies in the project are not aligned.

            Source https://stackoverflow.com/questions/61454923

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install hibernate-ogm

            The code is available on GitHub at https://github.com/hibernate/hibernate-ogm.


            The documentation is built by default as part of the project build. You can skip it by specifying the skipDocs property:. If you just want to build the documentation, run it from the documentation/manual subdirectory.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone hibernate/hibernate-ogm

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Object-Relational Mapping Libraries

            Try Top Libraries by hibernate


            by hibernateJava


            by hibernateJava


            by hibernateJava


            by hibernateJava


            by hibernateJava