You are here: Replication With Hibernate

Replication With Hibernate

The Java version of the db4o replication system allows you to replicate to a relational database using Hibernate.

Note that dRS needs event handlers which are added to the Hibernate session. It only works when you persist your data through Hibernate.

First you need to setup Hibernate and db4o to support replication. See "Getting Started"

The simplest use case is to replicate from db4o to Hibernate. See "Replicate From db4o To Hibernate". However most of the time bidirectional replication is the interesting scenario. See "Bidirectional Replication"

The enable replication the system has to store additional meta data. See "dRS Internals"

Note that the db4o to Hibernate replication has still major limitations. See "Limitations"