Commit Graph

13837 Commits

Author SHA1 Message Date
Christian Beikov d17a6fbf85 Fix NPE with collection filter predicates when joins have no group alias 2022-03-16 16:54:35 +01:00
Christian Beikov 8cf0265f8d Make sure root virtual table group joins are rendered properly 2022-03-16 16:54:34 +01:00
Christian Beikov b227475489 Make sure the discriminator path uses the correct table group 2022-03-16 16:54:34 +01:00
Christian Beikov 20564a5547 Make sure DML updates do inserts into secondary tables when necessary 2022-03-16 16:54:34 +01:00
Christian Beikov 955e8265dc Do not expose id class embeddables through getManagedTypes 2022-03-16 16:54:34 +01:00
Christian Beikov 7f4a4afd64 Also create inverse model parts for nested embeddable attributes 2022-03-16 16:54:34 +01:00
Christian Beikov c548a79f0b Introduce special part name for FK target part to avoid issues with composite FK initializers 2022-03-16 16:54:34 +01:00
Christian Beikov 0ca38c8c87 Allow ordering query groups by attribute name and fix processing issue with nested set operations 2022-03-16 16:54:34 +01:00
Christian Beikov 246f1048a0 Add inverse NonAggregatedIdentifierMapping that uses VirtualIdEmbeddable as model part 2022-03-16 16:54:33 +01:00
Steve Ebersole 3da5571867 drop Wrapper.DistributionType.ALL for Gradle wrapper config 2022-03-16 09:37:01 -05:00
Steve Ebersole ed4dbadb6c drop Wrapper.DistributionType.ALL for Gradle wrapper config 2022-03-16 08:27:57 -05:00
Steve Ebersole 5403e95958 HHH-14872 - Re-enable hibernate-gradle-plugin
plus additional improvements to Gradle scripts
2022-03-15 20:10:17 -05:00
Steve Ebersole 58d4d8a6e1 Gradle build clean-ups
- fix forbidden-apis task config
2022-03-15 16:24:07 -05:00
Steve Ebersole 8c052054a8 Intermittent test failure (Sybase) 2022-03-15 12:35:45 -05:00
Steve Ebersole f82d381fe3 Gradle build clean-ups
- re-organize release task definitions to avoid use of subproject iteration
2022-03-15 12:15:56 -05:00
Steve Ebersole 9335d3efbf HHH-14993 - EAGER non-inverse collection throws StackOverflowError if `max_fetch_depth` not set 2022-03-15 09:41:36 -05:00
Steve Ebersole 38cffd0c8f HHH-14993 - EAGER non-inverse collection throws StackOverflowError if `max_fetch_depth` not set 2022-03-15 09:41:36 -05:00
Steve Ebersole 92b46bca5b Gradle build clean-ups
- drop use of `allprojects`
2022-03-15 09:39:07 -05:00
Steve Ebersole a8d9d4e5ef prep 6.0 Final announcement 2022-03-15 07:58:19 -05:00
Sanne Grinovero 2e9b34fc51 HHH-15119 Upgrade to ByteBuddy 1.12.8 2022-03-15 10:27:37 +00:00
Andrea Boriero 2d19bdbaf3 HHH-15113 Exception setting ParameterExpressions on Update Queries 2022-03-14 23:27:41 +00:00
Steve Ebersole 741b6b71f1 logging report 2022-03-11 14:45:43 -06:00
Steve Ebersole 7a1d6f13dd doc fix-ups 2022-03-09 13:45:11 -06:00
Steve Ebersole e16fbb6c31 report-tasks 2022-03-09 12:28:13 -06:00
Steve Ebersole 256dc64e87 add missing task dependency to stage rendered migration-guide for uploading with rest of documentation 2022-03-09 08:10:36 -06:00
Christian Beikov 293315ffa4 HHH-15105 Test and fix for NPE when access default query cache region statistics 2022-03-09 12:10:14 +01:00
Yoann Rodière 5eb8a6fab1 HHH-15107 Use net.bytebuddy.experimental=true when running tests against JDK19 2022-03-09 08:11:09 +01:00
Yoann Rodière a88170d24a HHH-15107 Upgrade to Mockito 4.3.1 2022-03-09 08:11:09 +01:00
Yoann Rodière e1d202a795 HHH-15107 Upgrade Gradle's max supported bytecode version to 17
Since we're on Gradle 7.3.3.

See https://docs.gradle.org/7.3.3/release-notes.html#java17
2022-03-09 08:11:09 +01:00
Steve Ebersole 3a6ad2fd3a Fix test failure 2022-03-08 23:40:41 -06:00
Hibernate-CI 92686b16e2 Post-steps for release : `6.0.0.CR2` 2022-03-09 03:59:38 +00:00
Hibernate-CI 8c5fdea247 Pre-steps for release : `6.0.0.CR2` 2022-03-09 03:54:06 +00:00
Steve Ebersole 3dc0dd0a6f HHH-15114 - Clean up deprecations 2022-03-08 21:39:21 -06:00
Steve Ebersole d4f4d09a0c Render and stage migration-guide to be published to the doc server along with other the other documentation 2022-03-08 21:16:53 -06:00
Steve Ebersole 1fe1110f0b HHH-15106 - fk() SQM function 2022-03-08 21:00:08 -06:00
Steve Ebersole 415b28f116 HHH-15114 - Clean up deprecations 2022-03-08 20:24:14 -06:00
Jan Schatteman c46ec5a14e Removed deprecated AbstractEntityPersister.getIdentityDelegate()
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman 91a1ff81f8 Removed deprecated SharedSessionContractImplementor.getTimestamp()
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman 291e755686 Removed deprecated methods in ProxyFactoryFactory and NoneBasicProxyFactory
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman 9fc2b3dea5 Removed deprecated LazyAttributesMetadata.getAttributesInSameFetchGroup(...)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman 4b5d3e645b Removed deprecated SessionFactoryOptions.getStatelessInterceptorImplementor()
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman 2244ab8e61 Removed deprecated QueryEngine.DEFAULT_PARAMETER_METADATA_MAX_COUNT
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman 4669fc7c4c Removed deprecated org.hibernate.mapping.AuxiliaryDatabaseObject
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman 7931e9c755 Removed deprecated non-static methods from LobTypeMappings and NationalizedTypeMappings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman 8e068d7647 Removed deprecated SessionFactoryServiceInitiator.initiateService(SessionFactoryImplementor, SessionFactoryOptions, ServiceRegistryImplementor)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman b1ec3ab78b Removed deprecated Interceptor.onPrepareStatement(String sql)
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman 13527366c9 Removed deprecated setFlushMode from Session and SharedSessionContractImplementor
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman 8b0f70f066 Removed deprecated MetadataBuildingOptions.getReflectionManager()
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman 41016674cb Removed deprecated InFlightMetadataCollector.getClassmateContext()
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00
Jan Schatteman 6564abe4c7 Removed deprecated transactionContext() from SharedSessionBuilder
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-03-08 18:42:18 -06:00