Commit Graph

341 Commits

Author SHA1 Message Date
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
Mark Struberg ffe3fe4a50 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1833210 13f79535-47bb-0310-9956-ffa450edef68
2018-06-08 20:34:53 +00:00
Mark Struberg 101ee9946a [maven-release-plugin] prepare release openjpa-parent-3.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1833208 13f79535-47bb-0310-9956-ffa450edef68
2018-06-08 20:34:24 +00:00
Mark Struberg 627fb6e74c fixing overly strict Java8 JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1833202 13f79535-47bb-0310-9956-ffa450edef68
2018-06-08 19:54:43 +00:00
Mark Struberg 93f0193749 update javadoc links
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1833162 13f79535-47bb-0310-9956-ffa450edef68
2018-06-08 10:51:57 +00:00
Francesco Chicchiriccò b4c13fc0ed Exclude JUnit pulled in by Serp as compile dependency
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1810809 13f79535-47bb-0310-9956-ffa450edef68
2017-10-03 09:42:17 +00:00
Mark Struberg 2898b4e342 OPENJPA-2707 set Java version to 1.8
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1803043 13f79535-47bb-0310-9956-ffa450edef68
2017-07-26 13:03:47 +00:00
Francesco Chicchiriccò e2a8d2c966 changed version of maven-jar-plugin to 3.0.2 - This closes #8
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1797211 13f79535-47bb-0310-9956-ffa450edef68
2017-06-01 12:16:02 +00:00
Mark Struberg 3d905e17a7 OPENJPA-2677 upgrade to BVal-1.1.2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1768081 13f79535-47bb-0310-9956-ffa450edef68
2016-11-04 19:12:11 +00:00
Mark Struberg 6b8d4b9bcd OPENJPA-2677 prepare upgrade to BVal-1.1.2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1766814 13f79535-47bb-0310-9956-ffa450edef68
2016-10-27 13:15:29 +00:00
Mark Struberg 88a998eced OPENJPA-2669 add OSGi Karaf feature
Thanks to Christian Schneider (cschneider) for the contribution!


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1763517 13f79535-47bb-0310-9956-ffa450edef68
2016-10-06 08:33:09 +00:00
Mark Struberg 19a59684f0 OPENJPA-2667 upgrade to BVal-1.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1761771 13f79535-47bb-0310-9956-ffa450edef68
2016-09-21 15:43:11 +00:00
Mark Struberg 5cf5442d19 OPENJPA-2666 prepare for Java9
* remove ianal-maven-plugin This plugin is unmaintained and we are covered with RAT already.
* remove MaxPermSize as this will blow up with Java9. People should set JAVA_OPTS and MAVEN_OPTS instead.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1761526 13f79535-47bb-0310-9956-ffa450edef68
2016-09-20 06:30:42 +00:00
Mark Struberg f0286a268e OPENJPA-2665 refactor StringUtils
We now got rid of commons-lang. Makes 400kB less dependencies 
And guaranteed no classpath conflicts.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759663 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 19:04:18 +00:00
Mark Struberg 58baa13eb2 upgrade to jar-plugin 3.0.0 for Java9 support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759257 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 12:35:43 +00:00