RedisGears Hibernate based write-behind
<repositories>
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>
and
<dependencies>
<dependency>
<groupId>com.redislabs</groupId>
<artifactId>rghibernate</artifactId>
<version>0.0.3-SNAPSHOT</version>
</dependency>
</dependencies>
- Change ./src/test/resources/hibernate.cfg.xml according to your database
- Creating a mapping xml files match hibernate format (look at ./src/test/resources/Student.hbm.xml) for example
- Deploy rghibernate to RedisGears
python3 ./gears.py <mapping_file_1> [<mapping_file_2> ...]