blob: 096b9d71867c88c2ff5cf3eb8dcab1a9a19b941b [file] [log] [blame]
Apache Ignite Hibernate Module
------------------------------
Apache Ignite Hibernate module provides Hibernate second-level cache (L2 cache) implementation based
on Apache Ignite In-Memory Data Grid.
To enable Hibernate module when starting a standalone node, move 'optional/ignite-hibernate' folder to
'libs' folder before running 'ignite.{sh|bat}' script. The content of the module folder will
be added to classpath in this case.
Importing Hibernate Module In Maven Project
-------------------------------------------
If you are using Maven to manage dependencies of your project, you can add Hibernate module
dependency like this (replace '${ignite.version}' with actual Ignite version you are
interested in):
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
...
<dependencies>
...
<dependency>
<groupId>org.apache.ignite</groupId>
<artifactId>ignite-hibernate_4.2</artifactId>
<version>${ignite.version}</version>
</dependency>
...
</dependencies>
...
</project>
LGPL dependencies
-----------------
Ignite includes the following optional LGPL dependencies:
- Hibernate L2 Cache Integration, http://hibernate.org/orm/
- JTS Topology Suite for Geospatial indexing, http://tsusiatsoftware.net/jts/main.html
- cron4j for cron-based task scheduling, http://www.sauronsoftware.it/projects/cron4j
Apache binary releases cannot include LGPL dependencies. If you would like include
optional LGPL dependencies into your release, you should download the source release
from Ignite website and do the build with the following maven command:
mvn clean package -DskipTests -Prelease,lgpl