I'm testing the latest WildFly Beta (11.0.0.Beta1) and I think it's worth to know that what is described here:
https://docs.jboss.org/hibernate/orm/5.2/topical/html_single/wildfly/Wildfly.html
does not work in 10 11 .0.0.Beta1 which throws the following exception.
{code} Caused by: java.lang.AbstractMethodError: org.jboss.as.jpa.hibernate5.HibernatePersistenceProviderAdaptor.beanManagerLifeCycle(Ljavax/enterprise/inject/spi/BeanManager;)Ljava/lang/Object; at org.jboss.as.jpa//org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl.<init>(PhaseOnePersistenceUnitServiceImpl.java:89) at org.jboss.as.jpa //org . jboss.as.jpa. processor.PersistenceUnitServiceHandler.deployPersistenceUnitPhaseOne(PersistenceUnitServiceHandler.java:487) at org.jboss.as.jpa //org . jboss.as.jpa. processor.PersistenceUnitServiceHandler.addPuService(PersistenceUnitServiceHandler.java:279) at org.jboss.as.jpa //org . jboss.as.jpa. processor.PersistenceUnitServiceHandler.handleWarDeployment(PersistenceUnitServiceHandler.java:206) at org.jboss.as.jpa //org . jboss.as.jpa. processor.PersistenceUnitServiceHandler.deploy(PersistenceUnitServiceHandler.java:134) at org.jboss.as.jpa //org . jboss.as.jpa. processor.PersistenceBeginInstallProcessor.deploy(PersistenceBeginInstallProcessor.java:52) at org.jboss.as.server //org . jboss.as.server. deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165) ... 5 more {code} |
|