13131 Commits

Author SHA1 Message Date
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
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
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
223855a104 "Oracle" is a proper noun 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
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
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
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
Gavin King
12e17ed870 some cleanups to AbstractInformationExtractorImpl 2024-11-14 12:59:08 +01:00
Gavin King
26cd62ff6d get rid of TruthValue and use Boolean
clean it up a bit
2024-11-14 12:59:08 +01:00
Gavin King
424460af3f move Caching to spi package as planned
clean it up a bit
2024-11-14 12:59:08 +01:00
Gavin King
e2f3adc96f remove deprecated methods made obsolete by Map.of() 2024-11-14 09:20:16 +01:00
Gavin King
dd858e3dbf miscellaneous code cleanups 2024-11-14 09:20:16 +01:00
Gavin King
9d30d210ed fix signature of Query.setOrder() 2024-11-14 09:20:16 +01:00
Steve Ebersole
538cad670f fix hibernate-scan-jandex definitions 2024-11-13 17:41:38 -06:00
Steve Ebersole
3e1f6b52c6 fix hibernate-scan-jandex definitions 2024-11-13 14:13:08 -06:00
Yoann Rodière
74c5c844c0 HHH-18832 Don't skip bytecode enhancement just because an entity has a @Transient getter 2024-11-13 17:37:11 +01:00
Christian Beikov
0ca27a4e32 HHH-17246 Handle UUID specially within JSON 2024-11-13 17:21:09 +01:00
Jan Schatteman
532d5460d4 HHH-17246 - Guard against Sybase being configured for truncating trailing zeros
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-11-13 17:21:09 +01:00
Gavin King
ab9eb9a496 add examples to MutationQuery, SelectionQuery javadoc 2024-11-13 17:02:07 +01:00
Hibernate-CI
a1dab8060e Post-steps for release : 7.0.0.Beta2 2024-11-13 13:50:25 +00:00
Yoann Rodière
b5221e2ec6 HHH-18833 Introduce EnhancementContext#getUnsupportedEnhancementStrategy
This method allows custom contexts to pick the behavior they want when
a class contains getters/setters that do not have a matching field,
making enhancement impossible.

Three behaviors are available:

* SKIP (the default), which will skip enhancement of such classes.
* FAIL, which will throw an exception upon encountering such classes.
* LEGACY, which will restore the pre-HHH-16572 behavior.

I do not think LEGACY is useful at the moment, but I wanted to have
that option in case it turns out HHH-16572 does more harm than good in
Quarkus 3.15.
2024-11-13 11:47:34 +01:00
Gavin King
eb6cb31fdf add some javadoc to KeyedResultList, Order, Page 2024-11-13 11:45:51 +01:00
Gavin King
65b9b43756 add Order.reversedIf() and ignoringCaseIf() to simplify generated code 2024-11-13 09:29:27 +01:00
Gavin King
83f7af31f3 cleanups to SqmUtil 2024-11-13 09:29:27 +01:00
Marco Belladelli
8a0dab9071 HHH-18647 Fix insert values check for table group joins 2024-11-12 16:22:59 +01:00
Marco Belladelli
91b18622d5 HHH-18647 Add test for issue 2024-11-12 16:22:59 +01:00