Hibernate ORM within WildFly

The WildFly application server includes Hibernate ORM as the default JPA provider out of the box.

This means that you don’t need to package Hibernate ORM with the applications you deploy on WildFly, instead the application server will automatically enable Hibernate support if it detects that your application is using JPA.

You can also benefit from these modules when not using JPA, to avoid including Hibernate ORM and all its dependencies into your deployment. This will require activating the module explicitly using a jboss-deployment-structure.xml file or a Manifest entry: see Class Loading in WildFly for some examples.

Often a newer version of Hibernate ORM is available than the one coming with a given WildFly release; to make sure you can enjoy the latest version of Hibernate on any reasonably recent WildFly edition we publish WildFly feature packs, these can be used with various WildFly provisioning tools to create a custom server with a different version of Hibernate ORM.