If you're interested in another version, click it below:
• GigaSpaces 6.0
Overview
GigaSpaces DataProvider/DataPersister interfaces (with a built in implementation using Hibernate) can be used to store data in an existing data source and in the space: Data is loaded from the data source during space initialization (DataProvider), and from then onwards the application works with the space directly. Meanwhile, the data source is constantly updated with all changes made in the space (DataPersister).
The difference between this persistency option and the Mirror is with how data is persisted back to the database. With the mirror, data is persisted in a reliable asynchronous manner using the mirror Space.
Configuration
GigaSpaces comes with a built in implementation of DataProvider and DataPersister called HibenrateDataSource. Here is how it can be configured with a simple Space connecting to a central data source:
The external-data-source element within the persistent schema allows for further configuration of the external data source. The values can be injected using the properties tag within the Space tag using the "xpath" notation.
GigaSpaces 6.5 Documentation Contents (Current Page in Bold)