Commit Graph

9685 Commits

Author SHA1 Message Date
Andrea Boriero ffd9c9b0f6 HHH-16009 Add test for issue 2023-02-27 17:04:12 +01:00
Marco Belladelli 546d145d88 HHH-16185 Custom trunc/truncate implementation that handles both numeric and datetimes 2023-02-27 17:02:30 +01:00
Marco Belladelli 821e31b481 HHH-16185 Implement portable date_trunc function emulation and tests 2023-02-27 17:02:29 +01:00
Georgios Andrianakis d922b60a74 Fix logging in AbstractCollectionInitializer
The previous version of the code lead to misleading
log statements being printed when debug logging
was enabled for 'org.hibernate.orm.results.loading.collection'
2023-02-27 14:11:31 +01:00
Andrea Boriero 20212c217c HHH-16202 @OrderBy not applied to collections when @Fetch(value = FetchMode.SUBSELECT) 2023-02-27 14:10:41 +01:00
Andrea Boriero 3683391030 HHH-16202 Add test for issue 2023-02-27 14:10:41 +01:00
shin-mallang 24ec517b7c HHH-16233 Fix logs for mutable non-root entity 2023-02-27 13:36:58 +01:00
Yoann Rodière 7bafc3c6e0 HHH-16177 Test catalog/schema creation/dropping in DefaultCatalogAndSchemaTest 2023-02-27 12:58:27 +01:00
Yoann Rodière 750a663de4 HHH-16177 Take into account the default catalog/schema when creating/dropping catalogs/schemas 2023-02-27 12:58:21 +01:00
Sanne Grinovero 47f13f0cdb HHH-16228 Allow Dialect wrapper to expose the wrapped instance 2023-02-24 22:04:29 +00:00
Sanne Grinovero 2ab68f2164 HHH-16228 Avoid delegating protected methods using during construction 2023-02-24 19:37:28 +00:00
Steve Ebersole 9d833671bb HHH-16227 - Introduce SqmMultiTableMutationStrategyProvider 2023-02-24 09:52:58 -06:00
Sanne Grinovero 3f2e24c3dd HHH-16228 Introduce a Dialect wrapper base class 2023-02-24 13:50:58 +00:00
Steve Ebersole a36f6aa736 HHH-16226 - Introduce JdbcValuesMappingProducerProvider 2023-02-24 07:35:26 -06:00
Sanne Grinovero 02da5a81a8 HHH-16222 Improve warning triggered when the PostgreSQL JDBC driver is not accessible 2023-02-23 14:57:11 +00:00
Sanne Grinovero bce328cb29 HHH-16221 Improve extensibility of CockroachDB and PostgreSQL dialects 2023-02-23 14:57:11 +00:00
Andrea Boriero 56470f4f7c HHH-16175 Fix sybase test failure 2023-02-23 09:09:03 +01:00
Davide D'Alto 16153adde9
HHH-16220 Add MutationExecutorStandard#getNonBatchedStatementGroup
For Hibernate Reactive
2023-02-23 07:40:39 +00:00
Sanne Grinovero ac9f47ae43 HHH-16214 Use a more efficient Map implementation in SqmFunctionRegistry 2023-02-21 19:40:29 +00:00
Steve Ebersole dd5a8c97af Fixed up some SessionFactory-related deprecation warnings 2023-02-21 09:01:21 -06:00
Andrea Boriero 6d69318aae AssertionError in StandardEntityGraphTraversalStateImpl.traverse when using entity graph 2023-02-21 09:13:08 +01:00
Yoann Rodière d0c07bdf89 HHH-16175 Test entity graphs when including either all attributes or no attributes 2023-02-21 09:13:08 +01:00
Gavin 3438d1c966 fix mistake in Oracle timestamp rendering
we need to include the time zone
2023-02-21 08:26:26 +01:00
Gavin King 7ab02c3e5f add tests for casts to/from OffsetDateTime 2023-02-21 08:26:26 +01:00
Andrea Boriero 998bae5791 HHH-16119 Fix test typo 2023-02-20 14:38:40 +01:00
Andrea Boriero fb901051ca HHH-16184 Two queries are execute to initialize empty collections 2023-02-20 14:25:21 +01:00
Andrea Boriero 66ef965320 HHH-16184 Add test for issue 2023-02-20 14:25:14 +01:00
Georgios Andrianakis 6b2281d0ba Apply changes needed for support of @ValueGenerationType in Hibernate Reactive 2023-02-20 09:33:37 +01:00
Marco Belladelli 7e83dba91f HHH-16155 Disable batching when generated properties are found 2023-02-20 09:32:13 +01:00
Marco Belladelli ad6dce7e89 HHH-16155 Add test for issue 2023-02-20 09:32:13 +01:00
Sanne Grinovero 0b0799d567 HHH-16194 Failure to automatically integrate with Bean Validation is excessively noisy 2023-02-17 16:51:10 +00:00
Steve Ebersole fd649a9b4e Misc 2023-02-16 21:02:02 -06:00
Christian Beikov f2deb8f58e HHH-14514 Fix auto eviction of collection cache 2023-02-16 09:09:57 +01:00
Jan Schatteman 2c55a1feb1 HHH-16082 - Correction to the epoch extraction for DB2
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-02-16 09:09:56 +01:00
Jan Schatteman 30ad35643c HHH-16169 - Fix potential NullPointerException in CollectionEntry
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-02-14 18:44:52 +01:00
Jan Schatteman 6f16e4d947 HHH-16082 - Correction to the epoch extraction for HANA
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-02-14 18:42:37 +01:00
Davide D'Alto b2bbc38d2d HHH-16183 Change scopes of private methods in InsertCoordinator 2023-02-14 18:27:49 +01:00
Marco Belladelli 4dfac9ce2d HHH-16080 Add test for issue 2023-02-14 12:24:33 +01:00
Paul Ferraro 16c74bc804 HHH-16172 Expose internal state of 2nd-level cache keys 2023-02-13 21:09:22 +00:00
Christian Beikov 1a9f545e79 HHH-16150 Fix a little issue with SessionFactoryImpl#disintegrate 2023-02-13 18:54:52 +01:00
Yoann Rodière 97d5057751 HHH-16150 Fix schema not being dropped on bootstrap failure with the "create-drop" strategy 2023-02-13 18:54:52 +01:00
Andrea Boriero df4135c7f0 HHH-16119 Named native queries do not work with jakarta.persistence.Tuple result class 2023-02-13 18:54:08 +01:00
Andrea Boriero 3d9b1fb4cf HHH-16119 Add test for issue 2023-02-13 18:54:07 +01:00
Christian Beikov ec778bc632 Replace mockito for some tests with custom spies 2023-02-13 18:42:52 +01:00
Marco Belladelli 21a837fda0 HHH-16109 Don't add limits to named queries when not needed 2023-02-13 17:01:09 +01:00
Marco Belladelli 078c5bdc41 HHH-16109 Add test for issue 2023-02-13 17:01:09 +01:00
Andrea Boriero c6e30f8042 HHH-15990 unable to determine TableReference when associate ManyToOne fetch lazy and NotFound IGNORE 2023-02-13 16:59:21 +01:00
Andrea Boriero 4d433e7c03 HHH-15990 Add test for issue 2023-02-13 16:59:21 +01:00
Christian Beikov 60630fc48d Get rid of most capturing lambdas in write path 2023-02-13 16:57:57 +01:00
Marco Belladelli 7e9902c09e HHH-16170 Check for enums in update statement 2023-02-13 16:56:32 +01:00