| This is expected, according to https://docs.jboss.org/hibernate/orm/5.2/topical/html_single/wildfly/Wildfly.html in "Limitations of using the custom WildFly modules" section: "When using these modules you’re going to give up on some of the integration which the application server normally automates. For example enabling an Infinispan 2nd level cache is straight forward when using the default Hibernate ORM module, as WildFly will automatically setup the dependency to the Infinispan and clustering components. When using these custom modules such integration will no longer work automatically: you can still enable all normally available features but these will require manual configuration, as if you were running Hibernate in a different container, or in no container." This information is not currently in the 5.1 documentation yet, but it does apply to 5.1 versions as well. |