Commit Graph

417 Commits

Author SHA1 Message Date
Mark Struberg e9f3f9cdfc OPENJPA-2883 fix handling of java.sql.Time on MSSQL 2021-03-31 19:11:08 +02:00
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
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
Mark Struberg 305758fc96 OPENJPA-2664 move to commons-lang3
And also clean up ancient code parts.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1758808 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 16:27:51 +00:00
Mark Struberg 4452e34d58 upgrade pom description to reflect we are JPA-2.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757898 13f79535-47bb-0310-9956-ffa450edef68
2016-08-26 17:27:23 +00:00
Francesco Chicchiriccò 91ab1f089e Attempt to get cleaner test output
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757317 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 07:19:56 +00:00
Mark Struberg 4108566a70 OPENJPA-2659 upgrade to apache-parent-18
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1757179 13f79535-47bb-0310-9956-ffa450edef68
2016-08-22 14:09:47 +00:00
Mark Struberg 9d2963fc05 reactivate tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1756882 13f79535-47bb-0310-9956-ffa450edef68
2016-08-19 08:38:26 +00:00
Mark Struberg fa7f6e9f2e OPENJPA-2654 use released 1.0-alpha-1 jpa 2.1 spec API jar
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1756851 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 20:58:29 +00:00
Mark Struberg 64e9f3868f OPENJPA-2592 OPENJPA-2654 merge JPA-2.1 work originally done by rmannibucau in the openjpa-jpa-2.1 branch
Thanks to Romain for all the hard work!


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1756850 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 20:47:20 +00:00
Mark Struberg 41febbaab0 OPENJPA-2652 transition trunk to OpenJPA-3.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1756771 13f79535-47bb-0310-9956-ffa450edef68
2016-08-18 12:44:03 +00:00
Mark Struberg bde39c4bc9 OPENJPA-2641 upgrade build poms to most recent dependency versions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1743338 13f79535-47bb-0310-9956-ffa450edef68
2016-05-11 11:32:59 +00:00
Mark Struberg 0f55f9d133 OPENJPA-2641 upgrade build poms
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1743262 13f79535-47bb-0310-9956-ffa450edef68
2016-05-10 21:36:15 +00:00
Mark Struberg 4956830855 remove gone repository for agilejava
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1735511 13f79535-47bb-0310-9956-ffa450edef68
2016-03-17 22:22:28 +00:00
Mark Struberg 55e8a82558 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730419 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 22:23:47 +00:00
Mark Struberg c3d950747a [maven-release-plugin] prepare release 2.4.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730417 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 22:22:38 +00:00
Mark Struberg 27f9c5d395 upgrade to latest apache parent
Also remove the project.version trick again. Seems to give us snapshots instead of final versions in the tag. 
Not sure how else we can define the tag name schema we really like. 
For now it needs to get manually set during the release.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730412 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 21:41:42 +00:00
asf-sync-process 7aed5ecf48 [maven-release-plugin] rollback the release of 2.4.2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730401 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 20:48:55 +00:00
Mark Struberg 3396a59061 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730341 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 14:02:04 +00:00
Mark Struberg d7bcf2670e [maven-release-plugin] prepare release 2.4.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730338 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 14:00:52 +00:00
Jody Grassel ffaa46ef99 OPENJPA-2616: Update to Commons Collections 3.2.2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1715848 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 15:36:28 +00:00
Romain Manni-Bucau b88cbdee93 upgrading API (throwing exception for all new methods) to JPA 2.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/openjpa_jpa-2.1@1683942 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 19:19:11 +00:00
Mark Struberg 49d8a92962 OPENJPA-2595 upgrade to surefire 2.17
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683236 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 06:14:29 +00:00
Mark Struberg 0b26209a2f OPENJPA-2595 upgrade our test suite to junit-4
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683154 13f79535-47bb-0310-9956-ffa450edef68
2015-06-02 18:04:26 +00:00
Mark Struberg b62c0c6ce0 fix comment how to generate our javadoc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1683099 13f79535-47bb-0310-9956-ffa450edef68
2015-06-02 13:09:51 +00:00
Mark Struberg 432e6be333 configure maven-release-plugin to only use the project version as tag name
Means we drop the artifactId-projectversion default rule for OpenJPA.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1677750 13f79535-47bb-0310-9956-ffa450edef68
2015-05-05 08:13:34 +00:00
Mark Struberg 5235008137 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1674605 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 11:22:11 +00:00