Commit Graph

906 Commits

Author SHA1 Message Date
Mark Struberg 0ddc38512d OPENJPA-2908 finish jakarta migration 2023-05-05 17:31:20 +02:00
Mark Struberg 3a436b585d OPENJPA-2809 more test fixes 2023-04-24 12:25:23 +02:00
Mark Struberg d9ceb44526 OPENJPA-2908 Jakarta-3.0 API - WIP!
This is not yet finished!
Have to commit in parts as to create decently reviewable steps
2023-04-24 09:19:43 +02:00
Francesco Chicchiriccò c3da147fc9 [maven-release-plugin] prepare for next development iteration 2022-03-16 09:25:57 +01:00
Francesco Chicchiriccò e5933d6aee [maven-release-plugin] prepare release 3.2.2 2022-03-16 09:25:56 +01:00
Romain Manni-Bucau 68b77e1ae7 [maven-release-plugin] prepare for next development iteration 2022-02-03 11:08:53 +01:00
Romain Manni-Bucau 000c065dbe [maven-release-plugin] prepare release 3.2.1 2022-02-03 11:08:53 +01:00
Maxim Solodovnik 468a4538fa
[OPENJPA-2896] automatic module name is set for bundles (#92)
* [OPENJPA-2896] automatic module name is set for bundles

* Automatic-module-names for fat jars only

* 'org.apache.openjpa.jakarta' is dropped

* auto-module-name is dropped from openjpa-all
2021-12-23 22:52:23 +07:00
Maxim Solodovnik 720869a4e0
[OPENJPA-2881] orm* schemas are available offline (#89)
* orm* schemas are available offline

* Extended schema is enabled by default

* Tests are added
2021-12-15 19:23:10 +07:00
Benjamin Marwell ad5f05112a [OPENJPA-2891] default for addGeneratedOption, use switch 2021-11-30 12:44:19 +01:00
Benjamin Marwell fe423839f1 [OPENJPA-2891] allow configuration of @Generated annotation. 2021-11-30 12:20:00 +01:00
Thomas Andraschko 08fe2742c1
Merge branch 'apache:master' into master 2021-10-27 11:10:46 +02:00
Will Dazey 30c443dcc3 OPENJPA-2882: Exception passing javax.persistence.* String values to createEntityManager(Map)
Signed-off-by: Will Dazey <dazeydev.3@gmail.com>
2021-10-20 14:55:24 -05:00
Thomas Andraschko 116eda9903 OPENJPA-2877 2021-07-12 15:51:47 +02:00
Jean-Louis Monteiro 4894c17c07 OPENJPA-2875 make sure to avoid doing things when another persistence provider is specified. 2021-05-26 17:53:10 +02:00
Mark Struberg ba985ac8c7 [maven-release-plugin] prepare for next development iteration 2021-05-10 19:19:33 +02:00
Mark Struberg 6f721f69c9 [maven-release-plugin] prepare release 3.2.0 2021-05-10 19:19:33 +02:00
Mark Struberg f72f3ca7e0 OPENJPA-2873 add persistence_2_2.xsd handling 2021-05-08 22:39:43 +02:00
Mark Struberg adf5ad393d update poms to 3.2.0-SNAPSHOT
as discussed on the list - the next release will be 3.2.0
2021-04-24 11:39:25 +02:00
Mark Struberg 1fb5234574 OPENJPA-2665 use modern for loops
no functional change, just java lang updates
2021-04-05 08:47:46 +02:00
Mark Struberg d73e2e72f0 collapse Exceptions and use Diamond style 2021-04-04 18:32:35 +02:00
Mark Struberg a7708636e3 remove unecessary boxing/unboxing - no functional change 2021-04-04 17:54:25 +02:00
Mark Struberg b0ba9c3e60 code cleanup without functional change
* remove unecessary valueOf
* remove ;;
* remove unused imports
* remove unnecessary casts
* etc
2021-04-04 17:09:04 +02:00
Mark Struberg 00bd91cc2c OPENJPA-2788 fix anynomous Criteria Parameters 2020-12-14 14:13:32 +01:00
Romain Manni-Bucau 6f2692228f [OPENJPA-2834] invalid properties cache when a propery changes 2020-10-27 15:43:24 +01:00
Romain Manni-Bucau 574e226ba0 [OPENJPA-2834] also cache properties in the em - even if less useful, but no need to recompute it again and again 2020-10-01 09:49:00 +02:00
Romain Manni-Bucau 0b68db6ba1 [OPENJPA-2834] enable to bypass synchronizeMappings when calling getProperties 2020-10-01 09:45:50 +02:00
Romain Manni-Bucau 9fa619f94e [OPENJPA-2834] ensure getProperties does not fail with xmlstore 2020-09-30 15:34:44 +02:00
Romain Manni-Bucau 4a546f759c [OPENJPA-2834] ensure setProperty invalid properties cache in em 2020-09-30 13:43:55 +02:00
Romain Manni-Bucau bd015d02e9 [OPENJPA-2834] cache EMF#properties 2020-09-30 12:14:35 +02:00
Mark Struberg 5d9c88d7cb just fix broken javadoc 2020-07-23 14:06:52 +02:00
Mark Struberg f18f28b633 [maven-release-plugin] prepare for next development iteration 2020-07-07 11:19:15 +02:00
Mark Struberg 66d2a72cb2 [maven-release-plugin] prepare release 3.1.2 2020-07-07 11:19:15 +02:00
Romain Manni-Bucau bf418eb1b3 OPENJPA-2813 PersistenceProvider#generateSchema (misses the boolean state) 2020-04-29 20:47:12 +02:00
Maxim Solodovnik 44c4d8dc02 [OPENJPA-2798] Automatic-Module-Name is added 2020-03-15 15:59:45 +07: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
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
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
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 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
Maxim Solodovnik 8c0b843f6e
[OPENJPA-2781] persistence_2_1.xsd is bundled for offline processing 2019-03-24 20:32:47 +07:00
Mark Struberg 44aede26df OPENJPA-2747 upgrade to JPA-2.2 api 2019-03-05 14:29:01 +01:00
Mark Struberg 1690076b37 fix formatting and readability 2019-02-14 15:25:50 +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 5079209823 Merge branch 'OPENJPA-2713' 2019-01-25 17:13:55 +01:00