@@ -3,181 +3,26 @@ Hibernate 6 Changelog
33
44Note: Please refer to JIRA to learn more about each issue.
55
6- Changes in 6.6 .0.Final (August 08 , 2024)
6+ Changes in 7.0 .0.Alpha1 (April 16 , 2024)
77------------------------------------------------------------------------------------------------------------------------
88
9- https://hibernate.atlassian.net/projects/HHH/versions/32329 
9+ https://hibernate.atlassian.net/projects/HHH/versions/32214 
1010
11- ** Bug
12-     * [HHH-18463] - Add AzureDialect
13-     * [HHH-18451] - CharBooleanConverter : Boolean null value conversion limited by the BooleanJavaType check condition
14-     * [HHH-18403] - DB2iDialect should not support Update Returning
15-     * [HHH-18399] - Unable to persist self-referencing entity with @OneToOne and @JoinTable
16-     * [HHH-18391] - EntityGraphs are not considering Embedded attributes
17-     * [HHH-18378] - Avoid reusing existing joins for entity-graph fetches if they're included in the where clause
18-     * [HHH-18373] - When executing update with Criteria API by setting InheritanceType.JOINED, InlineMutationStrategy, NPE error occurs
19-     * [HHH-18309] - Oracle LimitHandler does not seem to handle maxrows correctly for native queries
20-     * [HHH-17997] - Querying an Entity with CacheConcurrencyStrategy.READONLY throws UnsupportedOperationException: Can't update readonly object
21-     * [HHH-17847] - StoredProcedureQuery map result set incorrectly when having INOUT param
22-     * [HHH-17465] - Incorrect metamodel for shared version attribute in @MappedSuperclass
23- 
24- 
25- 
26- Changes in 6.6.0.CR2 (August 6, 2024)
27- ------------------------------------------------------------------------------------------------------------------------
28- 
29- https://hibernate.atlassian.net/projects/HHH/versions/32320
30- 
31- ** Bug
32-     * [HHH-15725] - Criteria API Expression.as adds cast even when the cast type is equal to the expression type
33-     * [HHH-17840] - Jackson JsonNode stored as JSON "null" value instead of database NULL
34-     * [HHH-17914] - NPE getSqlString\(\) in debug mode
35-     * [HHH-17949] - StatelessSession.upsert\(\) with @Version-ed entity on databases with no SQL merge
36-     * [HHH-18012] - Subclass of super generic array AttributeConverter cannot be auto applied
37-     * [HHH-18017] - Query cache on Polymorphic entities leads to InstantiationException \(Cannot instantiate abstract class\)
38-     * [HHH-18062] - 'Could not instantiate entity ... due to argument type mismatch' with record @IdClass
39-     * [HHH-18085] - Executing SELECT query twice in a transaction, leads to "Shared references of collection error"
40-     * [HHH-18086] - Assertion Error when using JOIN FETCH on ToOneAttribute with multiple JOINs of parent entity
41-     * [HHH-18108] - Duplicate class definition regression caused by ClassTransformer
42-     * [HHH-18177] - org.hibernate.AssertionFailure: null identifier for collection of role thrown when merging entity with generated id
43-     * [HHH-18229] - "UnsupportedOperationException: Re-work support for semi-resolve " with null value in column referenced by @JoinColumn
44-     * [HHH-18272] - UnsupportedOperationException when order / group by clause contains aliased item
45-     * [HHH-18278] - Metamodel generator is ignoring JPA/Hibernate annotations in package-info
46-     * [HHH-18280] - Support named procedure parameters down to the JDBC level
47-     * [HHH-18284] - Missing classes in org.hibernate.graalvm.internal.StaticClassLists
48-     * [HHH-18285] - Non-polymorphic embeddable inheritance fails starting with Hibernate ORM 6.6
49-     * [HHH-18288] - Subclasses of SINGLE\_TABLE Inheritance should not be allowed to define @Table
50-     * [HHH-18291] - Regression in SemanticQueryBuilder 6.4.7.Final -> 6.4.8.Final. Also present in 6.5.2.Final.
51-     * [HHH-18292] - Regression in SemanticQueryBuilder 6.4.9.Final -> 6.5.0.Final. Also present in 6.5.2.Final.
52-     * [HHH-18302] - DB2CallableStatementSupport uses an invalid syntax for named parameters
53-     * [HHH-18306] - Implicit instantiation for queries with single selection item broken
54-     * [HHH-18312] - Informix nationalized JDBC types support
55-     * [HHH-18313] - NullPointerException because JdbcIsolationDelegate.sqlExceptionHelper\(\) returns null
56-     * [HHH-18330] - UnknownTableReferenceException in JPQL query when join fetching to-one in embedded id
57-     * [HHH-18332] - DB2 stored procedures returning REF\_CURSORs are not working with the standard support
58-     * [HHH-18334] - Teradata doesn't support variable limit
59-     * [HHH-18338] - When an embeddable object is loaded before the entity it references, hibernate fails to start
60-     * [HHH-18340] - method return type errors in AbstractDelegatingSessionFactoryBuilder
61-     * [HHH-18343] - fix Altibase integration test failures since Hibernate 6.5.2
62-     * [HHH-18347] - Casted parameter rendering broken for some DDL types when using @Column
63-     * [HHH-18352] - Tuple comparison emulation performing bad
64-     * [HHH-18357] - Null pointer exception in createCountQuery because Identifier descriptor is null in MappedSuperclass
65-     * [HHH-18358] - Metemodel generator does not resolving entity type literals
66-     * [HHH-18382] - Assertion error when using @DiscriminatorFormula for embeddable inheritance
67-     * [HHH-18390] - JoinColumn leads to \`NullPointerException: Cannot invoke "Object.hashCode\(\)" because "value" is null\` on load
68-     * [HHH-18406] - Oracle: schema update fails to create entity table if one of the fields is an array
69-     * [HHH-18410] - Performance regression due to megamorphic calls
70- 
71- ** Improvement
72- 	* [HHH-12836] - JtaPlatformInitiator.initiateService is logging same debug message twice
73- 	* [HHH-18296] - When JDBC drivers generate SQLWarnings with a "success" SQLState, do not log that at WARN level
74- 	* [HHH-18301] - Db2 supports 'drop table if exists' since version 11.5
75- 	* [HHH-18318] - fix user guide's bootstrap method reference link text
76- 	* [HHH-18320] - Correct some syntax errors in Locking chapter in user guide
77- 	* [HHH-18324] - Upgrade to Jandex 3.2.0
78- 	* [HHH-18327] - Connection pool configuration settings constants
79- 	* [HHH-18335] - improve partial order sorting in AnnotationMetadataSourceProcessorImpl
80- 	* [HHH-18339] - \`supportsFilterClause\` is not overridden to True for H2SqlAstTranslator
81- 	* [HHH-18342] - fix contradictive javadoc of org.hibernate.engine.spi.SharedSessionContractImplementor
82- 	* [HHH-18375] - Reuse previous row state when result cardinality is duplicated
83- 	* [HHH-18379] - Allow passing row count estimate to pre-size collections
84- 	* [HHH-18393] - Upgrade JBoss Logging Tools \(processor\) to 3.0.0.Final
85- 	* [HHH-18395] - Fix intermittent failures of clock based tests
86- 	* [HHH-18401] - SelectionQuery needs better validation of query return type
87- 	* [HHH-18411] - Add ability to specify a custom UuidGenerator.ValueGenerator
88- 	* [HHH-18412] - Upgrade JBoss Logging Tools \(processor\) to 3.0.1.Final
89- 	* [HHH-18454] - Skip connection provider retrieval and DB info logging when booting offline
11+ ** Deprecation
12+     * [HHH-17441] - Deprecate @Comment
9013
9114** New Feature
92- 	* [HHH-18224] - standardized logging of database connection
93- 
94- ** Task
95- 	* [HHH-18271] - Continue investigating performance drops compared to Hibernate 5
96- 	* [HHH-18293] - Upgrade to latest geolatte-geom version 1.9.1
97- 	* [HHH-18381] - Changes for Hibernate Reactive 2.4
98- 	* [HHH-18431] - Allow Hibernate Reactive to skip lazy initializations
99- 
15+     * [HHH-17460] - Ongoing JPA 3.2 work
16+     * [HHH-17459] - Allow resolution callbacks on select o.h.mapping objects
10017
18+ ** Remove Feature
19+     * [HHH-17961] - Drop support for hibernate.mapping.precedence
20+     * [HHH-17894] - Remove AdditionalJaxbMappingProducer
21+     * [HHH-17893] - Remove MetadataContributor
22+     * [HHH-17892] - Remove @Persister
10123
102- Changes in 6.6.0.CR1 (June 14, 2024)
103- ------------------------------------------------------------------------------------------------------------------------
104- 
105- https://hibernate.atlassian.net/projects/HHH/versions/32289
106- 
107- ** Bug
108-     * [HHH-18267] - Informix insert value to identity column error
109-     * [HHH-18259] - Joined Inheritence with Generated wrongly resolves columns for base entity
110-     * [HHH-18256] - SQL fragment template wrongly prefixes literal type prefix
111-     * [HHH-18251] - IdClass with Record not working with ToOne relation columns
112-     * [HHH-18250] - Informix multi insert not supported
113-     * [HHH-18246] - Informix nulls precedence support
114-     * [HHH-18244] - Informix SelectItemReferenceStrategy error
115-     * [HHH-18241] - revert change to semantics of 'null in ()'
116-     * [HHH-18232] - DB2zDialect - Insert with GeneratedValue Id not working with DB2v12
117-     * [HHH-18225] - Informix syntax error in DISTINCT clause before SKIP clause
118-     * [HHH-18221] - Incomplete list of existing foreign keys - DatabaseMetaData.crossReferences(...) not used
119-     * [HHH-18218] - Dynamic instantiation with generic entity attribute fails constructor argument type validation
120-     * [HHH-18215] - QueryException raised for valid update SQL query - problems with aliases parsing
121-     * [HHH-18214] - unhelpful error when query result type has no appropriate constructor
122-     * [HHH-18213] - FirebirdDialect LimitHandler produces wrong query on Firebird 2.5 and older
123-     * [HHH-18212] - Accessing a removed lazy association results in a NullPointerException 
124-     * [HHH-18205] - hibernate.implicit_naming_strategy and hibernate.physical_naming_strategy ignored when using Configuration
125-     * [HHH-18203] - JPMS: Cannot invoke "javax.lang.model.element.Element.getAnnotationMirrors()" because "element" is null
126-     * [HHH-18202] - Error with distinct query + order by aggregate function on an association key
127-     * [HHH-18201] - Addition/subtraction of duration to/from temporal parameter wrongly resolved as duration during query parsing
128-     * [HHH-18179] - HibernateProcessor wrong warnings after upgrading to 6.5
129-     * [HHH-18176] - upsert() with @Version-ed entity on Oracle
130-     * [HHH-18175] - StatelessSession not incrementing @Version for entities with IDENTITY id generation
131-     * [HHH-18172] - Fix embeddable inheritance for types extending @MappedSuperclass
132-     * [HHH-18170] - Subquery randomly generating wrong SQL due to duplicate alias
133-     * [HHH-18168] - Informix plural attribute size function support
134-     * [HHH-18166] - Cascade behaviour different depending on bootstrap Hibernate or JPA for SAME cascade annotations
135-     * [HHH-18163] - Informix foreign key on cascade delete syntax
136-     * [HHH-18158] - EmbeddedId not working when Embedded is a generic record
137-     * [HHH-18156] - OracleDatabaseCleaner doesn't support latest docker image "gvenzl/oracle-free"
138-     * [HHH-18153] - Informix unique constraints on nullness columns
139-     * [HHH-18151] - Bytecode enhancement incorrectly generates code for parameterized fields
140-     * [HHH-18150] - Informix float and double precision in decimal digits
141-     * [HHH-18149] - Metamodel generation fails if executed from Eclipse
142-     * [HHH-18147] - Hibernate fails to persist an entity when a natural id association is a proxy
143-     * [HHH-18140] - Error modify column type when project startup.
144-     * [HHH-18138] - String based fetchGraphs do not resolve parameterized entity associated properties from MappedSuperclass
145-     * [HHH-18137] - Hibernate Processor finder method doesn't find field from MappedSuperclass with private fields and field access
146-     * [HHH-18121] - Error when using createCountQuery() from distinct dynamic instantiation query
147-     * [HHH-18118] - In ScriptSourceInputFromUrl url is compared with itself
148-     * [HHH-18117] - Character literal is not properly handled in query
149-     * [HHH-18112] - Some dialects use the wrong default version
150-     * [HHH-18107] - Package name in 2 classes doesn't correspond to the file path
151-     * [HHH-18106] - @CheckHQL is reporting error when named query contains valid Java constant
152-     * [HHH-18105] - Semicolon misssing in CSS file hibernate-layout.css line 98
153-     * [HHH-18102] - @CheckHQL is not reporting error when non-existing enum constant is referenced in named HQL query
154-     * [HHH-18098] - entities annotated @Cacheable(false) get added to second-level cache
155-     * [HHH-18080] - hibernate.boot.allow_jdbc_metadata_access=false leads to warning about "0.0.0 version"
156-     * [HHH-18077] - In key-based pagination next and previous keys seem to be swapped when moving to previous pages
157-     * [HHH-18073] - BasicCollectionJavaType treat Set inconsistently
158- 
159- 
160- Changes in 6.6.0.Alpha1 (April 25, 2024)
161- ------------------------------------------------------------------------------------------------------------------------
162- 
163- https://hibernate.atlassian.net/projects/HHH/versions/32271
164- 
165- ** Bug
166-     * [HHH-17969] - NPE copying SQM tree for criteria delete statement with null predicate
167- 
168- ** Improvement
169-     * [HHH-17999] - Avoid runtime reflection for org.hibernate.jdbc.Expectation
170-     * [HHH-17993] - Metamodel processing on bootstrap: avoid retrying same metamodel class name multiple times
171-     * [HHH-17991] - Reduce overhead from @DialectOverride discovery
172-     * [HHH-17988] - MetadataContext should consistently use ClassLoaderService
173-     * [HHH-17987] - Improve allocation rate of ReflectHelper#setterMethodOrNull
174-     * [HHH-17980] - Excessive contention during getter identification in the ByteBuddy enhancer
175-     * [HHH-17954] - StatelessSession should no longer ignore changes to collections
176-     * [HHH-17824] - Extend usage spectrum of @Jpa to the test method level
177- 
178- ** New Feature
179-     * [HHH-17955] - Bean validation and StatelessSession
180-     * [HHH-17818] - Add new ConcreteProxy annotation
24+ ** Task
25+     * [HHH-17444] - Ongoing JPA 32 work
18126
18227
18328Changes in 6.4.1.Final (December 15, 2023)
0 commit comments