Marco Belladelli
f292908b67
HHH-18332 Fix DB2 support for procedure output ref_cursors parameters
2024-07-05 13:41:59 +02:00
Marco Belladelli
4c64ddc153
HHH-18332 Test stored procedures on DB2
2024-07-05 13:41:59 +02:00
Marco Belladelli
a86b35e664
HHH-18085 Also remove loading holder when loading shallow cached entity
2024-07-05 10:25:11 +02:00
Marco Belladelli
06f301f463
HHH-18085 Add test for issue
2024-07-05 10:25:11 +02:00
Marco Belladelli
8971558281
HHH-18272 Check for `SqmAliasedNodeRef` when collecting group/order by
2024-07-04 16:50:14 +02:00
Marco Belladelli
1a0b582823
HHH-18272 Add test for issue
2024-07-04 16:50:14 +02:00
Sanne Grinovero
5a052bafc9
HHH-18108 Avoid applying the ClassTransformer on types we will be loading
2024-07-02 16:45:05 +02:00
Gavin King
c1624dce98
minor code style improvements to ConnectionProviders
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-27 19:49:12 +02:00
Gavin King
05dc7b2612
clean up some imports
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-27 17:21:47 +02:00
Yoann Rodière
332b69ede2
HHH-18296 Test that we don't log warnings when "DROP IF EXISTS" is executed on postgres
2024-06-26 15:44:20 +02:00
Gavin King
3708e56aa2
HHH-18296 skip two fragile and not-extremely-useful tests on Postgres
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 15:44:20 +02:00
Gavin King
ad55fd0010
HHH-18296 call set client_min_messages = WARNING before dropping tables on Postgres
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 15:44:20 +02:00
Gavin King
1b25f8c6ea
eliminate unnecessary dupe method call
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 11:54:56 +02:00
Gavin King
93ec580fad
make use of Length constants in Dialects instead of Integer.MAX_VALUE
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-26 11:54:56 +02:00
Gavin King
d4593b00ce
very minor
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-25 23:03:55 +02:00
Gavin King
5645b3440a
HHH-18301 DB2 LUW supports DROP TABLE IF EXISTS since 11.5
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-25 23:03:55 +02:00
Gavin King
f947927234
HHH-18288 @Index specified by subclass in SINGLE_TABLE inheritance
...
I'm definitely not a fan of @Table annotations on subclasses in SINGLE_TABLE
hierarchies. However, unfortunately we've already decided to tolerate it.
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-21 11:55:20 +02:00
Gavin King
2b62eaa058
HHH-18158, HHH-18251, HHH-18062 fix composite id handling
...
by rolling back HHH-15184
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-14 15:34:06 +02:00
Marco Belladelli
b3d01730ce
HHH-18259 Fix check for generated properties for root table only
2024-06-14 10:22:28 +02:00
Marco Belladelli
24dd943c7b
HHH-18259 Add test for issue
2024-06-14 10:22:28 +02:00
Dmitry Kryukov
d53c9aa7cd
HHH-18118 fixed comparison of class field with itself
2024-06-14 09:33:36 +02:00
Dmitry Kryukov
ebaba54a83
HHH-18122 removed check of the arg type for private classes
2024-06-14 09:28:59 +02:00
Dmitry Kryukov
2b965f6c65
HHH-18122 added check of the arg type into equals()
2024-06-14 09:28:59 +02:00
Marco Belladelli
638466fa8c
HHH-18212 Small cleanups to transient check logic
2024-06-14 09:23:09 +02:00
Gavin King
8686392afe
clean up logic in CHECK_ON_FLUSH
...
so that it's more readable/understandable
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-13 23:39:29 +02:00
Gavin King
6f58c5e2f6
minor cleanups in Dialect
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-13 23:39:29 +02:00
Gavin King
505e64b19a
HHH-18016 change ArgumentTypesValidator to delegate to the JdbcType
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-13 21:59:53 +02:00
Marco Belladelli
27bbdfc839
HHH-18212 Setting to control transient check strictness for unowned associations
2024-06-13 18:06:09 +02:00
Marco Belladelli
055570c8af
HHH-18212 Fix transient check for entities deleted during the same flush
2024-06-13 18:06:09 +02:00
Marco Belladelli
52a539d727
HHH-18212 Add test for issue
2024-06-13 18:06:09 +02:00
Andrea Boriero
a567226a72
HHH-17956 Criteria multiselect ignores type of the criteria query and always returns list of Object[]
2024-06-13 11:21:54 +02:00
Andrea Boriero
f5062b2aef
HHH-17956 Add test for issue
2024-06-13 11:21:54 +02:00
Jan Schatteman
9c4baed5ae
HHH-10162 - Add test
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-06-13 10:18:14 +02:00
Jan Schatteman
9da230a616
HHH-12885 - Add test
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-06-13 10:18:14 +02:00
Jan Schatteman
223328ff2f
HHH-12752 - Add test
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-06-13 10:18:14 +02:00
Marco Belladelli
2772a9d6fb
HHH-18218 - Fix possible null pointer
2024-06-12 16:15:28 +02:00
Cedomir Igaly
4c8e72c5ec
HHH-18218 - Improved type resolving when tuple element implements SqmExpressibleAccessor
2024-06-12 16:05:27 +02:00
Cedomir Igaly
9e13bd0c48
HHH-18218 - Added test case not using explicit constructor new ConstructorDto(...)
2024-06-12 16:05:27 +02:00
LLEFEVRE
c2d0763b64
HHH-18220 Detect if Application Continuity is enabled for Oracle dialect
2024-06-12 16:03:44 +02:00
LLEFEVRE
7c711751dd
HHH-18220 Detect if Application Continuity is enabled for Oracle dialect
2024-06-12 16:03:44 +02:00
Gavin King
58e814965e
improvements to filter-related javadoc
...
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-12 13:57:39 +02:00
Andrea Boriero
8663136608
Improve Sybase and SQLServer blob lob generation
2024-06-12 13:36:59 +02:00
Andrea Boriero
55eea3d0df
HHH-16094 HHH-17097 MySQL schema generation and validation : tinytext instead of longtext for @Lob
2024-06-12 13:36:59 +02:00
Andrea Boriero
5b9057e2ed
HHH-16094 Add test for issue
2024-06-12 13:36:59 +02:00
Andrea Boriero
eaa94b1305
HHH-17097 Add test for issue
2024-06-12 13:36:59 +02:00
Andrea Boriero
357be627e2
HHH-18147 Hibernate fails to persist an entity when a natural id association is a proxy
2024-06-12 13:30:27 +02:00
Andrea Boriero
f87cecee0e
HHH-18147 Add test for issue
2024-06-12 13:30:27 +02:00
Davide D'Alto
26f6cdab03
HHH-18254 Change `NativeQueryImpl#createCountQueryPlan` scope to protected
...
So that I can re-use the code when implementing ReactiveSelectQueryPlan#getReactiveResultsCount in Hibernate Reactive
2024-06-12 13:20:44 +02:00
Christian Beikov
f7093239d9
HHH-18125 Fix type of embeddable discriminator paths and type literals
...
Build and store the embeddable discriminator type in the Component. Also, change the type of entity/embeddable type literals to the discriminator type (or `Class` when not polymorphic).
2024-06-12 13:18:03 +02:00
Christian Beikov
e2f7d5d516
HHH-16830 Custom exception handling for applyToLoadByKey associations
2024-06-12 12:19:33 +02:00