This ZIP file will contain all the JAR files and module.xml descriptors required to use a given version of Hibernate ORM on WildFly, as an alternative to the ORM version coming with WildFly out of the box. The file just needs to be unzipped into the server's module directory, and the specific "slot version" needs to be set in _persistence.xml_ so to override the ORM version used by default:
{code} jboss.as.jpa.providerModule=org.hibernate:5.1.1.Final {code}
Using the alias mechanism, it also will be possible to just depend on a given minor version:
{code} jboss.as.jpa.providerModule=org.hibernate:5.1 {code}
This minor alias will point to the modules unzipped last. So if e.g. unzipping the 5.1.1.Final module ZIP and then later on unzipping the 5.1.2.Final module ZIP, the module dependency "org.hibernate:5.1" will point to 5.1.2.Final. |
|