Commit Graph

19955 Commits

Author SHA1 Message Date
Christian Beikov f12c6c3aed Don't render distinct from predicate on SQL Server versions that don't support it 2024-11-21 08:54:34 +01:00
Christian Beikov c0804d366c Fix rendering of xmltable and boolean handling for older versions of DB2 2024-11-21 08:54:34 +01:00
Christian Beikov 29b00d6754 Fix issue with unnest rendering for old PostgreSQL and EDB versions 2024-11-21 08:54:34 +01:00
Christian Beikov ed5f1d82d1 Fix Sybase ASE nightly failure of NationalizedTest 2024-11-21 08:54:34 +01:00
Gavin King de3408662c HHH-18863 change the way enum types -> values are cached to avoid lookups 2024-11-20 19:18:06 +01:00
Gavin King ece2981ae8 modernize code in ProcessorSessionFactory 2024-11-20 19:18:06 +01:00
Gavin King e24582a6ef HHH-18863 probably more efficient way to detect if a class is a Panache thing 2024-11-20 19:18:06 +01:00
Gavin King 453f0ff074 improve exception messages and logging related to tx management
along with some minor aesthetic code cleanups
2024-11-20 12:06:49 +01:00
Christian Beikov 47f1a1207a HHH-18851 Fix parameter type inference issue when IN predicate is uses array_contains() 2024-11-20 10:17:57 +01:00
Steve Ebersole 26ed1e29ff HHH-12996 - Property paths for associations that are part of the entity ID (i.e. IdClass) are not initialized 2024-11-19 16:31:35 -06:00
Steve Ebersole 6707dee0a6 HHH-18847 - Organize the org.hibernate.query.results package 2024-11-19 15:46:38 -06:00
Steve Ebersole 2c5e0ff113 HHH-12676 - SecondaryTables do not work with TABLE_PER_CLASS inheritance 2024-11-19 15:25:16 -06:00
Steve Ebersole 1b9f636114 HHH-12969 - Metadata for composite-id attributes inaccurate when an id-class is specified 2024-11-19 14:56:40 -06:00
Steve Ebersole d29b842294 HHH-18864 - Creating NativeQuery with result-class leads to problems with addEntity and addRoot 2024-11-19 13:57:48 -06:00
Koen Aers 707c3a788f HHH-18644 - New and improved hibernate-maven-plugin
Signed-off-by: Koen Aers <koen.aers@gmail.com>
2024-11-19 11:27:23 -06:00
Marco Belladelli 817355f8a4 HHH-18862 Small cleanups to SqmUtil 2024-11-19 16:18:29 +01:00
Marco Belladelli 39f78c89fd HHH-18862 Add test for issue 2024-11-19 16:18:29 +01:00
Gavin King dd80b3e2a5 HHH-18859 add a test for string slice operator 2024-11-18 22:00:54 +01:00
Gavin King cfc4b0a644 HHH-18859 fix error message for slice operator applied to non-string non-array 2024-11-18 22:00:54 +01:00
Gavin King 0878fbbddf fix generic typing of Consumers to make them contravariant 2024-11-18 17:28:27 +01:00
Gavin King b15368b93e document a default value 2024-11-18 17:28:27 +01:00
Gavin King 4a8d726d27 yet another time zone test 2024-11-18 16:12:59 +01:00
Gavin King 779d9c94c9 document the syntax sugar 2024-11-17 15:02:08 +01:00
Gavin King 65312cc0f8 modernize code in SemanticQueryBuilder 2024-11-17 14:01:06 +01:00
Gavin King 2c08833c6d clean up CollectionType 2024-11-17 12:19:38 +01:00
Gavin King 8f85e6ca47 mention SQL arrays in HQL documentation 2024-11-16 23:35:09 +01:00
Gavin King 223855a104 "Oracle" is a proper noun 2024-11-16 21:21:52 +01:00
Gavin King 632485f8b1 revise new doc section 2024-11-16 21:21:52 +01:00
Gavin King 06961d7dbe add missing @Override annotations and more @see in jdoc 2024-11-16 19:05:43 +01:00
Gavin King ce48367607 new doc section on date/time types 2024-11-16 19:05:43 +01:00
Gavin King a5536a0afe add an @apiNote to SessionFactoryOptions 2024-11-16 19:05:43 +01:00
Gavin King bbc343945f remove unused import 2024-11-16 19:05:43 +01:00
Gavin King 439c90f501 add links between chapters 2024-11-16 19:05:43 +01:00
Gavin King b0b258de11 slight cleanup to old code 2024-11-16 19:05:43 +01:00
Gavin King e1f62098e2 fix generic typing and remove warning suppression 2024-11-16 19:05:43 +01:00
Gavin King 80a1b36477 cleanup and javadoc for SessionFactoryOptions 2024-11-16 19:05:43 +01:00
Andrea Boriero 6880f73ae0 HHH-18842 CollectionType.replace() breaks if target is PersistentCollection, but not instance of Collection 2024-11-16 09:53:39 -06:00
Andrea Boriero 2ba2695264 HHH-18842 Add test for issue 2024-11-16 09:53:39 -06:00
Čedomir Igaly b1ee3d4334
HHH 18705 - Hibernate processor creates bad TypedReferenceQuery when @Entity have name attribute (#9064)
- entityType moved into org.hibernate.processor.Context
- result/type(returnType) moved into new utility class org.hibernate.processor.util.SqmTypeUtils
2024-11-16 16:11:35 +01:00
Gavin King d6e1c9b2a8 add an example use of hibernate.type.preferred_instant_jdbc_type 2024-11-15 20:00:49 +01:00
Gavin King d784d6a808 clean up the MappingMetamodel interface
- deprecate some operations
- remove some already-deprecated operations
2024-11-15 20:00:24 +01:00
Gavin King 9a219c2c30 HHH-18850 fix count queries with 'distinct' and 'order by' 2024-11-15 16:13:28 +01:00
marko-bekhta 7cdab319fb HHH-18841 Create `_identifierMapper` as a synthetic attribute 2024-11-15 10:37:00 +01:00
Steve Ebersole 0b856f531d add better test for TypedQueryReference in metamodel 2024-11-15 10:13:47 +01:00
Steve Ebersole ef3250cb28 fix hibernate-scan-jandex definitions 2024-11-14 08:31:58 -06:00
Gavin King abcdd60b76 move ClassmateContext to SPI package, since it occurs in BootstrapContext
it was previously in an internal package, and leaked onto the SPI
2024-11-14 14:18:48 +01:00
Gavin King df974fd1fb move TypeBeanInstanceProducer as per the todo 2024-11-14 14:18:48 +01:00
Gavin King b0ff5b1bec remove dupe method declarations 2024-11-14 12:59:08 +01:00
Gavin King d20de1f5d7 cleanups to InformationExtractorJdbcDatabaseMetaDataImpl
and more to AbstractInformationExtractorImpl
2024-11-14 12:59:08 +01:00
Gavin King 5d5ce3feda clean up unused instance variables 2024-11-14 12:59:08 +01:00