Skip to content

MatthewDruid/hibernate-orm-on-java9-modules

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base on https://github.com/gunnarmorling/hibernate-orm-on-java9-modules

Hibernate ORM 5 as Java 9 automatic modules

A simple test bed for using Hibernate ORM 5 as (automatic) JPMS modules. Some things noteworthy:

  • Almost all dependencies are used as automatic modules, with the exception of java.transaction and java.persistence;
  • The JDK's java.transaction module is upgraded with org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:2.0.0.Alpha1, which adds all JTA types (with the exception of the XA package conflicting with the java.sql module)
  • hibernate-jpa-2.1-api-1.0.0.Final.jar can't be used as an automatic module as the naming algorithm stumples upon the "2.1" within the JAR name; so instead ModiTect (https://github.com/moditect/moditect/) is used to convert the JPA API JAR into an explicit JPMS module

All modules are gathered in target/modules, a simple test is run using the maven-exec-plugin based on this module path.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%