You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by st...@apache.org on 2021/04/09 12:27:27 UTC
[openjpa] 01/02: new oracle docker image
This is an automated email from the ASF dual-hosted git repository.
struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openjpa.git
commit c7539a11715954db1b8d55789e386fa7dae0837f
Author: Mark Struberg <st...@apache.org>
AuthorDate: Fri Apr 9 14:22:53 2021 +0200
new oracle docker image
The old OracleX11 was plagued with connection problems,
which seems to be a known problem with that version.
---
pom.xml | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 6c6a3b5..55a367d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -70,6 +70,10 @@
anything else allows the test to execute normally
-->
<tests.openjpa.allowfailure>ignore</tests.openjpa.allowfailure>
+
+ <!-- By default we use DBCP2 via AutoDriverDataSource -->
+ <tests.openjpa.driverDataSource>dbcp</tests.openjpa.driverDataSource>
+
<!--turn on sources.jar generation by setting to verify and true -->
<createSource>none</createSource>
<createSources>false</createSources>
@@ -1504,6 +1508,9 @@
<oracle.server.version>latest</oracle.server.version>
<docker.external.oracle.port>1521</docker.external.oracle.port>
+ <!-- Oracle Driver + XE11 seems to not play well with DBCP2 -->
+ <tests.openjpa.driverDataSource>simple</tests.openjpa.driverDataSource>
+
<connection.driver.name>oracle.jdbc.driver.OracleDriver</connection.driver.name>
<openjpa.oracle.database>openjpatst</openjpa.oracle.database>
<openjpa.oracle.username>openjpatst</openjpa.oracle.username>
@@ -1541,7 +1548,8 @@
<images>
<image>
<!--<name>oracledb19c/oracle.19.3.0-ee:oracle19.3.0-ee</name>-->
- <name>oracleinanutshell/oracle-xe-11g</name>
+ <!--<name>oracleinanutshell/oracle-xe-11g</name>-->
+ <name>pvargacl/oracle-xe-18.4.0:latest</name>
<run>
<volumes>
<bind>
@@ -1934,6 +1942,10 @@
<name>tests.openjpa.allowfailure</name>
<value>${tests.openjpa.allowfailure}</value>
</property>
+ <property>
+ <name>openjpa.jdbc.DriverDataSource</name>
+ <value>${tests.openjpa.driverDataSource}</value>
+ </property>
</systemProperties>
</configuration>
</plugin>