Commit Graph

5009 Commits

Author SHA1 Message Date
Maxim Solodovnik f0044969aa [OPENJPA-2798] geronimo-jpa_2.2_spec is replaced with jakarta.persistence 2019-12-15 16:31:30 +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
Mark Struberg de316bc018 OPENJPA-2753 add profile for MSSqlServer docker 2019-02-07 09:32:31 +01:00
Mark Struberg f27a0b9124 add debugging instruction with hsqldb 2019-02-06 10:23:22 +01:00
Mark Struberg 238449e155 hsqldb seems to have a bug with concurrent access to the underlying DB. 2019-02-06 10:23:22 +01:00
Mark Struberg 037a2dc4c0 OPENJPA-2775 fix hsql metadata handling 2019-02-06 10:23:22 +01:00
Maxim Solodovnik e4197b0c42 [OPENJPA-2748] commons-collection4 is updated to release version 2019-02-05 11:06:35 +07:00
Mark Struberg 6e8c4d987f fix broken unit test. Illegal table 'ROLES'
The ROLES table exists by default in some datbases.
So it's probably better to not use it as table name in our unit test.
2019-02-02 13:49:27 +01:00
Mark Struberg 11863ed932 OPENJPA-2772 update list of h2 resorved words 2019-02-02 13:48:22 +01:00
Mark Struberg 4b88b80dc0 remove obsolete sql tracing 2019-02-02 13:47:53 +01:00
Mark Struberg af39516fc8 OPENJPA-2713 add java8 time support for h2 2019-02-02 13:04:15 +01:00
Mark Struberg 25cde67172 test cleanup
* remove unused methods
* fix formatting
* delete entries owt we will randomly blow up
2019-02-02 12:08:57 +01:00