Commit Graph

5259 Commits

Author SHA1 Message Date
Maxim Solodovnik 4cf4e0d5dc Almost all tests are passed 2023-01-11 23:36:12 +07:00
Maxim Solodovnik 1d47613294 Mysql driver is basically updated 2022-12-30 14:42:46 +07:00
dependabot[bot] 05069dfee4
Bump postgresql from 42.5.0 to 42.5.1 (#109)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.5.0 to 42.5.1.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.5.0...REL42.5.1)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-24 11:24:21 +07:00
dependabot[bot] 57f300b1da
Bump kubernetes-client from 5.9.0 to 6.2.0 (#105) 2022-11-03 11:46:07 +01:00
dependabot[bot] e7cd6f6562
Bump ant from 1.10.9 to 1.10.11 (#103)
* Bump ant from 1.10.9 to 1.10.11

Bumps ant from 1.10.9 to 1.10.11.

---
updated-dependencies:
- dependency-name: org.apache.ant:ant
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Ant is updated to the most recent version

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maxim Solodovnik <solomax666@gmail.com>
2022-09-23 11:24:42 +07:00
s4iko 6aec10a41b
Log4j2 update to last version (free of vulnerability such as Log4Shell) (#101)
* Log4j2 update to last version (free of vulnerability such as Log4Shell)

* Log4j is updated one more time

Co-authored-by: malaunaisj <jeremy.malaunais@logica.com>
Co-authored-by: Maxim Solodovnik <solomax666@gmail.com>
2022-09-23 11:20:13 +07:00
Maxim Solodovnik 0be08390d5 typo is fixed 2022-09-23 11:12:36 +07:00
Maxim Solodovnik aed0e58f12 DB drivers are updated 2022-09-23 11:10:44 +07: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 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