Mark Struberg
f2d27aa15f
OPENJPA-2911 move from Serp to ASM
2023-06-01 17:12:16 +02:00
Mark Struberg
032c6fc7fe
OPENJPA-2911 Bridge from BCClass <-> ASM ClassNode
...
This will allow us to smoothly migrate from Serp to ASM
2023-06-01 14:21:05 +02:00
Mark Struberg
d13b85b139
OPENJPA-2911 remove Serp from PCSubclassValidator
2023-05-30 12:19:30 +02:00
Mark Struberg
3ea2412003
OPENJPA-2911 move PCSubclassValidator to ASM
2023-05-25 18:07:41 +02:00
Mark Struberg
2c3d37e859
OPENJPA-2911 move PCSubclassValidator to ASM
2023-05-25 11:13:31 +02:00
Mark Struberg
31681982de
OPENJPA-2911 move PCSubclassValidator to ASM
...
work in progress.
For now we compare old and new mechanism to catch errors.
2023-05-24 10:38:44 +02:00
Mark Struberg
b51d003ed9
OPENJPA-2911 start migrating away from Serp
...
This introduces 2 methods to tronsform
Serp BCClass -> ASM ClassWriter
and
ASM ClassWriter -> Serp BCClass
2023-05-22 15:40:32 +02:00
Mark Struberg
b238417dab
OPENJPA-2911 make test cover bytecode part
2023-05-16 09:29:21 +02:00
Mark Struberg
39c838a56f
OPENJPA-2911 move ApplicationIdTool from Serp to ASM
2023-05-16 08:17:57 +02:00
Mark Struberg
f19ba018e2
OPENJPA-2910 get rid of reflection
...
UOWAction stuff is now also freely available, so no
need for dirty hacks anymore.
2023-05-15 09:58:34 +02:00
Mark Struberg
2ab2746f77
OPENJPA-2910 WASManagedRuntime without Serp
...
The required interfaces are now publicly available via OpenLiberty artifacts under EPL.
We do not package them, so no NOTICE is required.
I've also removed the test as it did only test that the com.ibm class
is not on the classpath (which it now is for the test run as a provided artifact)
2023-05-15 09:16:07 +02:00
Mark Struberg
0ddc38512d
OPENJPA-2908 finish jakarta migration
2023-05-05 17:31:20 +02:00
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 5b67ce5180
.
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
Romain Manni-Bucau
560a850bfd
commenting seasar-repo since it should be useless now (and try to get back the CI green/blue)
2020-05-07 09:39:07 +02:00
Romain Manni-Bucau
a975a3d1c6
OPENJPA-2811 asm8 support
2020-04-27 16:52:24 +02:00
Romain Manni-Bucau
ae9b2a904b
OPENJPA-2809 adding openjpa-junit5 module
2020-03-17 17:17:19 +01: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
Francesco Chicchiriccò
6a3395dc79
[OPENJPA-2801] Introducing KubernetesTCPRemoteCommitProvider
2020-01-28 11:12:25 +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
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
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
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
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
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
6d2544f390
OPENJPA-2713 properly handle WITH TIME ZONE if supported by db
...
This includes handling the new java.sql.Types.TIME_WITH_ZONE
and DATE_WITH_ZONE.
2019-01-25 16:42:15 +01:00
Mark Struberg
e57fd518b3
OPENJPA-2713 implement native java8 types
...
Since some DBs (e.g. PostgreSQL) do support LocalDate, etc
in their JDBC drivers, it's probably the best to support it
on a way deeper level.
2019-01-20 23:51:10 +01:00
Mark Struberg
bb6bad0702
OPENJPA-2753 add a profile for Oracle as Docker image
...
-Ptest-oracle-docker
as new profile to start Oracle 11_XE
2019-01-06 23:43:41 +01:00
Maxim Solodovnik
d874cbf6d3
[OPENJPA-2754] maxActive -> maxTotal ( #24 )
...
* [OPENJPA-2754] maxActive -> maxTotal
* commons-pool2 and commons-dbcp2 versions are updated, setMaxActive is deprecated with warn being logged
* DBCPDriverDataSource and AutoDriverDataSource are removed
* BasicDataSource is being loaded in case jdbc.DriverDataSource is set to 'dbcp'
* Normal call is replaced with reflection
2018-11-16 13:48:40 +07:00
Mark Struberg
39bde81aa2
OPENJPA-2757 upgrade to xbean-asm7 for Java7 support
2018-11-10 21:33:02 +01:00
Maxim Solodovnik
9a5096308c
[OPENJPA-2752] libraries are updated to most recent versions
2018-10-18 12:38:31 +07:00
Mark Struberg
08bb3a5a0e
move openjpa-lib tests to junit4 style
...
No more junit3 extends TestCase stuff ^^
2018-10-14 21:12:52 +02:00
Mark Struberg
12ec80cd8c
move openjpa-kernel to junit4 style
2018-10-13 23:11:45 +02:00
Maxim Solodovnik
e25438a174
[OPENJPA-2751] imports, @Overrides and @Deprecated are organized, redundant type arguments and unnecessary casts are removed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1842686 13f79535-47bb-0310-9956-ffa450edef68
2018-10-03 08:11:59 +00:00
Maxim Solodovnik
f2fc98031e
[OPENJPA-2751] trailing white-spaces were removed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1842614 13f79535-47bb-0310-9956-ffa450edef68
2018-10-02 12:32:32 +00:00
Maxim Solodovnik
4709f38ba2
[OPENJPA-2748] commons-collection is updated to most recent version
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1841941 13f79535-47bb-0310-9956-ffa450edef68
2018-09-25 15:16:54 +00:00
Francesco Chicchiriccò
6c4c77aa78
[OPENJPA-2744] commons-pool is updated to the most recent version - thanks @solomax - This closes #19
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1839885 13f79535-47bb-0310-9956-ffa450edef68
2018-09-02 13:59:07 +00:00
Will Dazey
ae4b742527
OPENJPA-2646: Performance Regression Fix
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1838027 13f79535-47bb-0310-9956-ffa450edef68
2018-08-14 15:09:27 +00:00
Mark Struberg
ffe3fe4a50
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1833210 13f79535-47bb-0310-9956-ffa450edef68
2018-06-08 20:34:53 +00:00
Mark Struberg
101ee9946a
[maven-release-plugin] prepare release openjpa-parent-3.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1833208 13f79535-47bb-0310-9956-ffa450edef68
2018-06-08 20:34:24 +00:00
Will Dazey
8be86a6903
OPENJPA-2646: Sporadic NullPointerException and ClassCastException caused by query cache misses in multithreaded environments.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1831596 13f79535-47bb-0310-9956-ffa450edef68
2018-05-14 22:25:05 +00:00
Mark Struberg
97d59a9fc8
upgrade to xBean-4.8 for java 10+11 support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1829436 13f79535-47bb-0310-9956-ffa450edef68
2018-04-18 11:53:00 +00:00
Francesco Chicchiriccò
e1bf367e48
Update XBean to 4.7 - thanks @jgallimore - This closes #14
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1827545 13f79535-47bb-0310-9956-ffa450edef68
2018-03-23 07:52:08 +00:00
Francesco Chicchiriccò
5700102036
OPENJPA-2730 Update to ASM 6 - This closes #11
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1826718 13f79535-47bb-0310-9956-ffa450edef68
2018-03-14 14:19:29 +00:00