I don't get a warning when using <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
I see:
{code} 15:34:02,259 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 57) JBAS011410: Stopping Persistence Unit (phase 2 of 2) Service '2lcORM.jar#TEST_PU' 15:34:02,263 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 57) JBAS010282: Stopped 2lcORM.jar#TEST_PU.Employee cache from hibernate container 15:34:02,280 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 57) ISPN000031: MBeans were successfully registered to the platform MBean server. 15:34:02,280 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 57) JBAS010281: Started local-query cache from hibernate container 15:34:02,890 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 57) JBAS011410: Stopping Persistence Unit (phase 1 of 2) Service '2lcORM.jar#TEST_PU' 15:34:02,900 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment 2lcORM.jar (runtime-name: 2lcORM.jar) in 650ms 15:34:02,903 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "2lcORM.jar" (runtime-name: "2lcORM.jar") 15:34:02,917 INFO [org.jboss.as.jpa] (MSC service thread 1-8) JBAS011401: Read persistence.xml for TEST_PU 15:34:02,936 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 57) JBAS011409: Starting Persistence Unit (phase 1 of 2) Service '2lcORM.jar#TEST_PU' 15:34:02,937 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 57) HHH000204: Processing PersistenceUnitInfo [ name: TEST_PU ...] 15:34:02,962 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 57) JBAS011409: Starting Persistence Unit (phase 2 of 2) Service '2lcORM.jar#TEST_PU' 15:34:02,970 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 57) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 15:34:02,971 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 57) HHH000431: Unable to determine H2 database version, certain features may not work 15:34:02,977 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 57) HHH000397: Using ASTQueryTranslatorFactory 15:34:03,002 INFO [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 57) ISPN000031: MBeans were successfully registered to the platform MBean server. 15:34:03,003 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 57) JBAS010281: Started 2lcORM.jar#TEST_PU.Employee cache from hibernate container 15:34:04,577 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018565: Replaced deployment "2lcORM.jar" with deployment "2lcORM.jar" {code}
|