Gavin King
bc6d3431da
add two @implNotes
2024-12-21 13:08:02 +01:00
Gavin King
8d9e639b2e
remove ref to ResolveNaturalIdEventListener from hibernate-graalvm
2024-12-21 12:31:35 +01:00
Gavin King
a61a738b27
get rid of a raw type
2024-12-21 12:31:35 +01:00
Gavin King
07ecda306a
HHH-18959 remove unused ResolveNaturalIdEvent stuff
...
this has all been obsolete since Hibernate 6.0
2024-12-21 12:31:35 +01:00
Gavin King
18c56775da
remove unused interface LiteralConsumer
2024-12-21 11:32:24 +01:00
Gavin King
1be4428719
move the SQM tuple support into the correct package namespace
...
this was placed in a location which it would be part of the
public API of the org.hibernate.query package, which is wrong,
since it is not API, nor is it even exposed on any SPIs, as
far as I can discern
cc @beikov
2024-12-21 11:32:24 +01:00
Gavin King
6816f721be
move @Incubating ReturnableType to same package as its super/subtypes
2024-12-21 11:32:24 +01:00
Gavin King
414e4ee4be
use a LinkedHashMap for better ordering of members in generated code
2024-12-21 09:12:55 +01:00
Gavin King
fa4cd9e9e5
simple refactorings to Processor code
2024-12-21 09:12:55 +01:00
Gavin King
2efcb1de6b
add tests for UPDATE queries in reactive and regular repos
2024-12-20 22:40:50 +01:00
Gavin King
3b3bd5ec1a
more work on data events
2024-12-20 22:40:50 +01:00
Gavin King
24df225d80
fixes for UPDATE queries
2024-12-20 22:40:50 +01:00
Gavin King
c9b6986f69
implement support for Jakarta Data events
...
(no events for reactive repos)
2024-12-20 22:40:50 +01:00
Gavin King
48a2d9177c
license headers and ws
2024-12-20 22:40:50 +01:00
Gavin King
4a3e6c7cfe
test showing two problems with user types
...
1. they must be public classes, or Hibernate refuses to instantiate them
2. even after making it public the EnhancedUserType fails in a trivial test
2024-12-20 18:45:28 +01:00
Gavin King
dc3ce66e20
clean imports
2024-12-20 17:59:09 +01:00
Gavin King
5b4a6df152
remove a TODO
2024-12-20 16:36:32 +01:00
Gavin King
da7acbfe6b
very minor changes
2024-12-20 16:36:32 +01:00
Christian Beikov
3f666cd848
Try to workaround hibernate-platform not being published to maven local
2024-12-20 15:32:29 +01:00
Christian Beikov
adb2c1e023
Try to workaround hibernate-platform not being published to maven local
2024-12-20 15:09:40 +01:00
Christian Beikov
6b75af0902
Try to workaround hibernate-platform not being published to maven local
2024-12-20 14:37:41 +01:00
Christian Beikov
4db9b19e86
Try to workaround hibernate-platform not being published to maven local
2024-12-20 14:26:26 +01:00
Christian Beikov
c27b134e69
Try to workaround hibernate-platform not being published to maven local
2024-12-20 14:06:45 +01:00
Christian Beikov
071bc279e4
Try to workaround hibernate-platform not being published to maven local
2024-12-20 13:53:28 +01:00
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