Commit Graph

9651 Commits

Author SHA1 Message Date
Jan Schatteman 30ad35643c HHH-16169 - Fix potential NullPointerException in CollectionEntry
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-02-14 18:44:52 +01:00
Jan Schatteman 6f16e4d947 HHH-16082 - Correction to the epoch extraction for HANA
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-02-14 18:42:37 +01:00
Davide D'Alto b2bbc38d2d HHH-16183 Change scopes of private methods in InsertCoordinator 2023-02-14 18:27:49 +01:00
Marco Belladelli 4dfac9ce2d HHH-16080 Add test for issue 2023-02-14 12:24:33 +01:00
Paul Ferraro 16c74bc804 HHH-16172 Expose internal state of 2nd-level cache keys 2023-02-13 21:09:22 +00:00
Christian Beikov 1a9f545e79 HHH-16150 Fix a little issue with SessionFactoryImpl#disintegrate 2023-02-13 18:54:52 +01:00
Yoann Rodière 97d5057751 HHH-16150 Fix schema not being dropped on bootstrap failure with the "create-drop" strategy 2023-02-13 18:54:52 +01:00
Andrea Boriero df4135c7f0 HHH-16119 Named native queries do not work with jakarta.persistence.Tuple result class 2023-02-13 18:54:08 +01:00
Andrea Boriero 3d9b1fb4cf HHH-16119 Add test for issue 2023-02-13 18:54:07 +01:00
Christian Beikov ec778bc632 Replace mockito for some tests with custom spies 2023-02-13 18:42:52 +01:00
Marco Belladelli 21a837fda0 HHH-16109 Don't add limits to named queries when not needed 2023-02-13 17:01:09 +01:00
Marco Belladelli 078c5bdc41 HHH-16109 Add test for issue 2023-02-13 17:01:09 +01:00
Andrea Boriero c6e30f8042 HHH-15990 unable to determine TableReference when associate ManyToOne fetch lazy and NotFound IGNORE 2023-02-13 16:59:21 +01:00
Andrea Boriero 4d433e7c03 HHH-15990 Add test for issue 2023-02-13 16:59:21 +01:00
Christian Beikov 60630fc48d Get rid of most capturing lambdas in write path 2023-02-13 16:57:57 +01:00
Marco Belladelli 7e9902c09e HHH-16170 Check for enums in update statement 2023-02-13 16:56:32 +01:00
Marco Belladelli 108967d26d HHH-16170 Add test for issue 2023-02-13 16:56:32 +01:00
Gavin King bb14d5b288 HHH-16174 support for extract(epoch from ...) in HQL 2023-02-13 16:52:49 +01:00
Jan Schatteman 6c7603f83a HHH-16131 - Correction to workaround for date calculation errors on Oracle (first workaround failed on Oracle 11)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-02-13 10:20:52 +01:00
Christian Beikov 02a4f91d46 Fix TenantIdTest when VM has nanosecond precision 2023-02-13 10:08:34 +01:00
Gavin King b3b293578e HHH-16133 allow before-execution generators for embeddable properties
and by side-effect allow @TenantId for embeddable properties
2023-02-13 10:08:19 +01:00
Gavin King 48682d4104 very minor jdoc changes 2023-02-13 10:08:19 +01:00
Christian Beikov b1b45a7b7a Use an instant in tests that fits the millisecond resolution of Sybase 2023-02-10 18:22:38 +01:00
Christian Beikov 4c99dbb75c Get rid of capturing lambdas for Bindable#JdbcValueConsumer 2023-02-10 16:08:56 +01:00
Steve Ebersole 15b24d6c14 HHH-16148 - Introduce Immutability (MutabilityPlan) for use with @Mutability
HHH-16141 - Support @Mutability and @Immutable on UserType
HHH-16147 - Support @Mutability and @Immutable on AttributeConverter
HHH-16146 - Improve User Guide documentation for (im)mutability
2023-02-10 08:46:39 -06:00
Christian Beikov de59b44779 Get rid of Clause parameter in JdbcParameterBindings 2023-02-10 15:34:23 +01:00
Andrea Boriero 91e3a38122 HHH-16165 Incorrect SQL generated when using SELECT DISTINCT and @OrderBy 2023-02-10 15:01:40 +01:00
Andrea Boriero 24d1aa67fc HHH-16165 Add test for issue 2023-02-10 15:01:40 +01:00
Marco Belladelli 0e9e631e3e HHH-16137 Fix check when replacing jdbc parameter 2023-02-10 15:00:59 +01:00
Marco Belladelli ad3cd73ada HHH-16137 Add test for issue 2023-02-10 15:00:59 +01:00
Christian Beikov 4a3d6fbc0e Remove identity generation strategy from entity in tests that doesn't need it 2023-02-10 15:00:15 +01:00
Marco Belladelli 1b89defbb6 HHH-16157 Add test for issue and fix duplicate discriminator conditions in join fetch queries 2023-02-09 18:26:50 +01:00
Marco Belladelli 2b3ce400b3 HHH-16037 HHH-16053 Add test for issues 2023-02-09 18:26:50 +01:00
Marco Belladelli d6967ea2cb HHH-15829 Add test for issue 2023-02-09 18:26:50 +01:00
Christian Beikov e8cba53020 HHH-16123 Add another test and fix rendering the pruned subquery in UnionSubclassEntityPersister 2023-02-09 14:02:42 +01:00
Marco Belladelli a25fa21b0c HHH-16123 Add test for issue 2023-02-09 14:02:42 +01:00
Marco Belladelli a66d1a5ec3 HHH-16112 No expectation for one-shot collection delete using update 2023-02-09 10:23:50 +01:00
Marco Belladelli b8dfc42efc HHH-16112 Add test for issue 2023-02-09 10:23:49 +01:00
Gavin King 1ab190134e remove an obsolete constructor no longer called by Quarkus
and delete the stupid InformixDialectTestCase
2023-02-09 10:23:49 +01:00
Marco Belladelli 5ececc8ea9 HHH-16136 Initialize bytecode-enhanced proxy for associated entities 2023-02-08 18:23:54 +01:00
Marco Belladelli e8ec1cdf98 HHH-16136 Add test for issue 2023-02-08 18:23:54 +01:00
Christian Beikov 4e03f320fb HHH-15898 Allow explicit configuration of the UDT column order 2023-02-08 18:07:58 +01:00
Jan Schatteman 7250449aaa Remove calls to deprecated createQuery method from FunctionTests
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-02-08 17:53:25 +01:00
Jan Schatteman 989a127b17 HHH-16131 - Added workaround and test for date calculcation errors on Oracle
Temporarily excluded TiDB from that test (until they fix https://github.com/pingcap/tidb/issues/41052)

Added tidb to the docker_db script

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-02-08 17:53:14 +01:00
Jan Schatteman f33e89133e HHH-16151 - Fix potential NullPointerException in SqmTreePrinter for the like excape character
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-02-08 16:35:02 +01:00
Christian Beikov a71e26e333 HHH-15875 Fix join fetch support for associations within embedded ids 2023-02-08 14:04:41 +01:00
Christian Beikov 2271e18ba5 [HHH-16122] Fix determining the type of a property during type variable resolving for mapped superclasses 2023-02-07 17:51:01 +01:00
Markus Heiden a7448bb15a [HHH-16122] Add test to reproduce problem 2023-02-07 17:50:58 +01:00
Christian Beikov 6861290978 Fix tests for Oracle 11 2023-02-07 17:39:00 +01:00
Steve Ebersole ae238d3032 HHH-16081 - Converted collection-as-basic values are considered immutable
HHH-16132 - Dirty checking broken for collection-as-basic mappings (test)
2023-02-06 13:06:25 -06:00