Commit Graph

19204 Commits

Author SHA1 Message Date
Gavin King d1a824a701 HHH-18184 rescue @NamedQuery/@NamedNativeQuery.cacheMode
which I had promised to do in a comment

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:31 -05:00
Steve Ebersole 866a505bd0 HHH-18193 - Remove @Polymorphism 2024-08-15 13:52:31 -05:00
Steve Ebersole 44e802ebac HHH-18193 - Remove @Polymorphism 2024-08-15 13:52:31 -05:00
Steve Ebersole ea1f74407d HHH-18191 - Remove @LazyToOne 2024-08-15 13:52:31 -05:00
Steve Ebersole 9e6d2e006d HHH-18189 - Remove @IndexColumn 2024-08-15 13:52:31 -05:00
Steve Ebersole 2dde0a7c46 HHH-18184 - Remove CacheModeType and its uses 2024-08-15 13:52:31 -05:00
Steve Ebersole 2b6f4b5ff9 HHH-18186 - Remove @GeneratorType
HHH-18188 - Remove GenerationTime and its uses
2024-08-15 13:52:31 -05:00
Steve Ebersole f63e7cb1ac Rebase main -> 7.0
fixups
2024-08-15 13:52:31 -05:00
Steve Ebersole 0b5ce3b341 Rebase main -> 7.0
fixups
2024-08-15 13:52:31 -05:00
Steve Ebersole 4ff20e6114 Rebase main -> 7.0
fixups
2024-08-15 13:52:31 -05:00
Steve Ebersole 865f14a6fb clean up foreign key handling 2024-08-15 13:52:30 -05:00
Steve Ebersole e136e5b04c HHH-18306 - Implicit instantiation for queries with single selection item broken
HHH-18401 - SelectionQuery needs better validation of query return type
2024-08-15 13:52:30 -05:00
Steve Ebersole bfd63ec5a5 HHH-18396 - Transform property-ref for one-to-one 2024-08-15 13:52:30 -05:00
Steve Ebersole 5c993efde3 HHH-18394 - Fix transformation of nested subclass mappings 2024-08-15 13:52:30 -05:00
Steve Ebersole cb538f9d28 HHH-18387 - Support implied mapped-superclass in hbm.xml transformation 2024-08-15 13:52:30 -05:00
Steve Ebersole dd6986a26d HHH-18060 - HbmXmlTransformer
testing an alternative approach using the boot model
2024-08-15 13:52:30 -05:00
Steve Ebersole 6bd37f535c HHH-18060 - HbmXmlTransformer
testing an alternative approach using the boot model
2024-08-15 13:52:30 -05:00
Steve Ebersole 2d0f1a76cc HHH-18060 - HbmXmlTransformer
testing an alternative approach using the boot model
2024-08-15 13:52:30 -05:00
Gavin King 944a3b9bd8 HHH-18317 disable two tests on Sybase
I get:

    Error converting characters into server's character set.
    Some character(s) could not be converted.

No matter what I do (at least with the jTDS driver).

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Gavin King 4ce4ccb1bd HHH-18316 use utf8mb4 instead of utf8 for NCHAR/NVARCHAR on MySQL
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Gavin King 83643af8d0 HHH-18314 don't use streams for LOB binding on Db2
Since:

- we can use the JDBC LOB APIs, and
- setNCharacterStream() is not implemented by the driver

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Gavin King 785dac135a on h2, don't use NCLOB in generated DDL
since we don't use NCHAR/NVARCHAR

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Gavin King 755c93c9f1 HHH-18314 NCHAR,NVARCHAR,NCLOB on Db2
1. Db2 driver now supports setNString() and friends
2. Hibernate SchemaValidator + SchemaMigrator now consider NUMERIC and DECIMAL equivalent

We may therefore roll back HHH-12753 and HHH-12827 respectively.

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Marco Belladelli e841c8387f Use the dialect-specific create table string in tests 2024-08-15 13:52:30 -05:00
Marco Belladelli 921d59ee8b Restrict enum tests on column checks based on dialect support 2024-08-15 13:52:30 -05:00
Steve Ebersole 5a111c8fbb HHH-18280 - Support named procedure parameters down to the JDBC leve 2024-08-15 13:52:30 -05:00
Andrea Boriero e5b86f31f2 HHH-18265 HbmXmlTransformer transform hbm <key column=/> 2024-08-15 13:52:30 -05:00
Steve Ebersole 07db16cf7f HHH-18060 - HbmXmlTransformer
HHH-18281 - Translate <filter-def/> and <filter/>

mostly filter parameter type handling
2024-08-15 13:52:30 -05:00
Steve Ebersole 4b4b818e25 HHH-18060 - HbmXmlTransformer
dynamic models
2024-08-15 13:52:30 -05:00
Steve Ebersole 15cef1429d Gradle 9.0 prep 2024-08-15 13:52:30 -05:00
Gavin King 5d91c89057 HHH-18192 remove @Loader
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Gavin King cc272f704e refactor handling of NaturalId unique keys
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Gavin King 3d686a3b97 HHH-18187 finally remove @Index (yay!)
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Gavin King cc4656d8f1 HHH-18185 finally remove @ForeignKey (yay!)
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Gavin King 58db271c13 HHH-18197 finally remove @Table (yay!)
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Gavin King 6772c3f6b6 very minor nitpicks
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Steve Ebersole 599cba50bf 7.0 releases 2024-08-15 13:52:30 -05:00
Hibernate-CI 8af8d3274c Post-steps for release : `7.0.0.Alpha3` 2024-08-15 13:52:30 -05:00
Hibernate-CI 3e956e2ef6 Pre-steps for release : `7.0.0.Alpha3` 2024-08-15 13:52:30 -05:00
Steve Ebersole 721a66292d 7.0 releases 2024-08-15 13:52:30 -05:00
Steve Ebersole 1c7554b62b 7.0 releases 2024-08-15 13:52:30 -05:00
Steve Ebersole 31f495c9d5 Rebase main -> 7.0
fixups
2024-08-15 13:52:30 -05:00
Andrea Boriero 593295e686 HHH-18264 HbmXmlTransformer collection classification 2024-08-15 13:52:30 -05:00
Steve Ebersole 58d672a8a8 HHH-18060 - HbmXmlTransformer
interface as MappedSuperclass
2024-08-15 13:52:30 -05:00
Steve Ebersole 6da73869ee HHH-18060 - HbmXmlTransformer
<join-formula/>
2024-08-15 13:52:29 -05:00
Steve Ebersole 5ef46f04d8 HHH-18060 - HbmXmlTransformer
apiNOte on @PropertyRef
2024-08-15 13:52:29 -05:00
Steve Ebersole fd5de56c19 HHH-18060 - HbmXmlTransformer
* <join/> -> <secondary-table/>
* <list/>
2024-08-15 13:52:29 -05:00
Steve Ebersole bcf8d7bee8 HHH-18060 - HbXmlTransformer work
* <map-key type/>
* <element type/>
2024-08-15 13:52:29 -05:00
Steve Ebersole 875e84b930 HHH-18060 - HbXmlTransformer work
* "special" basic type handling
2024-08-15 13:52:29 -05:00
Steve Ebersole d25f028222 HHH-18060 - HbXmlTransformer work
* non-aggregated composite id
* extends
2024-08-15 13:52:29 -05:00