Commit Graph

1391 Commits

Author SHA1 Message Date
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
Will Dazey b27175be87 ConcurrentModificationException window when MetaDataRepository cache updated
Signed-off-by: Will Dazey <dazeydev.3@gmail.com>
2019-11-22 13:45:23 -06:00
Romain Manni-Bucau ef98e18480 OPENJPA-2743 skip AttributeConverter when loading the Metamodel and preparing the broker to avoid to fail if it was registered in persistent classes (allowed in JPA to bypass scanning but enable converters) 2019-07-29 17:40:09 +02:00
Joe Grassel d381f3f62c [master] OPENJPA-2790: Convert build from SVN to GIT
This change ensures that git hashes have a length of 7 (observed different default lengths between different versions of git), and restores the "M" at the end of the revision number to signify "dirty" OpenJPA builds.

Signed-off-by: Joe Grassel <jgrassel@apache.org>
2019-06-21 11:56:37 -05:00
Will Dazey 7c54dd855b
OPENJPA-2767: fix for checkstyles (#48)
Signed-off-by: Will Dazey <dazeydev.3@gmail.com>
2019-06-13 10:13:29 -05:00
Will Dazey 99a5a10218
Update org.apache.openjpa.revision.properties from SVN to GIT (#50)
Signed-off-by: Will Dazey <dazeydev.3@gmail.com>
2019-06-13 10:10:50 -05:00
Will Dazey 389a82db97 OPENJPA-2767: Incomplete ValueMapDiscriminatorStrategy cache and MetaDataRepository race condition
Signed-off-by: Will Dazey <dazeydev.3@gmail.com>
2019-05-14 15:25:43 -05: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 0e4ec5b392 OPENJPA-2733 fix param index.
Also handle the case if the same Param gets registered multiple times.
This eg happens in case of a Criteria Subquery having the same parameter name.
2019-02-14 15:06:50 +01:00
Mark Struberg 6d2544f390 OPENJPA-2713 properly handle WITH TIME ZONE if supported by db
This includes handling the  new java.sql.Types.TIME_WITH_ZONE
and DATE_WITH_ZONE.
2019-01-25 16:42:15 +01:00
Mark Struberg e57fd518b3 OPENJPA-2713 implement native java8 types
Since some DBs (e.g. PostgreSQL) do support LocalDate, etc
in their JDBC drivers, it's probably the best to support it
on a way deeper level.
2019-01-20 23:51:10 +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
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