Commit Graph

366 Commits

Author SHA1 Message Date
Mark Struberg 80a16896f1 disable MSSQL from LOB stream tests
From the MS SQL Server documentation, it looks like JDBC4 drivers changed the behaviour.
"The next call to a getter method implicitly closes the stream".
Thus storing the InputStream in an entity will always result in a closed stream.
Since JDBC4 all drivers should behave that way actually.
And this is a sane way to prevent file handle leaks.
2021-03-30 21:44:43 +02:00
Mark Struberg 8283ea0fb2 OPENJPA-2850 use VARBINARY(MAX) instead BLOB column type 2021-03-30 09:19:57 +02:00
Mark Struberg 61b30777d4 OPENJPA-2842 log4j vs log4j2 logging fixed
* introduce new 'log4j2' LogFactory
* switch back old 'log4j' LogFactory to log4j-1.x
2020-12-01 11:35:29 +01:00
Romain Manni-Bucau 910a812a15 [OPENJPA-2833] asm 9 2020-09-29 16:57:20 +02:00
Romain Manni-Bucau 33fc72ac85 [OPENJPA-2831] import [collections4] used classes and drop the dependency 2020-09-16 12:17:13 +02:00
Mark Struberg 06ee81dc0b update maven-assembly plugin to fix reactor behaviour for site 2020-09-06 13:38:13 +02:00
Mark Struberg f831ef17c1 remove m2e plugin which doesn't seem to exist any longer 2020-09-05 15:24:36 +02:00
Mark Struberg f18f28b633 [maven-release-plugin] prepare for next development iteration 2020-07-07 11:19:15 +02:00
Mark Struberg 66d2a72cb2 [maven-release-plugin] prepare release 3.1.2 2020-07-07 11:19:15 +02:00
Mark Struberg 6aa22031e1 OPENJPA-2798 update to newest jpa spec revision
for auto module names
2020-07-06 13:57:50 +02:00
Romain Manni-Bucau a975a3d1c6 OPENJPA-2811 asm8 support 2020-04-27 16:52:24 +02:00
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