1498 Commits

Author SHA1 Message Date
Mark Struberg
2535a24d55 OPENJPA-2909 fix ClassLoading if proxy cannot be loaded 2023-05-04 21:31:00 +02:00
Mark Struberg
ecff638a02 OPENJPA-2909 fix stack calculation
double and long require 2 positions on the stack.
2023-05-04 19:53:11 +02:00
Mark Struberg
7532498e7a OPENJPA-2909 more class generator fixes 2023-05-04 18:14:43 +02:00
Mark Struberg
ec946b6789 OPENJPA-2909 more proxy generator fixes 2023-05-04 12:13:08 +02:00
Mark Struberg
8f9547b643 OPENJPA-2909 rough implementation with ASM is ready
Still needs a few tweaks to iron out failures.
2023-05-03 23:16:59 +02:00
Mark Struberg
12f780eb76 OPENJPA-2909 implement ASM proxy for Collections 2023-05-03 12:58:26 +02:00
Mark Struberg
87458c708b OPENJPA-2909 generate CalendarProxy via ASM 2023-05-02 14:47:16 +02:00
Mark Struberg
94a2bf97be OPENJPA-2909 finish Date proxy via ASM 2023-05-02 13:39:25 +02:00
Mark Struberg
65242c70b7 OPENJPA-2909 generate ProxyDate
still wip
2023-05-02 10:39:12 +02:00
Mark Struberg
487159da3b OPENJPA-2909 first skeleton for ASM based proxies
work in progress
2023-05-01 20:24:34 +02:00
Mark Struberg
4ec4598ad1 OPENJPA-2909 move proxy code to own package
No functional change yet.
2023-04-30 14:21:58 +02:00
Mark Struberg
6fc05e14d0 OPENJPA-2908 fix delayed collection proxies
some new methods in base interfaces did not get handled correctly
2023-04-25 16:16:46 +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
Francesco Chicchiriccò
a605d872e5 [OPENJPA-2713] Fixing OffsetDateTime conversion 2022-03-10 10:49:13 +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
Thomas Andraschko
8ff3dff49b OPENJPA-2877 added caching of constructor 2021-10-27 11:20:41 +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
1742f62032 fix indention and add missing javadocs 2021-06-14 15:32:48 +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
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
Francesco Chicchiriccò
a850031d11 Revert "OPENJPA-2800 mark additional fields and methods as synthetic"
This reverts commit 5b67ce51801cb646d772dadd03a623312603a0df.
2021-04-21 12:13:46 +02:00
Mark Struberg
5b67ce5180 OPENJPA-2800 mark additional fields and methods as synthetic
When enhancing an Entity we add a few fields and additional methods.
Those elements should properly get marked as synthetic.
2021-04-19 21:13:07 +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
76225267d9 OPENJPA-2851 simplify comparison
since java.time classes are final we can also use == instead of isAssignableFrom
2021-04-02 20:46:41 +02:00
Mark Struberg
6db4db7f51 OPENJPA-2851 fix CURRENT_DATE with LocalDate and LocalDateTime 2021-04-01 21:59:36 +02:00
Mark Struberg
72df0228ca OPENJPA-2849 coerc native java.sql types to java.time
Many JDBC driver support old java.sql types for select max, min, etc.
Those need to get converted to java.time.* on demand.
2021-03-28 19:36:32 +02:00
Mark Struberg
b29976342c OPENJPA-2843 fix signature of runUnderUOW method 2020-12-02 14:27:01 +01:00
Mark Struberg
eef64ccd69 OPENJPA-2843 remove ibm specific dependencies
We now hav a single interface which I've implemented clean-room from the bytecode.
This class will NOT get packaged into the jar but will be excluded.
2020-12-02 12:12:13 +01:00
Romain Manni-Bucau
0d7816290e [OPENJPA-2840] light abstraction for asm 2020-11-20 09:43:42 +01: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
910a812a15 [OPENJPA-2833] asm 9 2020-09-29 16:57:20 +02:00
Simone
f93ea15745
[OPENJPA-2828] Fix method equals() (#72) 2020-09-22 15:11:24 +02:00
Romain Manni-Bucau
33fc72ac85 [OPENJPA-2831] import [collections4] used classes and drop the dependency 2020-09-16 12:17:13 +02:00
Romain Manni-Bucau
1862e2bad5 dropping java < 8 asm test since we require java >= 8 2020-09-16 10:32:04 +02:00
Mark Struberg
94a033d83b OPENJPA-2821 use AsmAdapter for subclassing
to write proper java8 code
2020-07-23 14:06:52 +02:00
Mark Struberg
ab6e0ed4b4 OPENJPA-2823 treat jakarta.* like javax.*
also simplify needsEnhance logic
2020-07-23 14:06:52 +02:00
Mark Struberg
bf03bdb314 OPENJPA-2822 get rid of tricks < java8
we can now rely on transform() being available on all JVMs.
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
868a446a3e activating back seasar repo for uow-api now xbean had been downloaded on the ci 2020-05-07 09:46:06 +02:00