Hibernate JPA module

The AcrossHibernateJpaModule activates JPA support for an entire Across application. It allows other modules to subscribe their entities to the shared JPA EntityManager represented by the AcrossHibernateJpaModule. The JPA implementation is built on top of Hibernate.

This module also activates support for Spring Data JpaRepository implementations and comes with a set of helpers to facilitate repository and entity implementations.

The AcrossHibernateJpaModule is compatible with regular Spring Boot JPA starter. If you have an Across application using JPA in your application module, you can add this module to your application, and it will transparently take over the EntityManager creation.

Artifacts

The Hibernate JPA module dependency is present in Across Platform.

<dependency>
     <groupId>com.foreach.across.modules</groupId>
     <artifactId>across-hibernate-module</artifactId>
</dependency>

Module name: AcrossHibernateJpaModule

Quick links

Release overview

Release Documentation
4.1.0.RELEASE current Javadoc Reference
4.0.0.RELEASE Javadoc Reference
3.0.0.RELEASE Javadoc Reference
2.0.1.RELEASE Javadoc Reference
1.1.1.RELEASE Javadoc Reference

Multiple entity managers

AcrossHibernateJpaModule can also serve as a base for multiple modules managing a different set of entities for other (or the same) datasources. The reference documentation section explains how you can easily create your own shared module with a Hibernate EntityManager.

Dependency table

Version Across Core Across Platform
4.x 5.x 5.x
3.x 3.x 2.1.x
2.x  2.x 2.0.x
1.x 1.1.2+ 1.1.x