Commit Graph

19114 Commits

Author SHA1 Message Date
Andrea Boriero 34d6715815 Remove use of session#save, session#saveOrUpdate , session#update and session#remove from tests 2024-08-15 13:52:31 -05:00
Andrea Boriero edfd5a66e4 Remove use of session#save, session#saveOrUpdate , session#update and session#remove from tests 2024-08-15 13:52:31 -05:00
Andrea Boriero dcdcd257c3 Remove use of session#save, session#saveOrUpdate , session#update and session#remove from tests 2024-08-15 13:52:31 -05:00
Jan Schatteman 02096bd1a5 HHH-17720 - Add common JAXB contracts for named queries
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-15 13:52:31 -05:00
Steve Ebersole b7bac9464a rebase main -> 7.0 2024-08-15 13:52:31 -05:00
Andrea Boriero ff4a3c383f HHH-18224 - db info logging cleanup 2024-08-15 13:52:31 -05:00
Andrea Boriero 82df529ebb HHH-18411 - Add ability to specify a custom UuidGenerator.ValueGenerator 2024-08-15 13:52:31 -05:00
Andrea Boriero 5ff2768510 HHH-18127 - Leverage hibernate-models Annotation-as-Class 2024-08-15 13:52:31 -05:00
Steve Ebersole 611844fe79 HHH-18199 - Remove @Where and @WhereJoinTable 2024-08-15 13:52:31 -05:00
Steve Ebersole 163d48d81c HHH-18199 - Remove @Where and @WhereJoinTable 2024-08-15 13:52:31 -05:00
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