Commit Graph

12026 Commits

Author SHA1 Message Date
Marco Belladelli 677c8b6529 HHH-18062 Fix id-class record instantiation and mapper component 2024-07-29 10:15:02 -05:00
Marco Belladelli 996783c380 HHH-18062 Add test for issue 2024-07-29 10:15:02 -05:00
Marco Belladelli 09baefba40 HHH-18406 Drop and recreate UserDefinedTypes for schema update as well 2024-07-29 16:11:40 +02:00
Marco Belladelli 6d3ee70f72 HHH-18406 Add test for issue 2024-07-29 16:11:40 +02:00
Marco Belladelli 8d39709cec HHH-18330 Check model part when reusing table group for to-one fetch 2024-07-29 16:11:12 +02:00
Marco Belladelli c27ec0fd29 HHH-18330 Add test for issue 2024-07-29 16:11:12 +02:00
Christian Beikov 1f08501d80 HHH-18229 Handle null owner key for collections 2024-07-26 16:42:59 +02:00
Steve Ebersole 2f3a01fd19 HHH-18411 - Add ability to specify a custom UuidGenerator.ValueGenerator 2024-07-24 16:18:40 -05:00
Steve Ebersole fdef3b52eb HHH-18411 - Add ability to specify a custom UuidGenerator.ValueGenerator 2024-07-24 16:18:40 -05:00
Jan Schatteman 55108d0740 HHH-18224 - db info logging cleanup
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-07-24 11:13:35 -05:00
Jan Schatteman f556ba9e90 HHH-18224 - standardize logging of database connection
HHH-18224 - add database logging info support also to MultiTenantConnectionProvider. Log output through subsystem logging.
HHH-18224 - remove duplicated database info logging
HHH-18224 - complete refactor of DatabaseConnectionInfo and add more info
HHH-18224 - add standard database info logging to the proxool connection provider
HHH-18224 - add min/max pool sizes to standard db logging

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-07-24 11:13:35 -05:00
Marco Belladelli e33bcfcf81 HHH-18382 Fix embeddable disc-formula insertable / updatable flags 2024-07-24 17:00:14 +02:00
Marco Belladelli ab158ec826 HHH-18382 Add test for issue 2024-07-24 17:00:14 +02:00
Marco Belladelli e2997bdc74 HHH-18357 Account for mapped-superclasses without ids 2024-07-24 16:59:37 +02:00
Marco Belladelli f4297a0020 HHH-18357 Add test for issue 2024-07-24 16:59:37 +02:00
Marco Belladelli 1aa7db6a0a HHH-18390 Fix hash code for entity types not referring to primary keys 2024-07-24 16:59:11 +02:00
Marco Belladelli baafcd9fbb HHH-18390 Add test for issue 2024-07-24 16:59:11 +02:00
Christian Beikov 01d4b997b5 Fix EDB xor implementation 2024-07-23 20:22:14 +02:00
Christian Beikov 59f944d691 HHH-18410 Hoist some state to AbstractAttributeMapping to avoid megamorphic call sites 2024-07-23 19:35:10 +02:00
Christian Beikov b0a0ca15c6 HHH-18410 Make use of getter/setter cache as much as possible 2024-07-23 19:35:10 +02:00
Christian Beikov ba05533a03 HHH-18379 Allow passing row count estimate to pre-size collections 2024-07-23 15:22:28 +02:00
Alvaro Esteban Pedraza 33b2e36035 HHH-12836: Improved logging when initiating service
Updated logging to indicate fallback provider checking when initiating JTA
platform service
2024-07-23 08:02:32 -05:00
Steve Ebersole 39de0115f7 HHH-18306 - Implicit instantiation for queries with single selection item broken
HHH-18401 - SelectionQuery needs better validation of query return type
2024-07-23 07:58:14 -05:00
Steve Ebersole 3bf82e6d82 HHH-18288 - Subclasses SINGLE_TABLE Inheritance should not be allowed to define @Table 2024-07-22 11:55:54 -05:00
Gavin King d938576fcc minor code changes
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-07-21 18:59:11 +02:00
Gavin King 9263a26270 fix an exception message
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-07-21 18:59:11 +02:00
Christian Beikov 5b2a87c5e8 HHH-18395 Fix intermittent failures of clock based tests by using custom clock 2024-07-17 18:01:28 +02:00
Christian Beikov 415bfcf8fa Fixes for nightly failures of PG and EDB v12, DB2 10.5 and MariaDB. Exclude Oracle 21 from nightly runs in favor of Atlas build 2024-07-16 17:26:15 +02:00
Christian Beikov b51acb752d HHH-17949 Fix upsert handling when optimistic locking is involved 2024-07-16 17:26:15 +02:00
Davide D'Alto ab3e4e27e0 HHH-18381 Changes for Hibernate Reactive 2.4 2024-07-16 10:11:34 -05:00
Andrea Boriero 164cbf0e8b HHH-18313 NullPointerException because JdbcIsolationDelegate.sqlExceptionHelper() returns null 2024-07-15 14:48:50 +02:00
Andrea Boriero 63171d365a HHH-18338 o.h.UnknownEntityTypeException: Unable to locate persister thrown when an embeddable object is loaded before the entity it references 2024-07-15 13:54:18 +02:00
Andrea Boriero 287bda68a0 HHH-18338 Add test for issue 2024-07-15 13:54:18 +02:00
Gavin King 93b2fc2bbd add missing @Override annotations
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-07-13 11:19:54 +02:00
Christian Beikov 505092e4ea HHH-18375 Reuse previous row state when result cardinality is duplicated 2024-07-11 19:12:40 +02:00
Geoffrey Park 228bd7958f HHH-18343 fix Altibase integration test failures since Hibernate 6.5.2 2024-07-11 18:31:12 +02:00
Jan Schatteman b48d0cf0f3 HHH-17914 - correct the NPE protection in AbstractCollectionPersister.logStaticSQL()
checking if `getRowMutationOperations().hasInsertRow()` (e.g.) is not enough to avoid a possible NPE at
`getRowMutationOperations().getInsertRowOperation().getSqlString()` since `getInsertRowOperation()` can still return null

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-07-11 15:49:45 +02:00
nathan.xu 2850c5ff90 HHH-18342 improve javadoc in SharedSessionContractImplementor 2024-07-11 01:59:32 +02:00
Samuel Guillemet bb90a84505 HHH-18339 Set support filter clause to True for H2 2024-07-09 15:58:46 +02:00
nathan.xu e2e1661845 HHH-18335 Improve partial order algorithm in AnnotationMetadataSourceProcessorImpl 2024-07-09 14:31:25 +02:00
Christian Beikov 2e9039b840 HHH-18352 Don't emulate tuple comparison with subquery if possible 2024-07-08 18:17:44 +02:00
Yanming Zhou f2d086f0dc HHH-18012 Fix array type matching for auto applying AttributeConverter 2024-07-08 17:56:19 +02:00
Yanming Zhou 9905a30852 HHH-18012 Add test for issue 2024-07-08 17:56:19 +02:00
nathan.xu dc31194dcb HHH-18340 fix incorrect method return types in AbstractDelegatingSessionFactoryBuilder class 2024-07-08 17:47:22 +02:00
Marco Belladelli 04ab85f155 HHH-18347 Fix cast type name using dialect's default size strategy
Also tests failing on MariaDB by avoiding `id` keyword as column name
2024-07-08 16:50:53 +02:00
Marco Belladelli cbe2f6ff89 HHH-17840 Fix `H2FormatJsonJdbcType` deprecation 2024-07-08 11:13:47 +02:00
Marco Belladelli 6bff7d30c8 HHH-18086 Include parent alias in NP identifier for table group 2024-07-08 11:12:19 +02:00
Marco Belladelli b392a5187d HHH-18086 Add test for issue 2024-07-08 11:12:19 +02:00
Marco Belladelli 1fe8b3c0d5 HHH-18017 Fix discriminator in shallow query cache check 2024-07-08 09:44:59 +02:00
Marco Belladelli ad3d985b52 HHH-18017 Add test for issue 2024-07-08 09:44:59 +02:00