Commit Graph

355 Commits

Author SHA1 Message Date
Francesco Chicchiriccò 666ae82f3b Fixing Maven build 2020-03-23 09:13:46 +01:00
Romain Manni-Bucau ae9b2a904b OPENJPA-2809 adding openjpa-junit5 module 2020-03-17 17:17:19 +01:00
Maxim Solodovnik 44c4d8dc02 [OPENJPA-2798] Automatic-Module-Name is added 2020-03-15 15:59:45 +07:00
Mark Struberg e4227473b0 OPENJPA-2798 use geronimo-jpa-2.2 spec api which use a module name 2020-03-13 15:14:16 +01:00
Mark Struberg 962cbbc624 Revert "[OPENJPA-2798] java11 friendly (#57)"
this introduces a dependency which requires attribution. No need to imo

This reverts commit 7ec0015edf.
2020-02-29 16:05:56 +01:00
Mark Struberg fd9585839a [maven-release-plugin] prepare for next development iteration 2020-02-14 12:12:11 +01:00
Mark Struberg 1440702eec [maven-release-plugin] prepare release 3.1.1 2020-02-14 12:12:01 +01:00
Francesco Chicchiriccò 6a3395dc79 [OPENJPA-2801] Introducing KubernetesTCPRemoteCommitProvider 2020-01-28 11:12:25 +01:00
Maxim Solodovnik 7ec0015edf
[OPENJPA-2798] java11 friendly (#57)
* [OPENJPA-2798] geronimo-jpa_2.2_spec is replaced with jakarta.persistence, Automatic module names are added
2020-01-16 20:00:56 +07:00
Francesco Chicchiriccò cc26907bab Using https whenever possible + adjusting archive URLs + license ref as per MPIR-382 2019-05-15 10:50:42 +02:00
Mark Struberg 9f26ed29bf [maven-release-plugin] prepare for next development iteration 2019-04-10 20:13:15 +02:00
Mark Struberg afcec21a1d [maven-release-plugin] prepare release 3.1.0 2019-04-10 20:13:04 +02:00
Mark Struberg 11cfff3f78 move to 3.1.0-SNAPSHOT as we upped the jpa-spec API to 2.2 2019-03-31 22:32:56 +02:00
Mark Struberg 44aede26df OPENJPA-2747 upgrade to JPA-2.2 api 2019-03-05 14:29:01 +01:00
Maxim Solodovnik 697c4d96ab
[OPENJPA-2748] commons-dbcp2 is updated to most recent version 2019-03-04 17:04:45 +07:00
Mark Struberg 1690076b37 fix formatting and readability 2019-02-14 15:25:50 +01:00
Mark Struberg b714dbae18 use correct name for the db 2019-02-07 09:56:15 +01:00
Mark Struberg de316bc018 OPENJPA-2753 add profile for MSSqlServer docker 2019-02-07 09:32:31 +01:00
Maxim Solodovnik e4197b0c42 [OPENJPA-2748] commons-collection4 is updated to release version 2019-02-05 11:06:35 +07:00
Mark Struberg 0cd523b1f5 move back to h2-1.4.196 due to a Time bug in h2 197 2019-02-01 14:58:23 +01:00
Mark Struberg ad4ed02728 OPENJPA-2713 fix h2 2019-01-30 22:33:08 +01:00
Mark Struberg 9f0631bbf4 switch back to old mariadb connectorj due to a bug
MariaDB connectorj-2.3.0 has a bug with ESCAPE handling.
This leads to many tests blow up with Exceptions.
The respective bug is https://jira.mariadb.org/browse/CONJ-664
2.3.1 should be safe again, but is not yet out.
Thus switching back to 2.2.0.
2019-01-26 21:55:30 +01:00
Mark Struberg 40d19ebc6c OPENJPA-2768 delete xmlstore test db between runs.
This did lead to errors when running the tests multiple times.
2019-01-14 09:02:44 +01:00
Mark Struberg d35ea4bb06 OPENJPA-2753 use an oracle12_xe docker container
It seems Oracle11 had really a problem with XMLType handling internally.
It did seemingly random return a 0x00 at position 4000 of a xmltype.
This got fixed in Oracle12
2019-01-10 13:27:42 +01:00
Mark Struberg 08acaa4f55 OPENJPA-2753 add dbcp settings to Oracle Docker profile
This will fix the bug with the massive parallel test
2019-01-07 23:00:36 +01:00
Mark Struberg bb6bad0702 OPENJPA-2753 add a profile for Oracle as Docker image
-Ptest-oracle-docker
as new profile to start Oracle 11_XE
2019-01-06 23:43:41 +01:00
Mark Struberg d25ed12902 OPENJPA-2753 improve postgresql docker setup 2019-01-03 00:17:03 +01:00
Mark Struberg d3790f70c7 OPENJPA-2754 also move postgres config to dbcp2 maxTotal
maxActive doesn't exist anymore. It is now maxTotal.
2019-01-02 13:18:52 +01:00
Mark Struberg fa96d6df02 OPENJPA-2754 implement a workaround for the bug in commons-pool2
By setting maxIdle to > 0 we can work around the bug and
even pass your test with the old versions.
2019-01-02 11:17:38 +01:00
Francesco Chicchiriccò 73f3957240 Disabling doclint to allow Javadoc building on Oracle JDK 2018-12-07 16:49:44 +01:00
Francesco Chicchiriccò 5a502cce24 Disabling doclint to allow Javadoc building on Oracle JDK 2018-12-07 16:33:26 +01:00
Maxim Solodovnik 6947da342f Doc build with OpenJdk should be fixed 2018-12-06 16:51:53 +07:00
Maxim Solodovnik 6fe8f101df Documentation build is partially fixed 2018-12-03 18:20:37 +07:00
Mark Struberg 9eb7e2b145 OPENJPA-2753 add a profile test-mariadb-docker 2018-11-16 13:12:37 +01:00
Maxim Solodovnik d874cbf6d3
[OPENJPA-2754] maxActive -> maxTotal (#24)
* [OPENJPA-2754] maxActive -> maxTotal

* commons-pool2 and commons-dbcp2 versions are updated, setMaxActive is deprecated with warn being logged

* DBCPDriverDataSource and AutoDriverDataSource are removed

* BasicDataSource is being loaded in case jdbc.DriverDataSource is set to 'dbcp'

* Normal call is replaced with reflection
2018-11-16 13:48:40 +07:00
Mark Struberg 7f4997b68a fix SCM and release-plugin sections for GIT 2018-11-10 21:50:43 +01:00
Mark Struberg c42aff8fff OPENJPA-2753 add a profile test-postgresql-docker 2018-11-03 22:54:12 +01:00
Mark Struberg f7a4445e68 OPENJPA-2753 downgade to 5.1.x MySQL jdbc driver
mysql-jdbc-8.0.13 has a nasty bug in handling DATE columns.
from 1978-04-26-00:00:00+1 the JDBC driver adopts to the server TZ (GMT)
-> 1978-04-25-23:00:00GMT
then cuts off the hour
-> 1978-04-25 and stores this in the DB

When reading back we get:
1978-04-25 expanded to 1978-04-25-00:00:00GMT
-> adopted to locale timezone: 1978-04-25-01:00:00CET
which is then on the wrong day :(
2018-11-02 13:42:25 +01:00
Mark Struberg 9461ffdfcd OPENJPA-2775 OPENJPA-2555 fraction of seconds in MySQL
This is a first fix for supporting fractions of a second in MySQL.
2018-10-31 20:51:31 +01:00
Mark Struberg 165279436c use local connection without SSL for MySQL in Docker 2018-10-30 13:45:57 +01:00
Mark Struberg 7ece63de3c replace tabs with spaces - no functional change!
Space indention is what we use in most of OpenJPA.
2018-10-28 13:07:42 +01:00
Mark Struberg 5c38bfaa49 OPENJPA-2754 update to latest dbcp2 SNAPSHOT
This also requires us to update to apache commons-pool-2.6.1-SNAPSHOT
and commons-dbcp2-2.6.0-SNAPSHOT.
Both are NOT yet released, but important to solve a deadlock which kills
our unit tests and has already hit me in production as well.
2018-10-28 13:05:08 +01:00
Mark Struberg 9d4b2ece3b OPENJPA-2753 deduplicate database configurations
various DB configs got moved to the parent pom to have it
available in all modules without the need to copy them through.
2018-10-23 10:33:25 +02:00
Mark Struberg 3bd73ab7d8 OPENJPA-2753 introduce Docker for mysql 2018-10-22 21:06:43 +02:00
Maxim Solodovnik 9a5096308c [OPENJPA-2752] libraries are updated to most recent versions 2018-10-18 12:38:31 +07:00
Maxim Solodovnik 4709f38ba2 [OPENJPA-2748] commons-collection is updated to most recent version
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1841941 13f79535-47bb-0310-9956-ffa450edef68
2018-09-25 15:16:54 +00:00
Francesco Chicchiriccò f399f912cf [OPENJPA-2750] Commons dbcp is updated to latest version - thx @solomax - This closes #22
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1841800 13f79535-47bb-0310-9956-ffa450edef68
2018-09-24 06:41:20 +00:00
Francesco Chicchiriccò 6c4c77aa78 [OPENJPA-2744] commons-pool is updated to the most recent version - thanks @solomax - This closes #19
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1839885 13f79535-47bb-0310-9956-ffa450edef68
2018-09-02 13:59:07 +00:00
Francesco Chicchiriccò e5f3551a81 Setting explicit versions of karaf-maven-plugin and build-helper-maven-plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1834617 13f79535-47bb-0310-9956-ffa450edef68
2018-06-28 15:08:58 +00:00
Mark Struberg 74c5980a94 pin down the tag name to just the version
this is what we used to have historically


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1834504 13f79535-47bb-0310-9956-ffa450edef68
2018-06-27 14:09:40 +00:00