This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/master by this push:
     new eec418cb30 TOMEE-3954 - Fix TomEE :: Examples :: JPA with Hibernate 
and arquillian
eec418cb30 is described below

commit eec418cb300ce7ea97cf2926ea2a4d9be20196b1
Author: Richard Zowalla <[email protected]>
AuthorDate: Wed May 11 13:39:31 2022 +0200

    TOMEE-3954 - Fix TomEE :: Examples :: JPA with Hibernate and arquillian
---
 examples/jpa-hibernate-arquillian/README.adoc        | 20 ++++++++------------
 .../src/test/resources/arquillian.xml                |  4 +---
 2 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/examples/jpa-hibernate-arquillian/README.adoc 
b/examples/jpa-hibernate-arquillian/README.adoc
index 357e1ace7e..b012ecbea8 100644
--- a/examples/jpa-hibernate-arquillian/README.adoc
+++ b/examples/jpa-hibernate-arquillian/README.adoc
@@ -3,7 +3,7 @@
 :jbake-type: page
 :jbake-status: published
 
-This example shows the persist, remove and creation  of an entity with JPA and 
Hibernate 5 using arquillian for the test.
+This example shows the persist, remove and creation of an entity with JPA and 
Hibernate 5 using arquillian for the test.
 
 The Java Persistence API (JPA) is a Java specification for accessing, 
persisting, and managing data between Java objects / classes and a relational 
database.
 
@@ -192,18 +192,14 @@ The property `additionalLibs` provide to the server the 
jar files required for H
             <property name="cleanOnStartUp">true</property>
             <property name="additionalLibs">
                 <!-- add hibernate 5 need it jars to the server-->
-                mvn:org.hibernate:hibernate-entitymanager:5.4.10.Final
-                mvn:org.hibernate:hibernate-core:5.4.10.Final
-                
mvn:org.hibernate.common:hibernate-commons-annotations:5.1.0.Final
+                mvn:org.hibernate:hibernate-core-jakarta:5.6.8.Final
+                
mvn:org.hibernate.common:hibernate-commons-annotations:5.1.2.Final
                 mvn:antlr:antlr:2.7.7
-                mvn:org.jboss:jandex:1.1.0.Final
+                mvn:org.jboss:jandex:2.4.2.Final
                 mvn:org.jboss.logging:jboss-logging:3.3.2.Final
-                mvn:dom4j:dom4j:1.6.1
-                mvn:org.javassist:javassist:3.18.1-GA
-                mvn:net.bytebuddy:byte-buddy:1.10.2
-                mvn:com.fasterxml:classmate:1.0.0
+                mvn:net.bytebuddy:byte-buddy:1.12.8
+                mvn:com.fasterxml:classmate:1.5.1
             </property>
-
         </configuration>
     </container>
 </arquillian>
@@ -217,10 +213,10 @@ The property `additionalLibs` provide to the server the 
jar files required for H
 Now we do a test with the following workflow:
 
 - Insert a movie.
-- Confirm that a movie was persisted by querying the number of movies from the 
data base.
+- Confirm that a movie was persisted by querying the number of movies from the 
database.
 - Insert a second movie.
 - Delete the first movie
-- Confirm that the second movie is the only available in the data base.
+- Confirm that the second movie is the only available in the database.
 
 [source,java]
 ----
diff --git 
a/examples/jpa-hibernate-arquillian/src/test/resources/arquillian.xml 
b/examples/jpa-hibernate-arquillian/src/test/resources/arquillian.xml
index 763a44bc1f..1aa49c617c 100644
--- a/examples/jpa-hibernate-arquillian/src/test/resources/arquillian.xml
+++ b/examples/jpa-hibernate-arquillian/src/test/resources/arquillian.xml
@@ -28,8 +28,7 @@
             <property 
name="appWorkingDir">target/arquillian-remote-working-dir</property>
             <property name="cleanOnStartUp">true</property>
             <property name="additionalLibs">
-                <!-- add hibernate 5 need it jars to the server-->
-                mvn:org.hibernate:hibernate-core-jakarta:5.6.7.Final
+                mvn:org.hibernate:hibernate-core-jakarta:5.6.8.Final
                 
mvn:org.hibernate.common:hibernate-commons-annotations:5.1.2.Final
                 mvn:antlr:antlr:2.7.7
                 mvn:org.jboss:jandex:2.4.2.Final
@@ -37,7 +36,6 @@
                 mvn:net.bytebuddy:byte-buddy:1.12.8
                 mvn:com.fasterxml:classmate:1.5.1
             </property>
-<!--            <property name="debug">true</property>-->
         </configuration>
     </container>
 </arquillian>

Reply via email to