Commit Graph

5250 Commits

Author SHA1 Message Date
Francesco Chicchiriccò e5933d6aee [maven-release-plugin] prepare release 3.2.2 2022-03-16 09:25:56 +01:00
Romain Manni-Bucau 641dfd947e
Merge pull request #93 from jeanouii/jakarta-relocate
OPENJPA-2900 javax.xml.bind must be reloacted to jakarta namespace
2022-03-10 10:57:00 +01:00
Francesco Chicchiriccò a605d872e5 [OPENJPA-2713] Fixing OffsetDateTime conversion 2022-03-10 10:49:13 +01:00
Francesco Chicchiriccò f228d2c259
[OPENJPA-2713] Allow for OffsetTime and OffsetDateTime query parameters (#94) 2022-03-07 17:54:14 +01:00
Jean-Louis Monteiro e5c29f4318 Requires the full package for the pattern 2022-02-21 16:38:32 +01:00
Jean-Louis Monteiro 6d7ee9ba59 refine Jakarta relocate patterns 2022-02-21 15:42:02 +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 e15296c415
[OPENJPA-2893] latest H2 more or less works (#91)
* [OPENJPA-2893] latest H2 more or less works

* Tests are green
2021-12-15 19:24:19 +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
Romain Manni-Bucau cc55aec97d
Merge pull request #87 from jbonofre/OPENJPA-2889
[OPENJPA-2889] Align commons-pool2 bundle version in Karaf features repository with the actual one
2021-12-05 18:58:34 +01:00
Romain Manni-Bucau e7774e3294
Merge pull request #90 from bmarwell/OPENJPA-2891_annotation
[OPENJPA-2891] allow configuration of @Generated annotation.
2021-12-01 08:15:38 +01:00
Benjamin Marwell 3e9644d990 [OPENJPA-2891][DOCS] add description for openjpa.addGeneratedAnnotation. 2021-11-30 14:31:01 +01: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
Jean-Baptiste Onofré 4d932bc787 [OPENJPA-2889] Align commons-pool2 bundle version in Karaf features repository with the actual one 2021-11-22 16:07:50 +01:00
Romain Manni-Bucau cb258aee42
Merge pull request #81 from tandraschko/master
OPENJPA-2877 Implement JPA2.1 @Convert / AttributeConverter
2021-10-27 12:14:20 +02:00
Thomas Andraschko 8ff3dff49b OPENJPA-2877 added caching of constructor 2021-10-27 11:20:41 +02:00
Thomas Andraschko 08fe2742c1
Merge branch 'apache:master' into master 2021-10-27 11:10:46 +02:00
Romain Manni-Bucau 1fdf245200 OPENJPA-2885 ensure openjpa-junit5 can support jakarta as well without any shade 2021-10-26 16:54:26 +02:00
Romain Manni-Bucau 3b6a69e9f0 OPENJPA-2884 trying to not relocate javax.annotation.processing 2021-10-26 16:20:43 +02:00
Francesco Chicchiriccò 6be0f5b061
Considering only active pods for TCPRemoteCommitProvider (#85) 2021-10-25 12:25:04 +02:00
Maxim Solodovnik 9113461cb9
[OPENJPA-2883] 'supportsAutoAssign' is turned OFF when 'useTriggersForAutoAssign' is ON (#84)
* [OPENJPA-2883] test for the issue

* [OPENJPA-2883] 'supportsAutoAssign' is turned OFF when 'useTriggersForAutoAssign' is ON

* Assert is improved

* Warning is logged when conflicting options are selected by user

* Build should be fixed

* EntityManager is properly closed
2021-10-23 00:19:22 +07:00
Romain Manni-Bucau 0fa0ee9790
Merge pull request #82 from dazey3/OJ2882_master
[master] OPENJPA-2882: Exception passing javax.persistence.* String values to …
2021-10-21 08:09:44 +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
Mark Struberg b2a9519434 just line break 2021-09-20 22:37:34 +02:00
Thomas Andraschko a0e40795ff OPENJPA-2877 test 2021-07-13 15:06:55 +02:00
Thomas Andraschko d698ccaf00 OPENJPA-2877 added caching of method 2021-07-12 16:08:27 +02:00
Thomas Andraschko 116eda9903 OPENJPA-2877 2021-07-12 15:51:47 +02:00
Mark Struberg c5b97348fc OPENJPA-2614 run ALTER SEQUENCE in a separate tx
Quite a lot databases force a commit on DDL changes.
For sequences we try to run an ALTER SEQUENCE to make the sequence
reflect the allocationSize. Doing this will commit all outstanding open
DB changes in Oracle and a few other databases.
We now open a new connection.
2021-06-16 19:54:25 +02:00
Mark Struberg 5801f419c0 update docker-maven-plugin 2021-06-16 18:28:23 +02:00
Mark Struberg 745795b1d9 add documentation about how to run with Podman
This is an important information for people who use Podman instead of
Docker.
2021-06-16 15:26:47 +02:00
Mark Struberg c6f42826b7 OPENJPA-2876 fix schema 'refresh'
Also had to fix the schema handling via persistence.xml.
Thinkfully this section has excellent unit test coverage.
2021-06-16 12:44:15 +02:00
Mark Struberg f8d258594f OPENJPA-2876 unit test to show wrong SQL
sqlAction=refresh right now also generates the full DB.
2021-06-16 12:44:15 +02:00
Mark Struberg 1742f62032 fix indention and add missing javadocs 2021-06-14 15:32:48 +02:00
Romain Manni-Bucau 722eb579ea
Merge pull request #80 from jeanouii/OPENJPA-2875_filterJPAProvider
OPENJPA-2875 make sure to avoid doing things when another persistence provider is specified.
2021-05-28 10:28:36 +02:00
Jean-Louis Monteiro 2771cce607 Small fixes on the tests 2021-05-27 15:26:09 +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 bdf3f0a543 OPENJPA-2833 upgrade assembly to contain xbean-asm-shaded 2021-05-10 18:37:24 +02:00
Mark Struberg 6546f259b2 further documentation fixes. up to JPA 2.2 2021-05-10 11:22:55 +02:00
Mark Struberg eec95cd6cb wip update compat matrix 2021-05-09 00:07:40 +02:00
Mark Struberg 6eb984a375 add java.time Entity field types support 2021-05-09 00:07:12 +02:00
Mark Struberg 61540f00c4 reserved column words should be public
allow configuration
2021-05-09 00:06:13 +02:00
Mark Struberg 9c95b71fcc update docs to reflect changes in OpenJPA-3.2.0 2021-05-08 23:20:58 +02:00
Mark Struberg 8f79c8aba8 up to 2021 2021-05-08 22:50:50 +02:00
Mark Struberg 64d8253578 pimp release notes in preparation for our 3.2.0 release 2021-05-08 22:48:44 +02:00
Mark Struberg f72f3ca7e0 OPENJPA-2873 add persistence_2_2.xsd handling 2021-05-08 22:39:43 +02:00