Commit Graph

327 Commits

Author SHA1 Message Date
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