159 lines
7.1 KiB
Plaintext
159 lines
7.1 KiB
Plaintext
Hibernate 6 Changelog
|
|
=======================
|
|
|
|
Note: Please refer to JIRA to learn more about each issue.
|
|
|
|
Changes in 7.0.0.Beta1 (August 01, 2024)
|
|
------------------------------------------------------------------------------------------------------------------------
|
|
|
|
https://hibernate.atlassian.net/projects/HHH/versions/32319
|
|
|
|
** Bug
|
|
* [HHH-18314] - dialect for Db2 claims to be NationalizationSupport.EXPLICIT but never generates DDL with NCHAR/NVARCHAR
|
|
|
|
** Improvement
|
|
* [HHH-18453] - Fix Java code block highlighting in User Guide
|
|
* [HHH-18448] - Add cast and notEqualTo methods to JpaExpression and SqmExpression
|
|
* [HHH-18441] - Create extension to PersistenceConfiguration
|
|
* [HHH-18440] - Rewrite the Bootstrapping chapter in the User Guide
|
|
* [HHH-18412] - Upgrade JBoss Logging Tools (processor) to 3.0.1.Final
|
|
* [HHH-18393] - Upgrade JBoss Logging Tools (processor) to 3.0.0.Final
|
|
* [HHH-18316] - use utf8mb4 instead of utf8 a.k.a utf8mb3 on MySQL
|
|
* [HHH-18097] - Replace `java.io.Closeable` with `java.lang.AutoCloseable`
|
|
* [HHH-18009] - Consolidate JdbcObserver and ConnectionObserver into JdbcEventHandler
|
|
* [HHH-17720] - Add common JAXB contracts for named queries
|
|
|
|
** New Feature
|
|
* [HHH-18304] - Transform hbm.xml key-many-to-one references
|
|
* [HHH-18281] - Transform <filter-def/> and <filter/>
|
|
* [HHH-18266] - HbmXmlTransformer hbm inverse
|
|
* [HHH-18265] - HbmXmlTransformer transform hbm <key column=""/>
|
|
* [HHH-18264] - HbmXmlTransformer collection classification
|
|
* [HHH-18060] - HbmXmlTransformer work
|
|
* [HHH-17979] - Add @PropertyRef
|
|
|
|
** Remove Feature
|
|
* [HHH-18452] - Remove deprecated org.hibernate.Interceptor methods
|
|
* [HHH-18449] - Remove deprecated Integrator#integrate form
|
|
* [HHH-18444] - Remove deprecate Session#refresh methods
|
|
* [HHH-18443] - Drop SessionFactoryBuilder#enableJpaListCompliance
|
|
* [HHH-18442] - Drop DynamicInsert#value and DynamicUpdate#value
|
|
* [HHH-18437] - Remove deprecations from JdbcSessionContext
|
|
* [HHH-18428] - Remove Session#delete
|
|
* [HHH-18199] - Remove @Where and @WhereJoinTable
|
|
* [HHH-18196] - Remove Session#save / Session#update / Session#saveOrUpdate
|
|
* [HHH-18195] - Remove @SelectBeforeUpdate
|
|
* [HHH-18194] - Remove @Proxy
|
|
* [HHH-18193] - Remove @Polymorphism
|
|
* [HHH-18191] - Remove @LazyToOne
|
|
* [HHH-18190] - Remove @LazyCollection
|
|
* [HHH-18189] - Remove @IndexColumn
|
|
* [HHH-18188] - Remove GenerationTime and its uses
|
|
* [HHH-18186] - Remove @GeneratorType
|
|
* [HHH-18184] - Remove CacheModeType and its uses
|
|
* [HHH-17697] - Remove deprecated annotations
|
|
|
|
** Sub-task
|
|
* [HHH-18197] - Remove @Table
|
|
* [HHH-18192] - Remove @Loader
|
|
* [HHH-18187] - Remove @Index
|
|
* [HHH-18185] - Remove @ForeignKey
|
|
* [HHH-18075] - Transform property-ref
|
|
* [HHH-17888] - Remove support for MariaDB versions older than 10.5
|
|
|
|
** Task
|
|
* [HHH-18397] - Transform "foreign" generators
|
|
* [HHH-18396] - Transform property-ref pointing to a to-one attribute
|
|
* [HHH-18394] - Fix transformation of nested subclass mappings
|
|
* [HHH-18037] - Move DerbyDialect to hibernate-community-dialects
|
|
* [HHH-18010] - Investigate ConnectionObserver and friends
|
|
* [HHH-17583] - Cleanup for 7.0
|
|
* [HHH-17448] - Add newly standard column annotation attributes to Hibernate column annotations
|
|
|
|
|
|
Changes in 7.0.0.Alpha3 (June 14, 2024)
|
|
------------------------------------------------------------------------------------------------------------------------
|
|
|
|
https://hibernate.atlassian.net/projects/HHH/versions/32304
|
|
|
|
** Bug
|
|
* [HHH-18135] - GenerationTypeStrategy implementations always throw UnsupportedOperationException
|
|
* [HHH-18081] - XML <secondary-table/> element is not added to JdkClassDetails
|
|
* [HHH-11937] - Remove warnings about "empty composites" being experimental when feature is stabilized
|
|
* [HHH-11936] - Stabilize "empty composites" feature
|
|
|
|
** New Feature
|
|
* [HHH-18231] - SPI for persistence XML parsing
|
|
* [HHH-18057] - Support for JPA 3.2 column options
|
|
* [HHH-18056] - Support for JPA 32 table options
|
|
* [HHH-18055] - Support for JPA 3.2 table comment
|
|
* [HHH-18054] - Support for JPA 3.2 @CheckConstraint
|
|
* [HHH-16153] - Support JPA 3.2 `@EnumeratedValue`
|
|
|
|
** Remove Feature
|
|
* [HHH-18222] - remove hibernate.create_empty_composites.enabled in Hibernate 7
|
|
* [HHH-18207] - remove deprecated Dialects
|
|
* [HHH-18139] - remove IdentifierGeneratorFactory and related code
|
|
|
|
** Sub-task
|
|
* [HHH-18095] - Transform hbm.xml column read/write fragments
|
|
* [HHH-18072] - Transform hbm.xml not-found
|
|
|
|
** Task
|
|
* [HHH-18127] - Leverage hibernate-models Annotation-as-Class
|
|
* [HHH-18096] - Support for JPA 3.2 database generator options
|
|
|
|
|
|
Changes in 7.0.0.Alpha2 (May 03, 2024)
|
|
------------------------------------------------------------------------------------------------------------------------
|
|
|
|
https://hibernate.atlassian.net/projects/HHH/versions/32280
|
|
|
|
** Bug
|
|
* [HHH-18053] - duration arithmetic with fractional seconds
|
|
* [HHH-18049] - Handle <exclude-default-listeners/> and <exclude-superclass-listeners/>
|
|
* [HHH-18042] - ConstructorResults defined in XML are not applied
|
|
* [HHH-18041] - With SharedCacheMode.DISABLE_SELECTIVE entities with cacheable false should not be cached
|
|
* [HHH-18039] - EntityListeners defined in XML should replace those from annotations, not add to
|
|
* [HHH-18038] - Fall back to persistence-unit name as SessionFactory name
|
|
* [HHH-18036] - Retrieving java.sql.Date from Oracle contains unwanted milliseconds
|
|
* [HHH-18028] - TCK test failure with attribute converter and Embeddable
|
|
* [HHH-18018] - Derby implementation for 'right' function wrongly passes parameter to 'length'
|
|
|
|
** Improvement
|
|
* [HHH-18048] - Split notions of SessionFactory name and SessionFactory JNDI name
|
|
* [HHH-18005] - Remove AnnotationDescriptor#createUsage method calls that rely on lambdas for configuration
|
|
* [HHH-18003] - Create a PersistenceUnitDescriptor wrapper around JPA 3.2 PersistenceConfiguration
|
|
* [HHH-18000] - Remove XmlProcessingHelper methods for creating AnnotationUsage instances
|
|
|
|
** New Feature
|
|
* [HHH-18025] - RefreshOptions & LockOptions for Hibernate 7
|
|
* [HHH-18001] - FindOptions for Hibernate 7
|
|
|
|
** Task
|
|
* [HHH-18043] - Change SQL Server default timestamp precision to 7
|
|
* [HHH-18035] - Change Oracle default timestamp precision to 9
|
|
* [HHH-17982] - Setup JPA 3.2 TCK testing automation for ORM 7
|
|
|
|
|
|
Changes in 7.0.0.Alpha1 (April 16, 2024)
|
|
------------------------------------------------------------------------------------------------------------------------
|
|
|
|
https://hibernate.atlassian.net/projects/HHH/versions/32214
|
|
|
|
** Deprecation
|
|
* [HHH-17441] - Deprecate @Comment
|
|
|
|
** New Feature
|
|
* [HHH-17460] - Ongoing JPA 3.2 work
|
|
* [HHH-17459] - Allow resolution callbacks on select o.h.mapping objects
|
|
|
|
** Remove Feature
|
|
* [HHH-17961] - Drop support for hibernate.mapping.precedence
|
|
* [HHH-17894] - Remove AdditionalJaxbMappingProducer
|
|
* [HHH-17893] - Remove MetadataContributor
|
|
* [HHH-17892] - Remove @Persister
|
|
|
|
** Task
|
|
* [HHH-17444] - Ongoing JPA 32 work
|