Commit Graph

14746 Commits

Author SHA1 Message Date
Gavin King 38b4e8e01b very minor cleanups, and more Javadoc in BinderHelper 2022-11-02 19:20:17 +01:00
Gavin King e2f42cd0bc introduce ForeignKeyType and AnnotationJoinColumns.getReferencedColumnsType() 2022-11-02 19:20:17 +01:00
Gavin King 849246e3cd finally move propertyName from AnnotatedColumn 2022-11-02 19:20:17 +01:00
Gavin King e4c1d493e3 finally move context + joins from AnnotatedColumn 2022-11-02 19:20:17 +01:00
Gavin King 18003b92dc finally move propertyHolder from AnnotatedColumn 2022-11-02 19:20:17 +01:00
Gavin King 585522fde1 extract some little helper methods 2022-11-02 19:20:17 +01:00
Gavin King ec336f3a23 introduce AnnotatedColumns 2022-11-02 19:20:17 +01:00
Gavin King 653bf987bd introduce AnnotatedJoinColumns and remove deprecated stuff 2022-11-02 19:20:17 +01:00
Gavin King ce12d4a586 improve Javadoc to types in mapping package 2022-11-02 18:52:56 +01:00
Gavin King cbaf856e18 squash some generic type-related warnings 2022-11-02 18:52:56 +01:00
Jan Schatteman 9d62179d40 HHH-15175 - Remove support for database versions that are unsupported by vendors 6.2 edition 2022-11-02 14:31:49 +01:00
Christian Beikov a471bbea8c HHH-15648 Fix fetching association and using implicit path in condition 2022-11-02 11:53:23 +01:00
Sanne Grinovero 60e81a7a4d HHH-15651 Refactoring of common iterations in EntityEntryContext 2022-11-01 20:45:35 +00:00
Sanne Grinovero cdbf92fd71 HHH-15651 StatefulPersistenceContext#clear shouldn't need defensive copies for iteration 2022-11-01 20:45:35 +00:00
Sanne Grinovero 001de2b203 HHH-15651 Logging guard improvements in StatefulPersistenceContext 2022-11-01 20:45:35 +00:00
Sanne Grinovero bedbd402e6 HHH-15649 Additional performance fixes relating to Klass's _secondary_super_cache interaction with entity enhancement 2022-11-01 11:18:54 +00:00
Gavin King 77d1bdac4c Javadoc improvements for naming strategies and Any mappings 2022-11-01 11:56:19 +01:00
Christian Beikov e00ebd91f9 Replace deprecated set-output in GH actions workflow 2022-10-31 12:04:38 +01:00
Andrea Boriero 90b1cfe2c3 HHH-15634 Lazy basic property does not get updated on change: inline dirty checking, lazy basic properties are not upated when set to null 2022-10-31 11:45:31 +01:00
Andrea Boriero 6d99eb1068 HHH-15634 Lazy basic property does not get updated on change 2022-10-31 11:45:31 +01:00
Andrea Boriero ee372fad58 HHH-15634 Run the tests also without dirty checking enabled 2022-10-31 11:45:31 +01:00
Yoann Rodière d5aa85e90c HHH-15634 Test updating one or all of multiple lazy basic properties 2022-10-31 11:45:31 +01:00
Yoann Rodière b82d906841 HHH-15634 Test updating a single lazy property with no lazy group 2022-10-31 11:45:31 +01:00
Yoann Rodière 66daac53a2 HHH-15634 Fix naming of LazyBasicFieldAccessTest/LazyBasicPropertyAccessTest
For some reason they were reversed.
2022-10-31 11:45:31 +01:00
Christian Beikov 9bd269aa5d Fix test for HANA 2022-10-31 11:18:11 +01:00
Gavin King ecdd7e20cb remove more usages of some deprecated methods 2022-10-29 23:32:05 +02:00
Gavin King bb0541d754 remove more usages of some deprecated methods 2022-10-29 23:32:05 +02:00
Gavin King 6e8d609485 squash warnings + remove usages of some deprecated methods 2022-10-29 23:32:05 +02:00
Gavin King ce860e31ff put some annotations back in a very important test 2022-10-29 15:10:10 +02:00
Gavin King f676a1e2af deprecate some operations of AnnotatedJoinColumn
+ some light refactoring
2022-10-29 15:10:10 +02:00
Gavin King 257bfdb391 slightly improve some Javadoc on metamodel-related stuff 2022-10-29 11:11:23 +02:00
Gavin King f253d8f216 remove useless @JoinColumns annotation for mosts tests and examples 2022-10-29 02:09:00 +02:00
Gavin King 66776f6b78 simplify a method 2022-10-29 02:09:00 +02:00
Gavin King 749e5e6b38 HHH-15627 fix uninformative error message 2022-10-29 02:09:00 +02:00
Gavin King ed65962fb3 more binding work related to OneToOne and ManyToOne to ToOneBinder where it belongs
and stuff in common goes to BinderHelper
2022-10-29 02:09:00 +02:00
Gavin King 8b3030aa8b avoid passing property-level information via the first AnnotatedJoinColumn 2022-10-29 02:09:00 +02:00
Gavin King d9392d6601 fix ugly toString()s 2022-10-29 02:09:00 +02:00
Gavin King 070f7e5d3a clean up collection SecondPass stuff 2022-10-29 02:09:00 +02:00
Gavin King 79642022a6 fix warnings in a test 2022-10-29 02:09:00 +02:00
Gavin King ab8f79e258 HHH-14014 test demonstrating the issue is solved 2022-10-29 02:09:00 +02:00
Gavin King 86906013c2 further cleanups to the Binder code 2022-10-29 02:09:00 +02:00
Gavin King f4687ac048 prefer importing JPA annotations 2022-10-29 02:09:00 +02:00
Gavin King 9cd834758a minor javadoc improvements 2022-10-29 02:09:00 +02:00
Christian Beikov 2f4712909a HHH-15636 Indexed Fetchable access via IndexedConsumer and by position and get rid of some capturing lambdas 2022-10-28 13:21:49 +02:00
Sanne Grinovero 53076f3029 HHH-15616 Mitigate performance impact of entity enhancement on Klass's _secondary_super_cache 2022-10-28 12:06:17 +02:00
Gavin King 16c39c0925 more sensible toString() 2022-10-28 03:19:05 +02:00
Gavin King 5ea136781c remove some uses of java.util.Properties 2022-10-28 03:19:05 +02:00
Gavin King 239fc9a835 clean up foreign key binding code 2022-10-28 03:19:05 +02:00
Gavin King 264d3c711c more consistent formatting for error messages 2022-10-28 03:19:05 +02:00
Gavin King 412319819e add some wildcards 2022-10-28 03:19:05 +02:00