Gavin King
ca58bbe129
get rid of useless "throws HibernateException" in SessionImpl
2024-12-20 13:47:19 +01:00
Gavin King
1710eda5c7
HHH-15848 clean up unnecessary logging and tx stuff in Session.isDirty()
2024-12-20 13:47:19 +01:00
Gavin King
eb1e19fd9a
extract two methods
...
and add a TODO (a question for @dreab8)
2024-12-20 13:47:19 +01:00
Gavin King
6f0a6c3b35
remove return value of Callback.performCallback, since it was always true and ignored
2024-12-20 13:47:19 +01:00
Gavin King
4c34bfd37d
javadoc fixups
2024-12-20 13:47:19 +01:00
Gavin King
cbf4ac803c
HHH-15848 completely new impl of DefaultDirtyCheckEventListener
...
this is definitely not perfect yet, but it's certainly a much
better foundation than the ancient implementation which was bad
and side-effecty in all sorts of ways
2024-12-20 13:47:19 +01:00
Gavin King
74cd3d09ec
HHH-15848 suppress some exceptions when calling Session.isDirty()
...
code cleanups to EntityPrinter
2024-12-20 13:47:19 +01:00
Gavin King
78fc78208b
whitespace
2024-12-20 13:47:19 +01:00
Gavin King
1bd7f0c0b1
extract a method
2024-12-20 13:47:19 +01:00
Christian Beikov
f5814f2e80
Try to workaround hibernate-platform not being published to maven local
2024-12-20 13:39:27 +01:00
Christian Beikov
5705800577
Try to workaround hibernate-platform not being published to maven local
2024-12-20 12:58:11 +01:00
diego
65a26a214f
HHH-18900 MariaDB Vector support
...
+ adding support and test correction for mariadb 11.6.2 snapshot isolation
2024-12-20 10:48:28 +01:00
Jan Schatteman
d22aeb1a52
HHH-16216 Add Sybase ASE test for ansinull=off and fix some issues
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-12-19 21:41:06 +01:00
Christian Beikov
31fad3bd45
HHH-18968 Fix localtime return type for MySQL
2024-12-19 21:25:48 +01:00
Christian Beikov
e5a10057a8
Fix typo in snapshot publish file
2024-12-19 19:59:11 +01:00
Steve Ebersole
c6a1eb65ed
HHH-18912 - ORM release process
...
https://hibernate.atlassian.net/browse/HHH-18912
2024-12-19 19:47:02 +01:00
Christian Beikov
0c76b0276f
HHH-18963 Switch to scheduled releases instead of release on push
2024-12-19 18:19:24 +01:00
Steve Ebersole
b4d32260dc
HHH-18912 - ORM release process
...
https://hibernate.atlassian.net/browse/HHH-18912
2024-12-19 11:12:34 -06:00
Gavin King
73e53d72c5
add missing @Override annotations
2024-12-19 16:37:27 +01:00
Christian Beikov
7704e7625b
Increase javac maximum memory to avoid builds getting stuck
2024-12-19 16:29:54 +01:00
Gavin King
4fd457ef80
give some love to org.hibernate.Transaction
...
also clean up some stuff in AbstractPersistentCollection
Unfortunately TransactionStatus is an SPI type, which makes
its use in the API of Transaction a bit wrong. Also, it's
weird to see dependence on an interface defined by JPA.
(However these are relatively harmless aesthetic points, so
I decided not to deprecate anything.) Instead I've added
alternative "convenience" operations.
Note on terminology: a transaction which has been "marked for
rollback only" is still an active transaction! You can still
do work in it, and that work will still be atomically rolled
back when the transaction completes. Apparently there was
some confusion on this at some point, which was later fixed,
but some evidence of the confusion was left behind in code.
2024-12-19 14:54:46 +01:00
Gavin King
d0b0c5723c
HHH-18953 fix error in implementation of multiarg lifecycle reactive repo methods
...
I messed this up yesterday
2024-12-19 11:23:37 +01:00
Gavin King
d104e7c781
attempt to sort out mess of qualified vs unqualified names
...
this stuff has been driving @cigaly nuts
incorporates test case from @cigaly
2024-12-19 00:13:42 +01:00
Gavin King
0221a94cd5
avoid a lookup by unqualified name that I *think* us unnecessary
...
cc @cigaly
2024-12-19 00:13:42 +01:00
Gavin King
4b5d3d0ba6
HHH-18953 correctly handle Optional in reactive repos
2024-12-18 22:35:32 +01:00
Čedomir Igaly
4e3735d0c0
HHH-18960 Reverted mistakenly commited change
2024-12-18 19:31:14 +01:00
Gavin King
8e2b7b7bdf
HHH-18743 insertMultiple() and friends should be using wildcarded type!
2024-12-18 19:09:42 +01:00
Gavin King
a51a3be25f
HHH-18953 correctly implement @Save with generated id for reactive repos
...
and use xxxMultiple() for regular repos
2024-12-18 19:09:42 +01:00
Gavin King
cd9e30dfb3
HHH-18953 Jakarta Data exception translation for reactive repos
2024-12-18 19:09:42 +01:00
Andrea Boriero
4137b0bf91
HHH-18960 Fixed code analysis issue
2024-12-18 16:37:38 +01:00
Andrea Boriero
86a2402ec1
HHH-15560 Add test showing the issue has been solved
2024-12-18 15:01:25 +01:00
Andrea Boriero
badc844e3e
HHH-9952 Add test showing the issue has been solved
2024-12-18 15:00:01 +01:00
Christian Beikov
28b815766f
Try to fix snapshot publishing
2024-12-18 14:41:58 +01:00
Čedomir Igaly
0b035dc5a5
HHH-18958 If NamedQuery.returnClass attribute is present use it when generating method return type
2024-12-18 14:35:59 +01:00
Čedomir Igaly
3d35dbfae9
HHH-18958 Test case - named query with resultClass annotation
2024-12-18 14:35:59 +01:00
Čedomir Igaly
050089efcc
HHH-18960 If query parameter allows multiple value binding, accept List, Set, or Collection with parameter type as generic type
2024-12-18 14:20:48 +01:00
Čedomir Igaly
c96305a2e4
HHH-18960 Test case - when named query parameter allows multiple value binding, instance of java.util.Collection should be allowed as parameter
2024-12-18 14:20:48 +01:00
Gavin King
89ba024a44
much more consistent reuse of LoadEvents, and some cleanup
2024-12-18 13:47:03 +01:00
Gavin King
1aac8c356e
HHH-19985 clean up the incredible mess of CacheEntityLoaderHelper
...
and enable collections to be loaded from second-level cache in SS
NB: in my opinion, people shouldn't add their @author tag when they
just move a bunch of existing logic into a static class and make
some minor changes
2024-12-18 13:47:03 +01:00
Gavin King
22a13b535d
add collection recreate/update/remove events to StatelessSession
2024-12-18 13:47:03 +01:00
Gavin King
a66bd7da0f
HHH-17985 cache invalidation for collections from StatelessSession
2024-12-18 13:47:03 +01:00
Gavin King
9b1ee66355
minor code cleanups
2024-12-18 13:47:03 +01:00
Gavin King
d65b53cdb7
javadoc for JPA-standard cache config settings
2024-12-18 13:47:03 +01:00
Gavin King
50b64274e4
partially-fix jdoc in EntityDataAccess
...
Not sure what "release" referred to ... so operation that was removed/renamed?
2024-12-18 13:47:03 +01:00
Gavin King
409de2c7fa
HHH-17985 enable StatelessSession second-level cache by default
2024-12-18 13:47:03 +01:00
Gavin King
163d92c4cd
HHH-17985 allow StatelessSession.get() to get/put the second-level cache
...
For now I've left this disabled by default for backward compatibility.
2024-12-18 13:47:03 +01:00
Gavin King
e32130c3b8
HHH-18942 add another missing JFR event to StatelessSession
2024-12-18 13:47:03 +01:00
Gavin King
fdaf54f841
cosmetic changes in the Action package
2024-12-18 13:47:03 +01:00
Gavin King
b5f0d1a55d
fix typo in variable name
2024-12-18 13:47:03 +01:00
Gavin King
0cb6679f6e
misc code cleanups
2024-12-18 13:47:03 +01:00