Commit Graph

5019 Commits

Author SHA1 Message Date
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
Romain Manni-Bucau aad345fc4a removing kubernetes module from our osgi bundle 2020-02-11 08:10:44 +01:00
Romain Manni-Bucau a7c4f4405e OPENJPA-2803 make pool2 optional in OSGi 2020-02-11 07:53:25 +01:00
Romain Manni-Bucau 36ddbac0e4 OPENJPA-2803 make dbcp2 optional in OSGi 2020-02-11 07:48:04 +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
Maxim Solodovnik 0a6b7fb594 OPENJPA-2799 commons-collections4 groupId is corrected 2019-12-25 12:14:52 +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
Jody Grassel 4cd805eed8
Merge pull request #52 from jgrassel/master_OJ2790
[master] OPENJPA-2790: Convert build from SVN to GIT
2019-06-21 16:23:22 -05: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 cd81d36024
Merge pull request #45 from dazey3/2767_master
OPENJPA-2767: Incomplete ValueMapDiscriminatorStrategy cache and MetaDataRepository race condition
2019-05-16 13:41:57 -05: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
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 f9b59689d4 OPENJPA-2733 OPENJPA-2785 fix broken spring data usage.
spring-data potentially does something unspecified.
This hack now prevents duplicate ParameterExpressions with the same name
while not having to implement equals + hashCode for it - which makes Spring happy.
2019-04-10 16:05:21 +02:00
Mark Struberg d8ddf87a47 OPENJPA-2555 add docs for DateFractionDigits 2019-04-05 23:04:44 +02:00
Mark Struberg a7969c120b OPENJPA-2555 rename DBDictionary property to dateFractionDigits
dateFractionDigits is more self-explaning than defaultFractionDigits.
It also fits better into the already existing date* config settings.
2019-04-05 13:58:05 +02:00
Mark Struberg dc31b800b8 OPENJPA-2555 fix randomly failing tests by forcing microseconds 2019-04-05 12:57:23 +02:00
Mark Struberg 64af85106a fix random failing behaviour if id did already exist 2019-04-05 11:07:53 +02:00
Mark Struberg 4e59c48364 OPENJPA-2555 use a defaultFractionLength of 0 for backward compat
This is how the default of MySQL and the previous behaviour of OpenJPA did.
If a user want he can use either @Column(scale=n) or set it via DBDictionary:
openjpa.jdbc.DBDictionary=(defaultFractionLength=6)
2019-04-05 10:29:27 +02:00
Mark Struberg a5b50a5bd4 OPENJPA-2784 add docs for sub-second fractions in MariaDB and MySQL 2019-04-03 00:21:02 +02:00
Mark Struberg 14263ca52d OPENJPA-2775 improve JavaDoc for sub-second fractions 2019-04-02 22:53:17 +02:00
Mark Struberg 99aa054a29 OPENJPA-2784 update db compat matrix 2019-04-02 22:29:47 +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 acf78d8091 OPENJPA-2713 fix wrong offset after daylight saving switched 2019-03-31 22:32:17 +02:00
Mark Struberg 31c0450562 OPENJPA-2747 upgrade to jpa-2.2 api 2019-03-27 12:29:57 +01:00
Mark Struberg 53b946d9ca add deprecation info and clean up code
no functional change
2019-03-26 11:14:07 +01:00
Maxim Solodovnik 8c0b843f6e
[OPENJPA-2781] persistence_2_1.xsd is bundled for offline processing 2019-03-24 20:32:47 +07:00
Maxim Solodovnik 75999ad5d9 [OPENJPA-2780] reverse customizer adds @Enumerated annotation as expected 2019-03-22 12:21:32 +07:00
Maxim Solodovnik cb20dd6b95
[OPENJPA-2777] Javax index (#39)
[OPENJPA-2777] javax.persistense.Index can be used on Table annotation
2019-03-05 20:44:49 +07: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 cae509aa72 add download location for the JakartaEE TCK zip 2019-02-18 07:31:11 +01:00
Mark Struberg 1690076b37 fix formatting and readability 2019-02-14 15:25:50 +01:00
Mark Struberg 87422c8323 OPENJPA-2753 add info about how to debug SQLServer 2019-02-14 15:21:53 +01:00
Mark Struberg c1ae373a0f OPENJPA-2713 add java8 time api for SQLServer 2019-02-14 15:21:53 +01: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 80736f6e9d OPENJPA-2733 subquery parameters are incorrectly assigned
patch submitted by Pawel Veselov - thanks!
2019-02-14 14:29:11 +01:00
Mark Struberg 0d9645781e add -ea to have all debug options uniform 2019-02-14 10:03:35 +01:00
Mark Struberg b484ee1f22 add missing delegate method for Java8 support 2019-02-14 10:03:04 +01:00
Mark Struberg b714dbae18 use correct name for the db 2019-02-07 09:56:15 +01:00
Mark Struberg fa6ce77004 OPENJPA-2773 set dbcp defaults to align with commons dbcp
Especially the maxIdle=0 was problematic.
It effectively disables the whole pooling, which is counter productive.
2019-02-07 09:56:15 +01:00