{"id":13480703,"url":"https://github.com/hibernate/hibernate-ogm","last_synced_at":"2025-12-29T23:47:42.335Z","repository":{"id":543205,"uuid":"1608936","full_name":"hibernate/hibernate-ogm","owner":"hibernate","description":"Hibernate OGM - Domain model persistence for NoSQL datastores","archived":true,"fork":false,"pushed_at":"2025-01-14T08:33:20.000Z","size":17312,"stargazers_count":321,"open_issues_count":0,"forks_count":199,"subscribers_count":32,"default_branch":"main","last_synced_at":"2025-07-04T20:55:10.636Z","etag":null,"topics":["cassandra","couchdb","hibernate","infinispan","java","mongodb","neo4j","nosql-datastores","redis"],"latest_commit_sha":null,"homepage":"http://hibernate.org/ogm/","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hibernate.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":"CONTRIBUTING.md","funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-04-13T11:40:56.000Z","updated_at":"2025-03-27T19:51:42.000Z","dependencies_parsed_at":"2024-09-12T16:51:12.120Z","dependency_job_id":"c8a801b0-cb8c-492c-88bc-ea53b37cc096","html_url":"https://github.com/hibernate/hibernate-ogm","commit_stats":{"total_commits":3642,"total_committers":65,"mean_commits":56.03076923076923,"dds":0.7004393190554641,"last_synced_commit":"38042cc2d380d73231675e2d443df062676ae2bc"},"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"purl":"pkg:github/hibernate/hibernate-ogm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibernate%2Fhibernate-ogm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibernate%2Fhibernate-ogm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibernate%2Fhibernate-ogm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibernate%2Fhibernate-ogm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hibernate","download_url":"https://codeload.github.com/hibernate/hibernate-ogm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hibernate%2Fhibernate-ogm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263633198,"owners_count":23491730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cassandra","couchdb","hibernate","infinispan","java","mongodb","neo4j","nosql-datastores","redis"],"created_at":"2024-07-31T17:00:43.936Z","updated_at":"2025-12-29T23:47:42.283Z","avatar_url":"https://github.com/hibernate.png","language":"Java","funding_links":[],"categories":["Libraries","数据库开发"],"sub_categories":["Java"],"readme":"# Hibernate OGM\n\n*Version: 5.4.2.Final - 2024-09-24*\n\n## Archived\n\nHibernate OGM has not been kept up to date with the latest Hibernate ORM versions and is not maintained anymore. If community members have interest in maintaining it, please [contact us](https://hibernate.org/community/).\n\n## Description\n\nHibernate OGM stores data in a NoSQL data grid using the Hibernate ORM engine.\n\nThe benefits are fairly obvious:\n - write your model once using well known JPA annotations and select the right NoSQL data grid for your project\n - Hibernate is familiar to many people\n - you end up being able to use all the tools of the Hibernate ecosystem such as Hibernate Search or Hibernate Validator\n\nCheckout \u003chttp://hibernate.org/ogm/\u003e for more information.\n\n## Core datastores and contrib datastores\n\nHibernate OGM supports a large number of NoSQL datastores.\n\nSome are included in this very repository:\n\n * Infinispan\n * MongoDB\n * Neo4j\n\nOthers are in separate repositories, called contrib:\n\n * [Cassandra](https://github.com/hibernate/hibernate-ogm-cassandra)\n * [CouchDB](https://github.com/hibernate/hibernate-ogm-couchdb)\n * [Ehcache](https://github.com/hibernate/hibernate-ogm-ehcache)\n * [Redis](https://github.com/hibernate/hibernate-ogm-redis)\n * [Ignite](https://github.com/hibernate/hibernate-ogm-ignite)\n\n## Useful pointers\n\nLatest Documentation:\n\n * Reference guide: \u003chttps://docs.jboss.org/hibernate/stable/ogm/reference/en-US/html_single/\u003e\n * Additional content: \u003chttp://community.jboss.org/en/hibernate/ogm\u003e\n\nBug Reports:\n\n * Hibernate JIRA (preferred): \u003chttps://hibernate.atlassian.net/projects/OGM/\u003e\n * Mailing list: \u003chibernate-dev@lists.jboss.org\u003e\n\nSupport:\n\n * The hibernate-ogm tag on Stackoverflow: \u003chttp://stackoverflow.com/questions/tagged/hibernate-ogm\u003e\n * Our forum: \u003chttps://discourse.hibernate.org/c/hibernate-ogm\u003e\n\n## Build instructions\n\nThe code is available on GitHub at \u003chttps://github.com/hibernate/hibernate-ogm\u003e.\n\nTo run the full project build including tests for all backends, documentation etc. execute:\n\n    mvn clean install\n\nNote that for running the test suite against separately installed MongoDB or Neo4j servers their host name must be specified via an environment variable.\nSee the sections below for the details.\n\nTo speed things up, there are several options for skipping parts of the build.\nTo run the minimum project build without integration tests, documentation and distribution execute:\n\n    mvn clean install -DskipITs -DskipDocs -DskipDistro\n\nThe following sections describe these options in more detail.\n\n### Importing sources in Eclipse\n\nImport the project as any standard Maven project.\nThis might trigger a dialog to automatically find and install additional m2e plugins: allow that.\n\nMake sure that annotation processing is enabled in your project settings (see \"Properties\" - \"Maven\" - \"Annotation Processing\", the setting should be \"Automatically configure JDT APT\").\n\n### Integration tests\n\nYou can skip integration tests by specifying the `skipITs` property:\n\n    mvn clean install -DskipITs\n\n### Documentation\n\nThe documentation is built by default as part of the project build. You can skip it by specifying the `skipDocs` property:\n\n    mvn clean install -DskipDocs\n\nIf you just want to build the documentation, run it from the _documentation/manual_ subdirectory.\n\nBy default, the following command only builds the HTML version of the documentation:\n\n    mvn clean install -f documentation/manual/pom.xml\n\nIf you also wish to generate the PDF version of the documentation, you need to use the `documentation-pdf` profile:\n\n    mvn clean install -f documentation/manual/pom.xml -Pdocumentation-pdf\n\n### Distribution\n\nThe distribution bundle is built by default as part of the project build. You can skip it by specifying the `skipDistro` property:\n\n    mvn clean install -DskipDistro\n\n### Integration tests\n\nIntegration tests can be run from the integrationtest module and the default behaviour is to download the WildFly application server,\nunpack the modules in it and run the tests using Arquillian.\n\n#### WARNING\nBe careful when using on existing installation since the modules used by the build are going to be extracted into the\nserver you want to run the test, changing the original setup.\n\n### MongoDB\n\nFor executing the tests in the _mongodb_ and _integrationtest/mongodb_ modules, by default the\n[embedmongo-maven-plugin](https://github.com/joelittlejohn/embedmongo-maven-plugin) is used which downloads the MongoDB\ndistribution, extracts it, starts a _mongod_ process and shuts it down after test execution.\n\nIf required, you can configure the port to which the MongoDB instance binds to (by default 27018)\nand the target directory for the extracted binary (defaults to _${project.build.directory}/embeddedMongoDb/extracted_) like this:\n\n    mvn clean install -DembeddedMongoDbTempDir=\u003cmy-temp-dir\u003e -DembeddedMongoDbPort=\u003cmy-port\u003e\n\nTo work with a separately installed MongoDB instance instead, specify the property `-DuseExternalMongoDb`:\n\n    mvn clean install -DuseExternalMongoDb\n\nThis assumes MongoDB to be installed on `localhost`, using the default port and no authentication.\nIf you work with different settings, configure the required properties in hibernate.properties (for the tests in _mongodb_)\nand/or the environment variables `MONGODB_HOSTNAME` `MONGODB_PORT` `MONGODB_USERNAME` `MONGODB_PASSWORD` (for the tests in _integrationtest/mongodb_)\nprior to running the tests:\n\n    export MONGODB_HOSTNAME=mongodb-machine\n    export MONGODB_PORT=1234\n    export MONGODB_USERNAME=someUsername\n    export MONGODB_PASSWORD=someP@ssw0rd\n    mvn clean install -DuseExternalMongoDb\n\n### Neo4j\n\nFor running the tests in the _neo4j_ and _integrationtest/neo4j_ modules, by default the\nembedded Neo4j configuration is used.\n\nHibernate OGM can connect to a Neo4j server remotely via the Bolt protocol or via HTTP.\nThese tests are not executed by default, you can run them using the following commands:\n\n    mvn clean install -Pneo4j-http\n\nor\n\n    mvn clean install -Pneo4j-bolt\n\nThis assumes Neo4j to be installed on `localhost`, using the default port and no authentication.\nIf you work with different settings, configure the required properties in hibernate.properties\nand/or the environment variables `NEO4J_HOSTNAME`, `NEO4J_PORT`, `NEO4J_USERNAME` and `NEO4J_PASSWORD`\nprior to running the tests:\n\n    export NEO4J_HOSTNAME=neo4j-machine\n    export NEO4J_PORT=1234\n    export NEO4J_USERNAME=someUsername\n    export NEO4J_PASSWORD=someP@ssw0rd\n\n## Notes\n\nIf you want to contribute, come to the \u003chibernate-dev@lists.jboss.org\u003e mailing list\nor join us on #hibernate-dev on freenode (login required)\n\nThis software and its documentation are distributed under the terms of the\nFSF Lesser Gnu Public License (see license.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhibernate%2Fhibernate-ogm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhibernate%2Fhibernate-ogm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhibernate%2Fhibernate-ogm/lists"}