Commit Graph

12164 Commits

Author SHA1 Message Date
Marco Belladelli 735f066c3d HHH-18642 Revert to Statement.RETURN_GENERATED_KEYS for identity only 2024-09-24 15:04:54 +02:00
Andrea Boriero 67fbc97b07 HHH-18628 Regression: Unable to determine TableReference 2024-09-23 17:36:19 +02:00
Andrea Boriero d0d7438970 HHH-18628 Add test for issue 2024-09-23 17:36:19 +02:00
Marco Belladelli c9bc3dcd45 HHH-18582 Throw explicit error when trying to map nested arrays 2024-09-23 11:16:11 +02:00
Marco Belladelli a34fb6ef08 HHH-18582 Add test for issue 2024-09-23 11:16:11 +02:00
Gavin King e3e7db0c68 HHH-17739 add tests 2024-09-23 11:16:11 +02:00
Gavin King 1e5eaaf50d HHH-17739 fix NPE for field with unsupported collection type
cleanups and warning fixes in TypeConfiguration and BasicValue
2024-09-23 11:16:11 +02:00
Andrea Boriero bc64bed465 HHH-18515 Unrecognized discriminator value exception when running native query on entity with discriminator column 2024-09-20 13:09:52 +02:00
Andrea Boriero 9c25ae2269 HHH-18515 Add test for issue 2024-09-20 13:09:52 +02:00
Andrea Boriero 307fb20c28 HHH-18632 Concurrency issue with AbstractEntityPersister#nonLazyPropertyLoadPlansByName 2024-09-20 11:03:10 +02:00
Marco Belladelli 0f0f50de96 HHH-18617 Avoid reading unowned association key when filters are enabled 2024-09-20 08:46:45 +02:00
Marco Belladelli aecb1d9e86 HHH-18617 Add test for issue 2024-09-20 08:46:45 +02:00
Marco Belladelli 11aebd8e7d HHH-18635 Avoid using `bigdatetime` on Sybase jconn when not necessary 2024-09-20 08:43:50 +02:00
Čedomir Igaly 3cd4e9a3ec HHH-18500 If superclass is null, class should not be enhanced, simply return empty collection 2024-09-19 18:59:18 +02:00
Christian Beikov 1df7628a65 HHH-18596 Get rid of ValueHandlingMode hack in query pagination 2024-09-19 14:11:09 +02:00
Piotr Wolny 2d6303db3b HHH-18551 Fix memory leak caused by creation of new BasicTypeImpl 2024-09-18 18:40:25 +02:00
Marco Belladelli e55bdbcc94 HHH-18337 Avoid calling `Configurable#create` for `null` creation context
Also change a failing test so it doesn't pass `null` as creation context
2024-09-18 13:51:43 +02:00
Steve Ebersole 3e215b5cee HHH-18337 - SequenceStyleGenerator not respecting physical naming strategy 2024-09-16 16:08:13 -05:00
Steve Ebersole efd45288d9 HHH-18337 - SequenceStyleGenerator not respecting physical naming strategy 2024-09-16 15:17:15 -05:00
Marco Belladelli 744732b726 HHH-18174 Fix junction entity name uses algorithm for subqueries
(cherry picked from commit 95ef45bef8)
2024-09-16 14:57:24 -05:00
Marco Belladelli 0e9577a4d6 HHH-18174 Add test for issue
(cherry picked from commit a33ae2d580)
2024-09-16 14:57:24 -05:00
Christian Beikov 9c5cf75111 HHH-18447 Try using native cast for string to boolean 2024-09-16 14:09:29 -05:00
Steve Ebersole 723e18d30a HHH-18337 - SequenceStyleGenerator not respecting physical naming strategy 2024-09-16 13:57:53 -05:00
Marco Belladelli 88bcc7140d HHH-18337 Account for physical naming strategy when querying db sequence 2024-09-16 12:22:43 -05:00
Marco Belladelli 7c66788c93 HHH-18337 Add test for issue 2024-09-16 12:22:43 -05:00
Gavin King b09b27c7d6 HHH-18625 - Add Configurable#create(GeneratorCreationContext)
https://hibernate.atlassian.net/browse/HHH-18625
2024-09-16 12:19:03 -05:00
Andrea Boriero a1d0b82c8a HHH-18489 Lazy, unowned one-to-one associations get loaded eagerly in queries - even with bytecode enhancement 2024-09-16 12:01:46 -05:00
Andrea Boriero 51fd19f055 HHH-18489 Test initialization of unowned, lazy one-to-one associations 2024-09-16 12:01:46 -05:00
Yoann Rodière c900702e3d HHH-18489 Test initialization of unowned, lazy one-to-one associations (and more) in queries 2024-09-16 12:01:46 -05:00
Marco Belladelli cf82dfa389
Fix HANA error where table only contains PK 2024-09-16 17:15:28 +02:00
Marco Belladelli 9f777e8d5b HHH-18612 Avoid writing `import.sql` file to classpath 2024-09-16 11:26:37 +02:00
Marco Belladelli 29278a7677 HHH-18436 Apply plural attribute ordering when creating the join 2024-09-16 11:26:37 +02:00
Marco Belladelli 7e0e2f77d4 HHH-18436 Add test for issue 2024-09-16 11:26:37 +02:00
Marco Belladelli 64181507f3 HHH-18439 Account for null values in query cache hit
Also, solve an assertion error in query result type check when selecting `null` literals
2024-09-16 11:26:37 +02:00
Marco Belladelli f5c5aa943e HHH-18439 Add test for issue 2024-09-16 11:26:37 +02:00
Marco Belladelli 26c1655117 HHH-18445 Always preserve correct property order for java records 2024-09-16 11:26:37 +02:00
Marco Belladelli 8bbdab5505 HHH-18445 Add test for issue 2024-09-16 11:26:37 +02:00
Marco Belladelli c8b1c881d8 HHH-18484 Account for null generated values for no-op updates 2024-09-16 11:26:37 +02:00
Marco Belladelli cfeee89c05 HHH-18484 Add test for issue 2024-09-16 11:26:37 +02:00
Andrea Boriero d0ddbb5d47 HHH-18511 ArrayIndexOutOfBoundsException in ImmutableFetchList 2024-09-14 09:09:30 +02:00
Andrea Boriero 4166584cd2 HHH-18511 Add test for issue 2024-09-14 09:09:30 +02:00
Marco Belladelli 54b809c4c6 HHH-18486 Prioritize custom name-resolvers before defaulting to dynamic 2024-09-13 12:41:59 +02:00
Marco Belladelli bc2a232e58 HHH-18486 Add test for issue 2024-09-13 12:41:59 +02:00
Marco Belladelli 48607ade1c HHH-18478 Retrieve concrete entity descriptor inside entity initializer's resolve state 2024-09-13 12:41:59 +02:00
Marco Belladelli 8af344e48a HHH-18478 Add test for issue 2024-09-13 12:41:59 +02:00
Marco Belladelli 364fe49e55 HHH-18490 Handle "concrete" generic embeddable attributes defined in mapped superclass
Also, resolve the correct expressible for function return type resolvers based on argument types.
2024-09-13 12:41:59 +02:00
Marco Belladelli 02550618ca HHH-18490 Add test for issue 2024-09-13 12:41:59 +02:00
Marco Belladelli b26977358a HHH-18502 Fix compiler method selection for #in(Collection<?> values) 2024-09-13 12:41:59 +02:00
Marco Belladelli e9231c01ed HHH-18502 Add test for issue 2024-09-13 12:41:59 +02:00
Marco Belladelli 6573212b75 HHH-18469 Use collection element table group when resolving circular bidirectional fetch 2024-09-13 12:41:59 +02:00