Commit Graph

19966 Commits

Author SHA1 Message Date
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
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 9303f1a29f update migration guide 2024-11-14 09:20:16 +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
Steve Ebersole 2cc77fabd1 HHH-18844 - Run preVerifyRelease task as part of h2 CI job 2024-11-13 12:01:30 -06:00
Steve Ebersole 1310fa4f0b HHH-18844 - Run preVerifyRelease task as part of h2 CI job 2024-11-13 11:59:27 -06:00
Steve Ebersole 0001a83cab HHH-18844 - Run preVerifyRelease task as part of h2 CI job 2024-11-13 10:44:13 -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 9c96e84a58 Fix local execution of gradle tasks and line ending issues 2024-11-13 17:23:34 +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
Marco Belladelli f468d92c89 HHH-18678 Specific task for CI build and separate step for format checks 2024-11-13 08:09:48 -06:00
Hibernate-CI a1dab8060e Post-steps for release : `7.0.0.Beta2` 2024-11-13 13:50:25 +00:00
Hibernate-CI f9f3ec4ca9 Pre-steps for release : `7.0.0.Beta2` 2024-11-13 13:41:44 +00:00
Yoann Rodière b5b4693466 Update GitHub bot rules to ignore changes to nested git/build files 2024-11-13 07:27:53 -06:00
Yoann Rodière 5028c2fb7d Fix conflicting/suspicious .gitignore config 2024-11-13 07:27:53 -06:00
Yoann Rodière 70b85d5b4f Fix .gitattributes to only change line terminators on actual text files 2024-11-13 07:27:53 -06: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
Marco Belladelli 0f8087209d HHH-18816 FK rendering: check parent query specs for group by / order by 2024-11-12 16:22:33 +01:00
Marco Belladelli 3bac078b66 HHH-18816 Add test for issue 2024-11-12 16:22:33 +01:00
Gavin King f3482078c1 clarifications in section on collection mapping
(to agree with blog)
2024-11-12 15:07:40 +01:00
Steve Ebersole 2a9f4c41a8 HHH-18828 - Migrate to hisrc-basicjaxb for xjc plugins 2024-11-12 06:58:53 -06:00
Christian Beikov 839793e543 HHH-16159 Fix some JSON related issues that came up 2024-11-12 12:35:40 +01:00
Christian Beikov 4a07b5ed1d HHH-18798 Add JSON aggregate support for SQL Server 2024-11-12 12:35:40 +01:00
Christian Beikov d973dcc060 HHH-18797 Add JSON aggregate support for HANA 2024-11-12 12:35:40 +01:00
Christian Beikov 4d6f9baa93 HHH-18796 Add JSON aggregate support for DB2 2024-11-12 12:35:40 +01:00
Christian Beikov 26a8a693cc HHH-18795 Add JSON aggregate support for CockroachDB 2024-11-12 12:35:40 +01:00
Christian Beikov 243306d12e HHH-18794 Add JSON aggregate support for MariaDB 2024-11-12 12:35:40 +01:00