Commit Graph

19138 Commits

Author SHA1 Message Date
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
Steve Ebersole 4d0422fe05 HHH-18060 - HbXmlTransformer work
non-aggregated composite id
2024-08-15 13:52:29 -05:00
Yoann Rodière 330ad18288 HHH-18231 Move listing of persistence.xml files out of PersistenceXmlParser 2024-08-15 13:52:29 -05:00
Yoann Rodière 6883aa2ff2 HHH-18231 Move PersistenceXmlParser to SPI 2024-08-15 13:52:29 -05:00
Yoann Rodière 93ea757382 HHH-18231 Take provided classloader/classloaderservice into account in PersistenceXmlParser 2024-08-15 13:52:29 -05:00
Steve Ebersole 2863e43467 HHH-17979 - Add @PropertyRef
HHH-18075 - Transform property-ref
HHH-18060 - HbXmlTransformer work
2024-08-15 13:52:29 -05:00
Steve Ebersole fd388087c8 HHH-17979 - Add @PropertyRef
HHH-18075 - Transform property-ref
HHH-18060 - HbXmlTransformer work
2024-08-15 13:52:29 -05:00
Steve Ebersole e960b0949f HHH-17979 - Add @PropertyRef
HHH-18075 - Transform property-ref
HHH-18060 - HbXmlTransformer work
2024-08-15 13:52:29 -05:00
Steve Ebersole 6c18d7e95b HHH-17979 - Add @PropertyRef
HHH-18075 - Transform property-ref
HHH-18060 - HbXmlTransformer work
2024-08-15 13:52:29 -05:00
Gavin King 3fd2a146ef remove the @Deprecated and @Incubating support for hibernate.create_empty_composites.enabled
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:29 -05:00
Gavin King 0cbdc44fbc clean up some logging
- reduce some INFO messages to DEBUG
- delete unused messages
- some minor formatting changes

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:29 -05:00
Steve Ebersole 086c7208cb HHH-18095 - transform column read/write fragments 2024-08-15 13:52:29 -05:00
Gavin King 61a00b1e6c eliminate casts to AbstractEntityPersister
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:29 -05:00
Gavin King ebc253a6f9 more simplifications to persister hierarchy (#8501)
- remove Lockable interface
- remove Queryable, QueryableCollection, and Loadable
- remove most of PropertyMapping stuff
- remove most of Joinable
2024-08-15 13:52:29 -05:00
Gavin King f3329fe4e5 remove PostInsertIdentityPersister
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:29 -05:00
Gavin King 38d1a8bb83 remove OuterJoinLoadable, UniqueKeyLoadable, PersisterCreationContext
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:29 -05:00
Gavin King 4013246d75 remove SQLLoadable and SQLLoadableCollection
and some obsolete related code

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:29 -05:00