All Projects → hibernate → Hibernate Ogm

hibernate / Hibernate Ogm

Licence: lgpl-2.1
Hibernate OGM - Domain model persistence for NoSQL datastores

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Hibernate Ogm

Firecamp
Serverless Platform for the stateful services
Stars: ✭ 194 (-35.12%)
Mutual labels:  redis, mongodb, cassandra, couchdb
Phpfastcache
A high-performance backend cache system. It is intended for use in speeding up dynamic web applications by alleviating database load. Well implemented, it can drops the database load to almost nothing, yielding faster page load times for users, better resource utilization. It is simple yet powerful.
Stars: ✭ 2,171 (+626.09%)
Mutual labels:  redis, mongodb, cassandra, couchdb
Migrate
Database migrations. CLI and Golang library.
Stars: ✭ 2,315 (+674.25%)
Mutual labels:  mongodb, neo4j, cassandra
Testcontainers Spring Boot
Container auto-configurations for spring-boot based integration tests
Stars: ✭ 460 (+53.85%)
Mutual labels:  redis, mongodb, neo4j
Springbootunity
rabbitmq、redis、scheduled、socket、mongodb、Swagger2、spring data jpa、Thymeleaf、freemarker etc. (muti module spring boot project) (with spring boot framework,different bussiness scence with different technology。)
Stars: ✭ 845 (+182.61%)
Mutual labels:  hibernate, redis, mongodb
Superboot
随着技术日新月异,新技术新平台不断出现,对现如今的开发人员来说选择快速高效的框架进行项目开发,既能提高产出,又能节约时间。本框架无需开发即可实现服务注册、服务发现、负载均衡、服务网关、配置中心、API管理、分布式事务、支撑平台、集成框架、数据传输加密等功能,是学习SpringCloud整体业务模式的完整示例,并且可以直接用于生产环境
Stars: ✭ 341 (+14.05%)
Mutual labels:  hibernate, redis, mongodb
My Moments
Instagram Clone - Cloning Instagram for learning purpose
Stars: ✭ 140 (-53.18%)
Mutual labels:  mongodb, neo4j, cassandra
Grails Data Mapping
GORM - Groovy Object Mapping
Stars: ✭ 194 (-35.12%)
Mutual labels:  hibernate, mongodb, neo4j
Migrate
Database migrations. CLI and Golang library.
Stars: ✭ 7,712 (+2479.26%)
Mutual labels:  mongodb, neo4j, cassandra
Pifpaf
Python fixtures and daemon managing tools for functional testing
Stars: ✭ 161 (-46.15%)
Mutual labels:  redis, mongodb, couchdb
Nosqlmap
Automated NoSQL database enumeration and web application exploitation tool.
Stars: ✭ 1,928 (+544.82%)
Mutual labels:  redis, mongodb, couchdb
Spring Data Examples
Examples for using Spring Data for JPA, MongoDB, Neo4j, Redis
Stars: ✭ 181 (-39.46%)
Mutual labels:  redis, mongodb, neo4j
Stream Reactor
Streaming reference architecture for ETL with Kafka and Kafka-Connect. You can find more on http://lenses.io on how we provide a unified solution to manage your connectors, most advanced SQL engine for Kafka and Kafka Streams, cluster monitoring and alerting, and more.
Stars: ✭ 753 (+151.84%)
Mutual labels:  redis, mongodb, cassandra
Nodbi
Document DBI connector for R
Stars: ✭ 56 (-81.27%)
Mutual labels:  redis, mongodb, couchdb
Zend Diagnostics
Universal set of diagnostic tests for PHP applications.
Stars: ✭ 192 (-35.79%)
Mutual labels:  redis, mongodb, couchdb
Zapi
基于swoole的异步轻量级api框架,内部封装全套mysql、redis、mongo、memcached异步客户端,可以轻松start、reload、stop,加入数据库的查询模块,框架已经封装好近乎同步写法,底层异步调用。现已支持异步mysql、异步redis、异步http请求.
Stars: ✭ 245 (-18.06%)
Mutual labels:  redis, mongodb
Cqrs Clean Eventual Consistency
CQRS, using Clean Architecture, multiple databases and Eventual Consistency
Stars: ✭ 247 (-17.39%)
Mutual labels:  redis, mongodb
Javaquarkbbs
基于Spring Boot实现的一个简易的Java社区
Stars: ✭ 755 (+152.51%)
Mutual labels:  hibernate, redis
Spring Dubbo Service
微服务 spring dubbo项目:dubbo rpc;druid数据源连接池;mybatis配置集成,多数据源;jmx监控MBean;定时任务;aop;ftp;测试;Metrics监控;参数验证;跨域处理;shiro权限控制;consul服务注册,发现;redis分布式锁;SPI服务机制;cat监控;netty服务代理;websocket;disconf;mongodb集成;rest;docker;fescar
Stars: ✭ 224 (-25.08%)
Mutual labels:  redis, mongodb
Hibernate Redis
hibernate 2nd level cache privder using redis
Stars: ✭ 345 (+15.38%)
Mutual labels:  hibernate, redis

Hibernate OGM

Version: 5.4.1.Final - 18-12-2018

Description

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

The benefits are fairly obvious:

  • write your model once using well known JPA annotations and select the right NoSQL data grid for your project
  • Hibernate is familiar to many people
  • you end up being able to use all the tools of the Hibernate ecosystem such as Hibernate Search or Hibernate Validator

Checkout http://hibernate.org/ogm/ for more information.

Core datastores and contrib datastores

Hibernate OGM supports a large number of NoSQL datastores.

Some are included in this very repository:

  • Infinispan
  • MongoDB
  • Neo4j

Others are in separate repositories, called contrib:

Useful pointers

Latest Documentation:

Bug Reports:

Support:

Build instructions

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

To run the full project build including tests for all backends, documentation etc. execute:

mvn clean install -s settings-example.xml

Note that for running the test suite against separately installed MongoDB or Neo4j servers their host name must be specified via an environment variable. See the sections below for the details.

To speed things up, there are several options for skipping parts of the build. To run the minimum project build without integration tests, documentation and distribution execute:

mvn clean install -DskipITs -DskipDocs -DskipDistro -s settings-example.xml

The following sections describe these options in more detail.

Importing sources in Eclipse

Import the project as any standard Maven project. This might trigger a dialog to automatically find and install additional m2e plugins: allow that.

Make sure that annotation processing is enabled in your project settings (see "Properties" - "Maven" - "Annotation Processing", the setting should be "Automatically configure JDT APT").

Integration tests

You can skip integration tests by specifying the skipITs property:

mvn clean install -DskipITs -s settings-example.xml

Documentation

The documentation is built by default as part of the project build. You can skip it by specifying the skipDocs property:

mvn clean install -DskipDocs -s settings-example.xml

If you just want to build the documentation, run it from the documentation/manual subdirectory.

By default, the following command only builds the HTML version of the documentation:

mvn clean install -f documentation/manual/pom.xml -s settings-example.xml

If you also wish to generate the PDF version of the documentation, you need to use the documentation-pdf profile:

mvn clean install -f documentation/manual/pom.xml -s settings-example.xml -Pdocumentation-pdf

Distribution

The distribution bundle is built by default as part of the project build. You can skip it by specifying the skipDistro property:

mvn clean install -DskipDistro -s settings-example.xml

Integration tests

Integration tests can be run from the integrationtest module and the default behaviour is to download the WildFly application server, unpack the modules in it and run the tests using Arquillian.

WARNING

Be careful when using on existing installation since the modules used by the build are going to be extracted into the server you want to run the test, changing the original setup.

MongoDB

For executing the tests in the mongodb and integrationtest/mongodb modules, by default the embedmongo-maven-plugin is used which downloads the MongoDB distribution, extracts it, starts a mongod process and shuts it down after test execution.

If required, you can configure the port to which the MongoDB instance binds to (by default 27018) and the target directory for the extracted binary (defaults to ${project.build.directory}/embeddedMongoDb/extracted) like this:

mvn clean install -s settings-example.xml -DembeddedMongoDbTempDir=<my-temp-dir> -DembeddedMongoDbPort=<my-port>

To work with a separately installed MongoDB instance instead, specify the property -DuseExternalMongoDb:

mvn clean install -s settings-example.xml -DuseExternalMongoDb

This assumes MongoDB to be installed on localhost, using the default port and no authentication. If you work with different settings, configure the required properties in hibernate.properties (for the tests in mongodb) and/or the environment variables MONGODB_HOSTNAME MONGODB_PORT MONGODB_USERNAME MONGODB_PASSWORD (for the tests in integrationtest/mongodb) prior to running the tests:

export MONGODB_HOSTNAME=mongodb-machine
export MONGODB_PORT=1234
export MONGODB_USERNAME=someUsername
export [email protected]
mvn clean install -s settings-example.xml -DuseExternalMongoDb

Neo4j

For running the tests in the neo4j and integrationtest/neo4j modules, by default the embedded Neo4j configuration is used.

Hibernate OGM can connect to a Neo4j server remotely via the Bolt protocol or via HTTP. These tests are not executed by default, you can run them using the following commands:

mvn clean install -s settings-example.xml -Pneo4j-http

or

mvn clean install -s settings-example.xml -Pneo4j-bolt

This assumes Neo4j to be installed on localhost, using the default port and no authentication. If you work with different settings, configure the required properties in hibernate.properties and/or the environment variables NEO4J_HOSTNAME, NEO4J_PORT, NEO4J_USERNAME and NEO4J_PASSWORD prior to running the tests:

export NEO4J_HOSTNAME=neo4j-machine
export NEO4J_PORT=1234
export NEO4J_USERNAME=someUsername
export [email protected]

Notes

If you want to contribute, come to the [email protected] mailing list or join us on #hibernate-dev on freenode (login required)

This software and its documentation are distributed under the terms of the FSF Lesser Gnu Public License (see license.txt).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].