[openjpa] branch master updated (6a7adde -> 477d73a)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[openjpa] branch master updated (6a7adde -> 477d73a)

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

struberg pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/openjpa.git.


    from 6a7adde  OPENJPA-2868 update invalid column names for PostgreSQL
     new f3c65f0  Start HerdDB profile
     new 477d73a  OPENJPA-2816 fix herddb jdbc driver class name

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
Reply | Threaded
Open this post in threaded view
|

[openjpa] 01/02: Start HerdDB profile

struberg
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 f3c65f01ade84a50f6232cd4c279c4bd948ee14b
Author: Enrico Olivelli <[hidden email]>
AuthorDate: Sat Apr 10 16:55:53 2021 +0200

    Start HerdDB profile
---
 pom.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/pom.xml b/pom.xml
index e4d6232..6697705 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1102,6 +1102,58 @@
             </properties>
         </profile>
 
+        <!-- Profile for testing with HerdDB -->
+        <profile>
+            <id>test-herddb-docker</id>
+            <activation>
+                <property>
+                    <name>test-herddb-docker</name>
+                </property>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.herddb</groupId>
+                    <artifactId>herddb-jdbc</artifactId>
+                    <version>0.22.0</version>
+                    <scope>test</scope>
+                </dependency>
+            </dependencies>
+            <properties>
+                <connection.driver.name>org.herddb.jdbc.Driver</connection.driver.name>
+
+                <connection.url>jdbc:herddb://localhost</connection.url>
+                <connection.username>sa</connection.username>
+                <connection.password>hdb</connection.password>
+                <jdbc.DBDictionary />
+
+                <!-- DBCP overrides for testing -->
+                <dbcp.maxIdle>5</dbcp.maxIdle>
+                <dbcp.minIdle>0</dbcp.minIdle>
+
+            </properties>
+
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>io.fabric8</groupId>
+                        <artifactId>docker-maven-plugin</artifactId>
+                        <configuration>
+                            <images>
+                                <image>
+                                    <name>herddb/herddb:latest</name>
+                                    <run>
+                                        <ports>
+                                            <port>7000:7000</port>
+                                        </ports>
+                                    </run>
+                                </image>
+                            </images>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+
         <!-- Profile for testing with a custom DB using a system jar -->
         <!--
             For example, to test with Oracle, you might run:
Reply | Threaded
Open this post in threaded view
|

[openjpa] 02/02: OPENJPA-2816 fix herddb jdbc driver class name

struberg
In reply to this post by struberg
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 477d73a99682f4b029e1f52767e70a6061a04ad3
Author: Mark Struberg <[hidden email]>
AuthorDate: Wed May 5 07:33:50 2021 +0200

    OPENJPA-2816 fix herddb jdbc driver class name
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 6697705..4914a3c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1119,7 +1119,7 @@
                 </dependency>
             </dependencies>
             <properties>
-                <connection.driver.name>org.herddb.jdbc.Driver</connection.driver.name>
+                <connection.driver.name>herddb.jdbc.Driver</connection.driver.name>
 
                 <connection.url>jdbc:herddb://localhost</connection.url>
                 <connection.username>sa</connection.username>
@@ -1128,7 +1128,7 @@
 
                 <!-- DBCP overrides for testing -->
                 <dbcp.maxIdle>5</dbcp.maxIdle>
-                <dbcp.minIdle>0</dbcp.minIdle>
+                <dbcp.minIdle>1</dbcp.minIdle>
 
             </properties>