Commit Graph

14422 Commits

Author SHA1 Message Date
Christian Beikov 0b733d4ba2 HHH-15641 Enable inlineDirtyChecking and lazyLoading for enhancement by default and deprecate the setting 2022-11-07 09:19:26 +01:00
Gavin King c1e1b58e57 link to equivalent JPA operations on PersistenceUtil in javadoc 2022-11-06 15:10:52 +01:00
Gavin King 971a022eb6 Javadoc surrounding fetch profiles 2022-11-06 15:10:52 +01:00
Gavin King f9164fc32f explain what a second-level cache is in Javadoc 2022-11-05 13:37:17 +01:00
Gavin King 4a2792bed8 improvements to javadoc for StatelessSession, Session, and overview page 2022-11-05 13:37:17 +01:00
Gavin King c7b42097aa light cleanup of AnnotationBinder 2022-11-05 11:28:23 +01:00
Gavin King 3d9bf07ac8 miscellaneous code cleanups 2022-11-04 22:31:43 +01:00
Gavin King 0d2aa57b5d HHH-15671 remove long-deleted interface RelationalModel 2022-11-04 22:31:43 +01:00
Gavin King ba3d5b4dd7 deprecate impls of decrecated interface NamingStrategy 2022-11-04 22:31:43 +01:00
Gavin King 7593d580b7 fix name of ResultSetMappingSecondPass 2022-11-04 22:31:43 +01:00
Gavin King a39fcf7669 remove unused direct annotation impl CustomizableColumns 2022-11-04 22:31:43 +01:00
Gavin King cea6774f01 HHH-15663 add @Generated(sql=....) 2022-11-04 17:51:00 +01:00
Gavin King f6e65dc91a tests for HHH-15663 and HHH-15570 2022-11-04 17:51:00 +01:00
Gavin King 383ffa56eb HHH-15663 add writable member to @Generated annotation
This is useful if you're using custom SQL, e.g. @SqlInsert.

Also improve the Javadoc surrounding all this stuff.
2022-11-04 17:51:00 +01:00
Gavin King aef9ab2425 HHH-15570 allow @SqlInsert, @SqlUpdate, @SqlDelete for secondary tables 2022-11-04 17:51:00 +01:00
Andrea Boriero 28b253512e HHH-15666 When a reference entry is found in the Second Level Cache there is not need to set its values 2022-11-04 16:15:54 +01:00
Andrea Boriero 865f28a5d5 HHH-15666 Add test for issue 2022-11-04 16:15:54 +01:00
Sanne Grinovero ca79c91c56 HHH-15662 ClasscastException caused by check for Managed rather than ManagedEntity 2022-11-04 08:54:05 +00:00
Sanne Grinovero bde7362d9c HHH-15634 Extracting reusable Type constants from ByteBuddy InlineDirtyCheckingHandler 2022-11-03 19:48:42 +00:00
Sanne Grinovero 93355272fd HHH-15634 Extracting constant for @Transient annotation in ByteBuddy Enhancer 2022-11-03 19:48:42 +00:00
Scott Marlow a40fea29c0 HHH-15656 use privileged action when invoking ScheduledExecutorService.shutdown
Signed-off-by: Scott Marlow <smarlow@redhat.com>
2022-11-03 17:41:28 +01:00
Scott Marlow 8f2325ed4a HHH-15655 use privileged operation when defining classes
Signed-off-by: Scott Marlow <smarlow@redhat.com>
2022-11-03 17:41:28 +01:00
Christian 11b968a2ee HHH-15571 Use Gradle BND Plugin for generating OSGI Bundle entries in Jar Manifest 2022-11-03 11:43:12 +01:00
Gavin King 0b34025f1a HHH-15652 add missing Session.remove(entityName, object) method
Since we deprecated delete() there's no blessed way to do this.
2022-11-02 19:21:00 +01:00
Gavin King bb0edab332 rewrite EntityBinder 2022-11-02 19:20:17 +01:00
Gavin King 3cd90d7615 clean up CollectionBinder and friends 2022-11-02 19:20:17 +01:00
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