10541 Commits

Author SHA1 Message Date
lvydra
8ba6d4321b [HHH-16772] Generated bytecode for HibernateAccessOptimizer class is invalid and causes operand stack overflow issue 2024-10-02 15:34:19 +02:00
Christian Beikov
c180c1e0d5 HHH-18506 Reduce itable stubs during dirty checking 2024-08-21 18:54:19 +02:00
Christian Beikov
4bb02cd929 HHH-18506 Improve flush performance by reducing itable stubs 2024-08-21 18:54:19 +02:00
Sanne Grinovero
2b92c3dbe5 HHH-16728 Optimise iteration of AssociationType properties within a Persister 2024-08-06 09:40:28 +02:00
Christian Beikov
0d58a2410c HHH-18410 Hoist some state to AbstractAttributeMapping to avoid megamorphic call sites 2024-08-06 09:40:28 +02:00
Christian Beikov
e4bc19b64a HHH-18410 Make use of getter/setter cache as much as possible 2024-08-06 09:40:28 +02:00
Jan Schatteman
47cd06c6db HHH-17344 - Fix potential NPE
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-07-02 08:46:40 +02:00
Marco Belladelli
466fcada34 HHH-17379 HHH-17397 HHH-17837 HHH-18202 Backport fk rendering-side logic for associations in order/group by 2024-06-11 12:16:26 +02:00
Marco Belladelli
7066861147 HHH-18202 Add test for issue 2024-06-11 12:16:26 +02:00
Marco Belladelli
c33ccc09dc HHH-17837 Add test for issue 2024-06-11 12:16:26 +02:00
Marco Belladelli
fcf0852374 HHH-17379 HHH-17397 Add test for issue 2024-06-11 12:16:26 +02:00
Marco Pelagatti
ff204c92c8 HHH-18170 Subquery randomly generating wrong SQL due to duplicate alias 2024-06-11 12:16:26 +02:00
Marco Belladelli
ac9e4ac980 Fix Oracle test missing order by expression in select distinct 2024-06-11 12:16:26 +02:00
Gavin King
fc30edd221 HHH-18140 Skip optimizeUnloadedDelete if there are POST_COMMIT_DELETE listeners
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-11 12:16:26 +02:00
Andrea Boriero
c5893e7919 HHH-16461 @Version + session.refresh(entity, LockMode.PESSIMISTIC_WRITE) leads to StaleObjectStateException 2024-06-11 12:16:26 +02:00
Yoann Rodière
f80b90735e HHH-16461 Test @Version + session.refresh(entity, LockMode.PESSIMISTIC_WRITE) 2024-06-11 12:16:26 +02:00
Andrea Boriero
40f6ad6700 HHH-17964 Hibernate using wrong column order for ElementCollection query when composite ID is present 2024-04-25 14:08:17 +02:00
Andrea Boriero
06fe05482c HHH-17964 Add test for issue 2024-04-25 14:08:17 +02:00
Marco Belladelli
8eca2d9636 HHH-17883 Correct original column order for primary keys 2024-04-25 14:08:17 +02:00
Marco Belladelli
71e52a8f0f HHH-17883 Add test for issue 2024-04-25 14:08:17 +02:00
Christian Beikov
15fd989ff6 HHH-17885 Fix for same named attribute of different Embedded uses same selection expression 2024-04-25 14:08:17 +02:00
Christian Beikov
62836b5dcf HHH-17885 Test for same named attribute of different Embedded uses same selection expression 2024-04-25 14:08:17 +02:00
Christian Beikov
3700bbf4f0 HHH-17734 Ensure provider_class has precedence over datasource 2024-03-28 14:38:34 -05:00
Christian Beikov
00d6777d05 HHH-17493 Ensure case insensitivity is retained in negated copy 2024-03-28 14:38:34 -05:00
Jan Schatteman
e9fd4a6915 HHH-17493 - add tests and fix
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-03-28 14:38:34 -05:00
Marco Belladelli
4508d2f3be HHH-17705 Load default bytecode provider using the correct ClassLoader 2024-03-27 14:11:58 +01:00
Christian Beikov
c7114ce442 HHH-17689 Cache SQL statement for unique key lookup 2024-03-27 14:11:58 +01:00
Christian Beikov
a36393b93f HHH-17670 Test and fix for NPE in FromClause#findTableGroup 2024-01-24 10:54:36 +01:00
Andrea Boriero
186bcc6ac8 HHH-17634 Merging a new entity having a @GeneratedValue id should not set the generated id of the original entity 2024-01-24 10:54:36 +01:00
Andrea Boriero
7751cc4491 HHH-17634 Add test for issue 2024-01-24 10:54:36 +01:00
Marco Belladelli
1b9d4a3e36 HHH-17643 Load BytecodeProvider as a java service
Also allow `SerializableProxy` deserialization even when no session factory is available.
2024-01-22 12:12:22 +01:00
Christian Beikov
3f8e696dc3 HHH-17106 Fix ClassCastException when using length 1 named enum mapping 2024-01-10 12:46:45 +01:00
Christian Beikov
66a723e251 HHH-17623 Test and fix use of association in @OrderBy 2024-01-10 12:46:45 +01:00
Marco Belladelli
7c5e419c29 HHH-17606 Fix nested generic join path resolution 2024-01-05 16:41:40 +01:00
Marco Belladelli
d41981e621 HHH-17606 Add test for issue 2024-01-05 16:41:40 +01:00
Yanming Zhou
3564717876 HHH-16935 Fix inconsistent method name 2024-01-05 16:41:40 +01:00
Andrea Boriero
ed107f8436 HHH-17380 Persisting an entity with a non generated id and @MapsId throws PropertyValueException 2024-01-05 16:41:40 +01:00
Andrea Boriero
a4762886fd HHH-17380 Add test for issue 2024-01-05 16:41:40 +01:00
Marco Belladelli
1633b2d2c7 HHH-17405 Fix failing generic MappedSuperclass comparison test 2023-12-19 15:31:59 +01:00
Marco Belladelli
da89662241 HHH-17405 Handle generic mapped superclass path sources 2023-12-19 15:31:59 +01:00
Marco Belladelli
234908136c HHH-17405 Add test for issue 2023-12-19 15:31:59 +01:00
Gavin
7b7ad92a39 mark parameter as deprecated since it is always null
leaving the parameter there seems to have been a mistake,
since it was _was_ removed from nullSafeSet()
2023-12-15 19:42:07 +01:00
Gavin
89d0a5715d HHH-16593 allow mappedBy to refer to a non-association property
(get rid of a totally unnecessary error)
2023-12-15 19:42:07 +01:00
Marco Belladelli
605886b636 HHH-17491 Fix checking subtype attribute declared in MappedSuperclass 2023-12-05 15:40:22 +01:00
Marco Belladelli
67af47a66f HHH-17491 Add test for issue 2023-12-05 15:40:22 +01:00
Christian Beikov
ac3b5281c3 HHH-17445 Don't force initialization of correlated joined table group 2023-12-01 18:16:48 +01:00
Marco Belladelli
e369015b4d HHH-17384 Fix @NotFound to-one association nullness handling 2023-12-01 18:16:48 +01:00
Steve Ebersole
3e96ddce40 HHH-17143 - More not-found fix ups
https://hibernate.atlassian.net/browse/HHH-17143
2023-12-01 18:16:48 +01:00
Christian Beikov
f7709e7610 HHH-17102 Fix @SqlResultSetMapping issue for joined inheritance entity result 2023-12-01 18:16:48 +01:00
The-Huginn
47e827200e [HHH-17294] DeepCopy non-Embedded JSON or XML JdbcTypCode attribute using FormatMapper 2023-12-01 18:16:48 +01:00