Commit Graph

1376 Commits

Author SHA1 Message Date
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 39bde81aa2 OPENJPA-2757 upgrade to xbean-asm7 for Java7 support 2018-11-10 21:33:02 +01:00
Maxim Solodovnik 9a5096308c [OPENJPA-2752] libraries are updated to most recent versions 2018-10-18 12:38:31 +07:00
Mark Struberg 08bb3a5a0e move openjpa-lib tests to junit4 style
No more junit3 extends TestCase stuff ^^
2018-10-14 21:12:52 +02:00
Mark Struberg 12ec80cd8c move openjpa-kernel to junit4 style 2018-10-13 23:11:45 +02:00
Maxim Solodovnik e25438a174 [OPENJPA-2751] imports, @Overrides and @Deprecated are organized, redundant type arguments and unnecessary casts are removed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1842686 13f79535-47bb-0310-9956-ffa450edef68
2018-10-03 08:11:59 +00:00
Maxim Solodovnik f2fc98031e [OPENJPA-2751] trailing white-spaces were removed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1842614 13f79535-47bb-0310-9956-ffa450edef68
2018-10-02 12:32:32 +00: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ò 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
Will Dazey ae4b742527 OPENJPA-2646: Performance Regression Fix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1838027 13f79535-47bb-0310-9956-ffa450edef68
2018-08-14 15:09:27 +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
Will Dazey 8be86a6903 OPENJPA-2646: Sporadic NullPointerException and ClassCastException caused by query cache misses in multithreaded environments.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1831596 13f79535-47bb-0310-9956-ffa450edef68
2018-05-14 22:25:05 +00:00
Mark Struberg 97d59a9fc8 upgrade to xBean-4.8 for java 10+11 support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1829436 13f79535-47bb-0310-9956-ffa450edef68
2018-04-18 11:53:00 +00:00
Francesco Chicchiriccò e1bf367e48 Update XBean to 4.7 - thanks @jgallimore - This closes #14
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1827545 13f79535-47bb-0310-9956-ffa450edef68
2018-03-23 07:52:08 +00:00
Francesco Chicchiriccò 5700102036 OPENJPA-2730 Update to ASM 6 - This closes #11
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1826718 13f79535-47bb-0310-9956-ffa450edef68
2018-03-14 14:19:29 +00:00
Francesco Chicchiriccò 14d4b8007c OPENJPA-2725 - fix ConcurrentModificationException during unrefed dependents cleanup / thanks @eran-levy - This closes #9
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1819982 13f79535-47bb-0310-9956-ffa450edef68
2018-01-03 15:37:54 +00:00
Francesco Chicchiriccò ed28ddca1a Reverting unadverted change to JPQLExpressionBuilder in r1797211
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1797212 13f79535-47bb-0310-9956-ffa450edef68
2017-06-01 12:19:18 +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
Francesco Chicchiriccò 635dd436cf [OPENJPA-2684] Adding support for JAR files via ZipStreamMetaDataIterator
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1774477 13f79535-47bb-0310-9956-ffa450edef68
2016-12-15 14:34:23 +00:00
Romain Manni-Bucau af8ea38f87 OPENJPA-2554 JPA 2.1 - Schema Generation, patch from Roberto Cortez, doc to update still
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1770509 13f79535-47bb-0310-9956-ffa450edef68
2016-11-19 18:08:44 +00:00
Mark Struberg bdc1da9423 OPENJPA use Locale.ENGLISH for toLowerCase and toUperCase where possible
* we now use fixed english Locale for 'framework parts' which are by spec portable
* we do NOT yet use a fixed Locale for anything related to column or table names!

txs to Kaloyan Spiridonov for the catch!



git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1768216 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 13:46:23 +00:00
Mark Struberg 4068d5ccb2 OPENJPA-2674 properly closing JarFile
txs to Kaloyan Spiridonov for the catch!


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1768201 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 11:50:59 +00:00
Mark Struberg 9cacf08c7a OPENJPA-2662 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759916 13f79535-47bb-0310-9956-ffa450edef68
2016-09-08 22:03:41 +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 f979ae1cfe OPENJPA-2665 use Objects.equals instead of prorietary impl
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759614 13f79535-47bb-0310-9956-ffa450edef68
2016-09-07 13:55:30 +00:00
Mark Struberg 10110aadf0 OPENJPA-2662 get rid of serp.util.Strings.parse
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759518 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 22:04:01 +00:00
Mark Struberg c4323ac563 OPENJPA-2662 remove serp.util.Strings.join
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759362 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 05:14:18 +00:00
Mark Struberg 209adb6fc8 OPENJPA-2662 remove serp.util.Strings.getPackageName
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759356 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 21:11:01 +00:00
Mark Struberg 297190a43a OPENJPA-2662 reimplement serp.util.Strings#getClassName
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759355 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 20:35:11 +00:00
Mark Struberg da6ea0f708 OPENJPA-2662 get rid of serp.util.Strings#replace
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759273 13f79535-47bb-0310-9956-ffa450edef68
2016-09-05 14:10:33 +00:00
Mark Struberg 66ad16fd85 OPENJPA-2662 remove serp.util.Strings#split
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1759033 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 20:23:32 +00:00
Mark Struberg e647db2ee0 OPENJPA-2662 intern Strings.toClass
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1758851 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 20:20:11 +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 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 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 a453aa9f46 OPENJPA-2632 fallback to TCCL for select new if class cannot be found
That might happen if the entities are loaded within a shared ear lib
but the actual "select new" is performed from another ClassLoader (e.g. WAR)
Contributed by Reinhard Sandtner (apacheId: rsandtner). Txs for the patch!


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1734966 13f79535-47bb-0310-9956-ffa450edef68
2016-03-14 17:07:38 +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
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
Mark Struberg 88e01d2fba OPENJPA-2626 remove unused import (which is an ugly internal sun class and doesn't exist in java7)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1730309 13f79535-47bb-0310-9956-ffa450edef68
2016-02-14 10:34:35 +00:00
Romain Manni-Bucau a5788cc859 OPENJPA-2626 support of java 8 bytecode test for isEnhanced - avoid to have logs full of exception/warnings when it actually works cause it is already enahnced at build time
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1727520 13f79535-47bb-0310-9956-ffa450edef68
2016-01-29 10:36:53 +00:00
Romain Manni-Bucau 8cc3992fb6 new line - checkstyle fix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1718043 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 21:59:08 +00:00
Romain Manni-Bucau 19c6b4130d better whitelist handling
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1716864 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 12:41:31 +00:00
Romain Manni-Bucau 1dd5571047 OPENJPA-2617 adding BlacklistClassResolver to support blacklisting of class loading in our ObjectInputStream
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1716859 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 12:15:47 +00:00
Heath Thomann e5fa4e32df OPENJPA-2586: Fix to return proper relationship data when QueryCache and FetchPlans are used.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1702147 13f79535-47bb-0310-9956-ffa450edef68
2015-09-10 01:53:27 +00:00
Heath Thomann 856fefb2c8 OPENJPA-2539: Query Compilation causing inner join table to be randomly generated incorrectly - ported changes to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1686913 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 18:31:06 +00:00