-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Expand file tree
/
Copy pathchangelog.txt
More file actions
2070 lines (1645 loc) · 121 KB
/
changelog.txt
File metadata and controls
2070 lines (1645 loc) · 121 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Hibernate 6 Changelog
=======================
Changes in 6.6.48.Final (April 12, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/38656
** Bug
* HHH-19824 DB2zDialect does not use correct querySequenceString on a DB2 on zOs
Changes in 6.6.47.Final (April 05, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/38555
** Bug
* HHH-20287 DataException ( Parameter is not set) when updating only the version of an Entity with a PartitionKey
Changes in 6.6.46.Final (March 30, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/38385
** Bug
* HHH-20209 Race Condition in JavaTypeRegistry causing SemanticException during parallel UNION queries with projection.
* HHH-19429 ConcurrentModificationException observed while executing JPQL update query with VERSIONED clause
Changes in 6.6.45.Final (March 22, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/38115
** Bug
* HHH-20253 ClassCastException when using hibernate-enhance-maven-plugin plugin
** Task
* HHH-20232 Update c3p0 to 0.12.0
Changes in 6.6.44.Final (March 01, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/37977
** Bug
* HHH-20176 Native Query cache causing ArrayIndexOutOfBoundsException with extra columns
Changes in 6.6.43.Final (February 22, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/37572
** Bug
* HHH-20168 Hibernate JsonWithArrayEmbeddableTest.testUpdateMultipleAggregateMembers test fail with Oracle 19c
* HHH-20161 Hibernate ArrayToStringWithArrayAggregateTest test fail with Oracle 19c
Changes in 6.6.42.Final (February 01, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/37272
** Bug
* HHH-20118 Vector operator SQL templates miss parenthesis around
* HHH-20069 `DB2iDialect.rowId` causes an error in merge queries
Changes in 6.6.41.Final (January 18, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/37040
** Bug
* HHH-20041 DB2 for z IN tuple list predicate performs badly
* HHH-20040 DB2iSqlAstTranslator using future versions for feature activation
* HHH-19929 DB2iDialect problem with supportsRowValueConstructorSyntaxInInSubQuery
Changes in 6.6.40.Final (December 21, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/36905
** Bug
* HHH-20008 Bad performance of MEMBER OF translation
** Task
* HHH-19548 Upgrade to ByteBuddy 1.17.5
Changes in 6.6.39.Final (December 14, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/36641
** Bug
* HHH-19963 Wrong references in entity fields with circular associations
* HHH-19746 JPA parameters might be incorrectly handled resulting in exceptions or queries returning incorrect results
** Improvement
* HHH-19943 Comparison of generic nested EmbeddedId's fails for JPQL and Criteria API
Changes in 6.6.38.Final (November 30, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/36410
** Bug
* HHH-19905 Implicit join re-use with nested inner and left joins causes ParsingException
* HHH-19883 JOIN TREAT ignores predicates
* HHH-18871 Nested NativeQuery mappings causing 'Could not locate TableGroup' exception after migration
Changes in 6.6.37.Final (November 24, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/36080
** Bug
* HHH-19936 Parameter casts for by-id lookups don't take column definition into account
* HHH-19926 NullPointerException when executing JPQL IN clause with null parameter on entity association
* HHH-19922 org.hibernate.orm:hibernate-platform:pom:7.1.7.Final is missing
* HHH-19910 EntityInitializer#resolveInstance wrongly initializes existing detached instance
* HHH-19038 Hibernate.get does not work on detached entities
* HHH-16991 EnhancedUserType cannot be used when defining relations
Changes in 6.6.36.Final (November 16, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/36046
** Bug
* HHH-19918 Avoid reflection when instantiating known FormatMapper
* HHH-19758 HQL parse failure with SLL can lead to wrong parse
* HHH-19240 Significant increase in heap allocation for queries after migrating Hibernate ORM 6.5 to 6.6
Changes in 6.6.35.Final (November 13, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35782
** Bug
* HHH-19895 hibernate-core 6.6.30.Final breaks compatibility on entities with composite keys for multiple variants of DB2
* HHH-19888 FetchPlusOffsetParameterBinder fails to apply static offset for root pagination
* HHH-19887 Wrong ClassLoader used for Jackson Module discovery
* HHH-19739 Exceptions during load of entity with different persistent fields with same name
Note: Please refer to JIRA to learn more about each issue.
Changes in 6.6.34.Final (October 27, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35683
** Task
* [HHH-19889] - Mention third-party dialects throughout the documentation
* [HHH-19869] - Regroup all dialect information under a single guide
Changes in 6.6.33.Final (October 10, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35651
** Bug
* [HHH-19853] - Gradle plugin org.hibernate.orm not published for 6.6.31 / 6.2.47
Changes in 6.6.32.Final (October 09, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35485
** Bug
* [HHH-19853] - Gradle plugin org.hibernate.orm not published for 6.6.31 / 6.2.47
Changes in 6.6.31.Final (October 03, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35420
** Bug
* [HHH-18885] - ClassCastException with queued persist in an extra lazy Map
* [HHH-18936] - remove parent with @OnDelete(CASCADE) leads to TransientObjectException
** Task
* [HHH-19800] - Migrate to release scripts for documentation publishing
Changes in 6.6.30.Final (September 29, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35320
** Bug
* [HHH-19784] - Bytecode enhancement generates wrong field access method for classes in different JARs but with same package name deployed in the same EAR
* [HHH-19768] - Wrong supportsRowValueConstructorSyntaxInInSubQuery leads to bad performing queries
* [HHH-19681] - AssertionError on extract results from array containing jsonb values
Changes in 6.6.29.Final (September 14, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35156
** Bug
* [HHH-19756] - Invalid SQL generated when using treat() with joined = discriminator inheritance and same attribute names
* [HHH-19747] - Hibernate Envers can not handle @EnumeratedValue annotation
* [HHH-19201] - BlobProxy with InputStream reads whole stream into a byte array
Changes in 6.6.28.Final (August 31, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35057
** Bug
* [HHH-19740] - Collection table deletion for table per class subclass entity fails with UnknownTableReferenceException
* [HHH-19738] - JDBC password logged when specified via jakarta.persistence.jdbc.password
* [HHH-19734] - Cache hit of bytecode enhanced proxy with shallow query cache layout fails
* [HHH-19648] - Recursive @Embeddable mapping leads to stack overflow
Changes in 6.6.27.Final (August 24, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/34957
** Bug
* [HHH-19719] - org.hibernate.query.sqm.function.SelfRenderingSqmWindowFunction#appendHqlString throws IndexOutOfBoundsException when has no arguments
* [HHH-19712] - Column deduplication leads to wrong alias calculation for native query alias expansion
* [HHH-19687] - Criteria query with lazy @OneToOne and @EmbeddedId throws exception
Changes in 6.6.26.Final (August 17, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/34859
** Bug
* [HHH-18968] - MySQLDialect wrongly uses Timestamp as type for localtime function
* [HHH-18621] - Hibernate 6 disregards hibernate.jdbc.batch_versioned_data
Changes in 6.6.25.Final (August 10, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/34660
** Bug
* [HHH-19453] - sequence support not working on db2 As400 7.3
* [HHH-17522] - Support correlation of CTEs
Changes in 6.6.24.Final (August 03, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/34495
** Bug
* [HHH-19675] - JdbcTypeRegistry#hasRegisteredDescriptor should account for constructed types
* [HHH-19657] - OffsetDateTime in an array is handled incorrectly with setting hibernate.type.java_time_use_direct_jdbc=true
* [HHH-19655] - Connection leak with PhysicalConnectionHandlingMode.IMMEDIATE_ACQUISITION_AND_HOLD
* [HHH-19651] - DB2 for i detection not working reliably
* [HHH-19585] - Object relationship mapping issues | java.lang.NullPointerException: Cannot invoke "java.lang.Comparable.compareTo(Object)" because "one" is null
* [HHH-19579] - Criteria update join - Column 'code' in SET is ambiguous
* [HHH-19031] - Loading an Entity a second time when it contains an embedded object causes IllegalArgumentException
* [HHH-18981] - IndexOutOfBoundsException when using arrayToString with arrayAgg
* [HHH-18956] - Native query brace replacement breaks dollar quoted literals in 6.6+
* [HHH-18780] - Performance regression on Postgres with polymorphic query due to incorrect casts of null columns
Changes in 6.6.23.Final (July 27, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/34397
** Bug
* [HHH-19575] - empty Struct should be fetched intact or not null
* [HHH-19524] - @OneToOne relationship unnecessary joins in nativeQuery
* [HHH-19261] - OracleDialect getQueryHintString incorrectly joins supplied hints
* [HHH-16253] - [Envers] Schema Validation Failure With Audited (N)Clob Column with Hibernate 6 on H2
** Task
* [HHH-19639] - Add getter for EmbeddableFetchImpl#nullIndicatorResult
Changes in 6.6.22.Final (July 20, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/34297
** Bug
* [HHH-19621] - SUBSTRING function for DB2i Series is broken
* [HHH-19579] - Criteria update join - Column 'code' in SET is ambiguous
* [HHH-19550] - Attribute join on correlated from node receives wrong root
* [HHH-19524] - @OneToOne relationship unnecessary joins in nativeQuery
* [HHH-19457] - Inheritance with type JOINED not working in a related entity
* [HHH-19368] - Group by and single-table inheritance sub-select query error
* [HHH-19031] - Loading an Entity a second time when it contains an embedded object causes IllegalArgumentException
** Task
* [HHH-19624] - Test EDB with the EDB drivers
Changes in 6.6.21.Final (July 13, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/34199
** Bug
* [HHH-19596] - NPE when array/collection of Struct contains null value
* [HHH-19542] - Embeddable in secondary table fails to recognize a nested embeddable is in the same table
Changes in 6.6.20.Final (July 06, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/34165
** Bug
* [HHH-19464] - Storing a binary data into BLOB on Oracle cutting off its content.
* [HHH-19396] - Cannot select the same column twice (with different aliases) while using CTE
* [HHH-19076] - expecting IdClass mapping sessionfactory error with specific @IdClass setup with inheritence
* [HHH-18898] - Specific mistake in HQL gives NullPointerException in AbstractSqlAstTranslator
* [HHH-18837] - Oracle epoch extraction doesn't work with dates
* [HHH-18581] - Performance degradation from Hibernate 5 to 6 on NativeQuery
** Improvement
* [HHH-19558] - allow JDBC escapes in native SQL queries
Changes in 6.6.19.Final (June 29, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/33968
** Bug
* [HHH-18837] - Oracle epoch extraction doesn't work with dates
* [HHH-19547] - Misleading exception message at DefaultFlushEntityEventListener - mangled ID - misplaced Entity and EntityEntry ID
* [HHH-19560] - TupleTransformer and ResultListTransformer trash the query interpretation cache
* [HHH-19571] - CloningPropertyCall causes non-deterministic bytecode for AccessOptimizer
* [HHH-19573] - Presence of wrapper byte array pollutes BasicTypeRegistry
* [HHH-19577] - BytecodeProviderImpl.SetPropertyValues wrongly emits duplicate stack map frames
Changes in 6.6.18.Final (June 13, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/33703
** Bug
* [HHH-19533] - Implement equals() and hashCode() for NativeQueryConstructorTransformer
* [HHH-19529] - Check bytecode generated classes with stable names class loaders
* [HHH-18891] - java.lang.AssertionError generated in getResolvedInstance even though NotFound IGNORE set
* [HHH-18876] - ArrayInitializer#resolveInstanceSubInitializers should consider @ListIndexBase
* [HHH-18771] - ListInitializer should consistently consider @ListIndexBase
Changes in 6.6.17.Final (May 28, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/33638
** Bug
* [HHH-19490] - NPE when using array_position function
* [HHH-19476] - claimEntityHolderIfPossible Assertion Error
* [HHH-19387] - AssertionError in EntityInitializerImpl data.concreteDescriptor is null
* [HHH-18946] - Startup issues with HANA in failover situations
Changes in 6.6.16.Final (May 25, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/33606
** Bug
* [HHH-19477] - ConnectionReleaseMode.AFTER_STATEMENT ineffective due to missing connection release
* [HHH-19473] - Bytecode enhancement incorrectly generates code for Bidirectional Generic Entities
* [HHH-19472] - Native query "SELECT 1" with result type Object[] return singular object
* [HHH-19387] - AssertionError in EntityInitializerImpl data.concreteDescriptor is null
* [HHH-19372] - AccessOptimizer.setPropertyValues() and getPropertyValues() error with entity hierarchy.
* [HHH-19369] - Entity hierarchy ordering error within metamodel building with enhancement
* [HHH-19207] - JPA OrderBy annotated relation not ordered when using entity graph with criteria api
* [HHH-18813] - DML update of secondary table column fails
Changes in 6.6.15.Final (May 13, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/33406
** Bug
* [HHH-19458] - problem starting MockSessionFactory from Quarkus dev mode with Reactive
Changes in 6.6.14.Final (May 11, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/33241
** Bug
* [HHH-19425] - incorrect class literals in Processor-generated code
* [HHH-19375] - fix check for presence of Quarkus in reactive case
* [HHH-19374] - repositories should always be @Dependent
* [HHH-19320] - Assigned id value is not passed into BeforeExecutionGenerator#generate() method when allowAssignedIdentifiers() is true and id has been assigned
* [HHH-19314] - StackOverflowException when using onConflict with createCriteriaInsertValues and createCriteriaInsertSelect
* [HHH-19306] - Composite generator may not respect the event types of generators it consits of
* [HHH-19036] - ORM Filter are searched for in the wrong order
Changes in 6.6.13.Final (April 06, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/33142
** Bug
* [HHH-19314] - StackOverflowException when using onConflict with createCriteriaInsertValues and createCriteriaInsertSelect
Changes in 6.6.12.Final (March 30, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32945
** Bug
* [HHH-19109] - Hibernate Data Repositories are @RequestScoped
* [HHH-19059] - Bytecode enhancement fails when inherited fields are mapped using property access in subclass
* [HHH-19017] - Class Cast Exception for PersistentAttributeInterceptable
* [HHH-18920] - Enum parameters in Jakarta Data repository method return type constructor are not properly matched
* [HHH-18745] - Unnecessary joins when use TREAT operator
* [HHH-14694] - Use stable proxy names to avoid managing proxy state and memory leaks
** Task
* [HHH-19230] - Ensure that thread local for org.hibernate.bytecode.enhance.internal.bytebuddy.SafeCacheProvider + OverridingClassFileLocator are completely cleared
Changes in 6.6.11.Final (March 16, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32879
** Bug
* [HHH-19246] - Fetch join makes partially covered EntityGraph ineffective
* [HHH-19220] - ClassCastException: class org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer$1 cannot be cast to class java.lang.String
* [HHH-19140] - Enhanced entities with AccessType.PROPERTY does not work well with inheritance
* [HHH-19107] - Entities with @EmbeddedId not supported with CrudRepository
* [HHH-19106] - @Transaction(TxType) not working with Hibernate Data Repositories
* [HHH-19052] - Hibernate 6.6.X regression with join formula
* [HHH-18894] - Hibernate 6.6 enum literal is considered field literal instead
* [HHH-18881] - In MySQL, array of dates are not converted correctly
* [HHH-18858] - array fields and static metamodel
* [HHH-18787] - Custom UserType not recognised for array properties
* [HHH-18570] - Invalid SQL when filter contains identifier named date
Changes in 6.6.10.Final (March 09, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32647
** Bug
* [HHH-19232] - BeanValidationEventListener not called if only associated collection is updated via getter
* [HHH-19206] - Bytecode-enhanced dirty checking ineffective if entity's embedded ID set manually (to same value)
* [HHH-19195] - Embeddable inheritance: discriminator values are not hierarchically ordered
** Improvement
* [HHH-19219] - Informix Catalog and schema support
Changes in 6.6.9.Final (February 23, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32614
** Bug
* [HHH-19173] - PostgreSQLLegacySqlAstTranslator does not implement visitInArrayPredicates
* [HHH-19116] - Error when using fk() function on left joined many-to-one association and is null predicate
* [HHH-19110] - Flush operation fails with "UnsupportedOperationException: compare() not implemented for EntityType"
* [HHH-17151] - NPE when binding null parameter in native query with explicit TemporalType
Changes in 6.6.8.Final (February 16, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32516
** Bug
* [HHH-19126] - Plural valued paths should be collection-typed instead of element typed
* [HHH-18988] - Embeddable inheritance + default_schema results in NPE at startup
** Improvement
* [HHH-19098] - Disable implicit loading of the default import script
Changes in 6.6.7.Final (February 10, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32416
** Bug
* [HHH-19104] - Envers is keeping references to classes and thus classloaders
* [HHH-18901] - AnnotationFormatError: Duplicate annotation for class: interface org.hibernate.bytecode.enhance.spi.EnhancementInfo
* [HHH-18069] - NullPointerException when unioning partition results
** Task
* [HHH-19050] - Allow configuration of EntityManagerFactoryBuilderImpl to override the BytecodeProvider instance
* [HHH-18928] - Consider the default Access Type as per Spec section 2.3.1 and skip enhancement of properties accessor
Changes in 6.6.6.Final (February 02, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32382
** Bug
* [HHH-19079] - ComponentType.replace can cause ArrayIndexOutOfBoundsException when used with embeddable inheritance
* [HHH-19069] - Performance regression for wide inheritance models
* [HHH-19034] - Wrong reuse of a Join
* [HHH-18961] - JtaIsolationDelegate, obtaining connection : NPE when SQLExceptionConversionDelegate#convert returns null
* [HHH-18933] - the ordering of the class declaration in persistence.xml seems to affect the metamodel
** Task
* [HHH-19078] - Improve release process error message when no issues with corresponding version are found
Changes in 6.6.5.Final (January 19, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32379
** Bug
* [HHH-19011] - @ElementCollection comment overrides class level comment on an Entity
* [HHH-18819] - Error resolving persistent property of @MapperSuperclass if subtype @Embeddable used as @IdClass
* [HHH-17652] - Cannot invoke "org.hibernate.envers.internal.entities.EntityConfiguration.getRelationDescription(String)" because "entCfg" is null
** Task
* [HHH-18972] - Upgrade to ByteBuddy 1.15.11
Changes in 6.6.4.Final (December 18, 2024)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32370
** Bug
* [HHH-18949] - Hibernate Processor should not insert underscores within uppercase names
* [HHH-18932] - Wrongly using FK column instead of PK when using joined alias
* [HHH-18912] - ORM release process
* [HHH-18904] - Bytecode Enhancement fails with UnsupportedEnhancementStrategy.FAIL for pre-persist method
* [HHH-18903] - Bytecode enhancement fails for entities that contain a method named get
* [HHH-18872] - ConcreteProxy type not restored from 2LC when loading a ManyToOne
* [HHH-18868] - Wrong behaviour of getAttribute method in impl. of ManagedType when scattered id attributes are used in MappedSuperclass
* [HHH-18863] - jpamodelgen 6.6 performance issue in Eclipse IDE
* [HHH-18850] - createCountQuery with Hibernate 6.6.2
* [HHH-18709] - CriteriaUpdate involving JSON field containing Map<String, Object> results in SemanticException
* [HHH-18689] - 'FULL' query cache sometimes incomplete
* [HHH-18629] - Inconsistent column alias generated while result class is used for placeholder
* [HHH-18583] - Joined + discriminator inheritance treat in where clause not restricting to subtype
* [HHH-18384] - @JoinColumnsOrFormulas broken
* [HHH-18274] - Problems with generics in queries; proposed partial solution
* [HHH-17838] - @OneToOne relationship + @Embeddable keys + FetchType.LAZY fail in most recent version
* [HHH-17612] - DefaultRevisionEntity: Illegal argument on static metamodel field injection
* [HHH-14725] - Using a InputStream with BlobProxy and Envers results in java.sql.SQLException: could not reset reader
* [HHH-13815] - TransientObjectException after merging a bidirectional one-to-many with orphan deletion
* [HHH-13790] - Temporary session not being closed
* [HHH-13377] - Lazy loaded properties of bytecode enhanced entity are left stale after refresh of entity
** Sub-task
* [HHH-18369] - Support Informix matches() function
* [HHH-18367] - Informix sum on case expression error
* [HHH-18365] - Informix function bit_length() error
* [HHH-18364] - Informix function locate() error
* [HHH-18363] - Informix component nullness check error
* [HHH-18362] - Informix function substring() error
* [HHH-18361] - Informix current_time error
* [HHH-18360] - Informix function str() error
** Task
* [HHH-18917] - Follow all of the JavaBeans rules in enhance/internal/bytebuddy/EnhancerImpl when checking if a class can be enhanced
* [HHH-18906] - Allow specifying UnsupportedEnhancementStrategy for Hibernate testing
Changes in 6.6.3.Final (November 21, 2024)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32365
** Bug
* [HHH-18862] - Group by error due to subselect using foreign key reference instead of primary key in HQL query
* [HHH-18851] - ArrayContainsArgumentTypeResolver wrongly infers array type for needle argument
* [HHH-18842] - Regression: CollectionType.replace() breaks if target is PersistentCollection, but not instance of Collection (e.g. PersistentMap)
* [HHH-18832] - Bytecode enhancement skipped for entities with "compute-only" @Transient properties
* [HHH-18816] - Error when rendering the fk-side of an association in an exists subquery
* [HHH-18703] - JoinedSubclassEntityPersister#getTableNameForColumn KO
* [HHH-18647] - SemanticException when using createCriteriaInsertValues to insert into foreign key column
** Improvement
* [HHH-18841] - Make `_identifierMapper` property added for a IdClass synthetic
* [HHH-18833] - Configuration to fail bytecode enhancement instead of skipping it on unsupported models
** Task
* [HHH-18846] - Enable release automation for ORM 6.6
Changes in 6.6.2.Final (November 07, 2024)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32350
** Bug
* [HHH-18773] - Multiple selections of same alias triggers possible non-threadsafe access to the session
* [HHH-18770] - NPE when using the JFR integration with JFR disabled
* [HHH-18764] - Class cast exception when using non basic type as identifier and in an embedded field using a natural ID
* [HHH-18761] - named query method generation for @NamedQuery on entity
* [HHH-18739] - Do not support join queries when using Mysql
* [HHH-18730] - Multi-column association in aggregate component doesn't work
* [HHH-18720] - Type check on select columns in union all gives SemanticException when there is a null column
* [HHH-18719] - Previous row state reuse can provide detached entities to the consumer
* [HHH-18713] - saveOrUpdate changed behaviour with bytecode enhancer
* [HHH-18712] - Warning about attempts to update an immutable entity for normal (not immutable) entity
* [HHH-18702] - Exception using @EmbeddedId with @OneToMany that refers to an alternate key column
* [HHH-18699] - Correctly handle @Id and @Version fields in query validation in Hibernate Processor
* [HHH-18697] - JPA 3.2 spec compliance for uppercasing of names in Hibernate Processor
* [HHH-18696] - @Find method for single @NaturalId field
* [HHH-18692] - Hibernate attempts to close batched statements multiple times
* [HHH-18681] - InterpretationException executing subquery in case-when : o.h.query.sqm.tree.select.SqmSelection.getExpressible() is null
* [HHH-18675] - Self-referencing many-to-many relation on generic entity gives NullPointerException in mapping
* [HHH-18669] - NullPointerException in the AgroalConnectionProvider
* [HHH-18667] - Annotation processor leaks - OOME when used in Eclipse IDE
* [HHH-18658] - Inner join prevents finding an entity instance referencing an empty map
* [HHH-18645] - AssertionError in AbstractBatchEntitySelectFetchInitializer#registerToBatchFetchQueue
* [HHH-18642] - DB2: select from new table with identity column not working when missing read permission
* [HHH-18635] - Avoid using `bigdatetime` column type on Sybase jconn when not necessary
* [HHH-18632] - Concurrency issue with AbstractEntityPersister#nonLazyPropertyLoadPlansByName
* [HHH-18631] - AssertionError when loading an entity after removing another, associated entity
* [HHH-18628] - Regression: Unable to determine TableReference
* [HHH-18617] - Fetching unowned side of bidirectional OneToOne mappings including tenant identifier triggers EntityFilteredException
* [HHH-18614] - TransientObjectException: session.update() does not save new entities in OneToMany relation when using bytecode enhancement
* [HHH-18608] - NPE in EntityInitializerImpl.resolveInstanceSubInitializers
* [HHH-18596] - ValueHandlingMode hack in query pagination
* [HHH-18582] - Mapping array of arrays with @JdbcTypeCode(SqlTypes.ARRAY) causes NPE
* [HHH-18575] - IN predicate with numeric/decimal parameter types leads to Binding is multi-valued; illegal call to #getBindValue
* [HHH-18564] - Literal expressions using AttributeConverters stopped working in hibernate 6
* [HHH-18551] - Memory leak caused by AbstractArrayJavaType#getRecommendedJdbcType
* [HHH-18515] - Unrecognized discriminator value exception when running native query on entity with discriminator column
* [HHH-18513] - Session Metrics for pre-partial-flushes are wrong
* [HHH-18500] - Gradle plugin crashes on module-info when extended enhancement is set
* [HHH-18494] - UnknownTableReferenceException in native query with placeholder when entity contains a to-one with a join table
* [HHH-18491] - Resuming null transaction in JtaIsolationDelegate
* [HHH-18471] - Since 6.2.2 Dialect SybaseAnywhereDialect does not render table names in the selection query
* [HHH-18450] - Inconsistent "SELECT 1" versus "SELECT ?1" with result type Object[]
* [HHH-18409] - In 6.5.2.Final, byte[] instance variables annotated with @NaturalId cannot be found with a natural ID query (regression from Hibernate 5.6.15.Final)
* [HHH-18389] - `merge()` with `orphanRemoval = true` leads to "HibernateException: A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance"
* [HHH-18321] - SqlTreeCreationException when using sum/diff with coalesce on properties of embeddable component
* [HHH-18131] - Composite identifiers with associations stopped working with @IdClass
* [HHH-17739] - unhelpful CCE for field with unsupported collection type
* [HHH-16572] - Skip enhancement for PROPERTY attributes with mismatched field and method names
** Improvement
* [HHH-18698] - respect @Nonnull annotation applied to parameters of @Find method
* [HHH-18654] - Change setting docs to use an asciidoc section per setting (User Guide)
* [HHH-18640] - Add note to migration guide about @Table and subclasses
Changes in 6.6.1.Final (September 17, 2024)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32340
** Bug
* [HHH-18571] - Entities and collections with batch size 1 are treated as batchable
* [HHH-18565] - Bytecode enhancement, assertion error on reloading *toOne entities
* [HHH-18560] - DB2iDialect executes incompatible query in combination with @AuditJoinTable mapping
* [HHH-18558] - Informix UUID type support
* [HHH-18556] - Expressions.nullExpresion() in querydsl result in NPE in SqmExpressible
* [HHH-18531] - Informix timestamp literal error
* [HHH-18524] - @IdClass and composite key generation not working with meta-annotated @IdGenerationType
* [HHH-18518] - MySQLDialect fails to detect version on azure flexible server
* [HHH-18511] - ArrayIndexOutOfBoundsException in ImmutableFetchList
* [HHH-18506] - Flush performance degradation due to itable stubs
* [HHH-18503] - ID select criteria query fails with joined + discriminator inheritance when entity has subtypes
* [HHH-18502] - Type conversion error due to surprising javac method selection in SqmSubQuery#in
* [HHH-18493] - Resolving already initialized collection elements leads to assertion error
* [HHH-18490] - Static metamodel contains wrong type for Embeddable with generic attribute extending from mapped superclass
* [HHH-18489] - Lazy, unowned one-to-one associations get loaded eagerly in queries - even with bytecode enhancement
* [HHH-18487] - Error: Detached entity wiht id X has an uninitialized version value '1''
* [HHH-18486] - Unable to add Persist the object because of EntityNameResolver being ignored
* [HHH-18484] - Update fails when a many-to-one property on an entity with a generated value is changed
* [HHH-18480] - ClassCastException when updating a Blob with Oracle
* [HHH-18478] - Cannot invoke "org.hibernate.persister.entity.EntityPersister.getSubclassId()" because "data.concreteDescriptor" is null when reloading entity from query cache
* [HHH-18476] - Fetchable scrolling with KeyToOne leads to assertion error
* [HHH-18472] - Fix memory issues for release job
* [HHH-18470] - Duplicate foreign key names generated for inheritance type TABLE_PER_CLASS
* [HHH-18469] - Assertion Error when fetch joining complex entities structure
* [HHH-18466] - Regression from 5.6.15.Final where a mutable natural IDs query cannot find an entity
* [HHH-18447] - cast as boolean broken in Hibernate 6
* [HHH-18445] - Embeddable as Java Record has wrong order of columns
* [HHH-18439] - NullPointerException when access data from query cache
* [HHH-18436] - Wrong order-by rendering order for nested collections if loaded with entity graph
* [HHH-18414] - Duplicated filter applied to 'find()' method
* [HHH-18400] - AttributeConverter causing type-check failure when comparing Date field to parameter
* [HHH-18353] - ArrayConstructorFunction comparing argument types by reference causes FunctionArgumentException
* [HHH-18337] - SequenceStyleGenerator not respecting physical naming strategy
* [HHH-18282] - generate error sql in case of @DiscriminatorValue("not null") and the entity is superclass of other entity
* [HHH-18174] - Hibernate polymorphic join in complex subquery not using discriminator
* [HHH-18103] - MappedSuperclass handling for Embeddable is broken in metamodel
** Improvement
* [HHH-18625] - Add Configurable#create(GeneratorCreationContext)
* [HHH-18507] - allow overwriting the default db image with environment variable in docker_db.sh
* [HHH-18459] - Add SingleStore community dialect
* [HHH-17646] - JOINED @Inheritance leads to bad performance in Hibernate 6
** Task
* [HHH-18612] - Avoid writing files to classpath in tests to avoid spurious failures
Changes in 6.6.0.Final (August 08, 2024)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32329
** Bug
* [HHH-18463] - Add AzureDialect
* [HHH-18451] - CharBooleanConverter : Boolean null value conversion limited by the BooleanJavaType check condition
* [HHH-18403] - DB2iDialect should not support Update Returning
* [HHH-18399] - Unable to persist self-referencing entity with @OneToOne and @JoinTable
* [HHH-18391] - EntityGraphs are not considering Embedded attributes
* [HHH-18378] - Avoid reusing existing joins for entity-graph fetches if they're included in the where clause
* [HHH-18373] - When executing update with Criteria API by setting InheritanceType.JOINED, InlineMutationStrategy, NPE error occurs
* [HHH-18309] - Oracle LimitHandler does not seem to handle maxrows correctly for native queries
* [HHH-17997] - Querying an Entity with CacheConcurrencyStrategy.READONLY throws UnsupportedOperationException: Can't update readonly object
* [HHH-17847] - StoredProcedureQuery map result set incorrectly when having INOUT param
* [HHH-17465] - Incorrect metamodel for shared version attribute in @MappedSuperclass
Changes in 6.6.0.CR2 (August 6, 2024)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32320
** Bug
* [HHH-15725] - Criteria API Expression.as adds cast even when the cast type is equal to the expression type
* [HHH-17840] - Jackson JsonNode stored as JSON "null" value instead of database NULL
* [HHH-17914] - NPE getSqlString\(\) in debug mode
* [HHH-17949] - StatelessSession.upsert\(\) with @Version-ed entity on databases with no SQL merge
* [HHH-18012] - Subclass of super generic array AttributeConverter cannot be auto applied
* [HHH-18017] - Query cache on Polymorphic entities leads to InstantiationException \(Cannot instantiate abstract class\)
* [HHH-18062] - 'Could not instantiate entity ... due to argument type mismatch' with record @IdClass
* [HHH-18085] - Executing SELECT query twice in a transaction, leads to "Shared references of collection error"
* [HHH-18086] - Assertion Error when using JOIN FETCH on ToOneAttribute with multiple JOINs of parent entity
* [HHH-18108] - Duplicate class definition regression caused by ClassTransformer
* [HHH-18177] - org.hibernate.AssertionFailure: null identifier for collection of role thrown when merging entity with generated id
* [HHH-18229] - "UnsupportedOperationException: Re-work support for semi-resolve " with null value in column referenced by @JoinColumn
* [HHH-18272] - UnsupportedOperationException when order / group by clause contains aliased item
* [HHH-18278] - Metamodel generator is ignoring JPA/Hibernate annotations in package-info
* [HHH-18280] - Support named procedure parameters down to the JDBC level
* [HHH-18284] - Missing classes in org.hibernate.graalvm.internal.StaticClassLists
* [HHH-18285] - Non-polymorphic embeddable inheritance fails starting with Hibernate ORM 6.6
* [HHH-18288] - Subclasses of SINGLE\_TABLE Inheritance should not be allowed to define @Table
* [HHH-18291] - Regression in SemanticQueryBuilder 6.4.7.Final -> 6.4.8.Final. Also present in 6.5.2.Final.
* [HHH-18292] - Regression in SemanticQueryBuilder 6.4.9.Final -> 6.5.0.Final. Also present in 6.5.2.Final.
* [HHH-18302] - DB2CallableStatementSupport uses an invalid syntax for named parameters
* [HHH-18306] - Implicit instantiation for queries with single selection item broken
* [HHH-18312] - Informix nationalized JDBC types support
* [HHH-18313] - NullPointerException because JdbcIsolationDelegate.sqlExceptionHelper\(\) returns null
* [HHH-18330] - UnknownTableReferenceException in JPQL query when join fetching to-one in embedded id
* [HHH-18332] - DB2 stored procedures returning REF\_CURSORs are not working with the standard support
* [HHH-18334] - Teradata doesn't support variable limit
* [HHH-18338] - When an embeddable object is loaded before the entity it references, hibernate fails to start
* [HHH-18340] - method return type errors in AbstractDelegatingSessionFactoryBuilder
* [HHH-18343] - fix Altibase integration test failures since Hibernate 6.5.2
* [HHH-18347] - Casted parameter rendering broken for some DDL types when using @Column
* [HHH-18352] - Tuple comparison emulation performing bad
* [HHH-18357] - Null pointer exception in createCountQuery because Identifier descriptor is null in MappedSuperclass
* [HHH-18358] - Metemodel generator does not resolving entity type literals
* [HHH-18382] - Assertion error when using @DiscriminatorFormula for embeddable inheritance
* [HHH-18390] - JoinColumn leads to \`NullPointerException: Cannot invoke "Object.hashCode\(\)" because "value" is null\` on load
* [HHH-18406] - Oracle: schema update fails to create entity table if one of the fields is an array
* [HHH-18410] - Performance regression due to megamorphic calls
** Improvement
* [HHH-12836] - JtaPlatformInitiator.initiateService is logging same debug message twice
* [HHH-18296] - When JDBC drivers generate SQLWarnings with a "success" SQLState, do not log that at WARN level
* [HHH-18301] - Db2 supports 'drop table if exists' since version 11.5
* [HHH-18318] - fix user guide's bootstrap method reference link text
* [HHH-18320] - Correct some syntax errors in Locking chapter in user guide
* [HHH-18324] - Upgrade to Jandex 3.2.0
* [HHH-18327] - Connection pool configuration settings constants
* [HHH-18335] - improve partial order sorting in AnnotationMetadataSourceProcessorImpl
* [HHH-18339] - \`supportsFilterClause\` is not overridden to True for H2SqlAstTranslator
* [HHH-18342] - fix contradictive javadoc of org.hibernate.engine.spi.SharedSessionContractImplementor
* [HHH-18375] - Reuse previous row state when result cardinality is duplicated
* [HHH-18379] - Allow passing row count estimate to pre-size collections
* [HHH-18393] - Upgrade JBoss Logging Tools \(processor\) to 3.0.0.Final
* [HHH-18395] - Fix intermittent failures of clock based tests
* [HHH-18401] - SelectionQuery needs better validation of query return type
* [HHH-18411] - Add ability to specify a custom UuidGenerator.ValueGenerator
* [HHH-18412] - Upgrade JBoss Logging Tools \(processor\) to 3.0.1.Final
* [HHH-18454] - Skip connection provider retrieval and DB info logging when booting offline
** New Feature
* [HHH-18224] - standardized logging of database connection
** Task
* [HHH-18271] - Continue investigating performance drops compared to Hibernate 5
* [HHH-18293] - Upgrade to latest geolatte-geom version 1.9.1
* [HHH-18381] - Changes for Hibernate Reactive 2.4
* [HHH-18431] - Allow Hibernate Reactive to skip lazy initializations
Changes in 6.6.0.CR1 (June 14, 2024)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32289
** Bug
* [HHH-18267] - Informix insert value to identity column error
* [HHH-18259] - Joined Inheritence with Generated wrongly resolves columns for base entity
* [HHH-18256] - SQL fragment template wrongly prefixes literal type prefix
* [HHH-18251] - IdClass with Record not working with ToOne relation columns
* [HHH-18250] - Informix multi insert not supported
* [HHH-18246] - Informix nulls precedence support
* [HHH-18244] - Informix SelectItemReferenceStrategy error
* [HHH-18241] - revert change to semantics of 'null in ()'
* [HHH-18232] - DB2zDialect - Insert with GeneratedValue Id not working with DB2v12
* [HHH-18225] - Informix syntax error in DISTINCT clause before SKIP clause
* [HHH-18221] - Incomplete list of existing foreign keys - DatabaseMetaData.crossReferences(...) not used
* [HHH-18218] - Dynamic instantiation with generic entity attribute fails constructor argument type validation
* [HHH-18215] - QueryException raised for valid update SQL query - problems with aliases parsing
* [HHH-18214] - unhelpful error when query result type has no appropriate constructor
* [HHH-18213] - FirebirdDialect LimitHandler produces wrong query on Firebird 2.5 and older
* [HHH-18212] - Accessing a removed lazy association results in a NullPointerException
* [HHH-18205] - hibernate.implicit_naming_strategy and hibernate.physical_naming_strategy ignored when using Configuration
* [HHH-18203] - JPMS: Cannot invoke "javax.lang.model.element.Element.getAnnotationMirrors()" because "element" is null
* [HHH-18202] - Error with distinct query + order by aggregate function on an association key
* [HHH-18201] - Addition/subtraction of duration to/from temporal parameter wrongly resolved as duration during query parsing
* [HHH-18179] - HibernateProcessor wrong warnings after upgrading to 6.5
* [HHH-18176] - upsert() with @Version-ed entity on Oracle
* [HHH-18175] - StatelessSession not incrementing @Version for entities with IDENTITY id generation
* [HHH-18172] - Fix embeddable inheritance for types extending @MappedSuperclass
* [HHH-18170] - Subquery randomly generating wrong SQL due to duplicate alias
* [HHH-18168] - Informix plural attribute size function support
* [HHH-18166] - Cascade behaviour different depending on bootstrap Hibernate or JPA for SAME cascade annotations
* [HHH-18163] - Informix foreign key on cascade delete syntax
* [HHH-18158] - EmbeddedId not working when Embedded is a generic record
* [HHH-18156] - OracleDatabaseCleaner doesn't support latest docker image "gvenzl/oracle-free"
* [HHH-18153] - Informix unique constraints on nullness columns
* [HHH-18151] - Bytecode enhancement incorrectly generates code for parameterized fields
* [HHH-18150] - Informix float and double precision in decimal digits
* [HHH-18149] - Metamodel generation fails if executed from Eclipse
* [HHH-18147] - Hibernate fails to persist an entity when a natural id association is a proxy
* [HHH-18140] - Error modify column type when project startup.
* [HHH-18138] - String based fetchGraphs do not resolve parameterized entity associated properties from MappedSuperclass
* [HHH-18137] - Hibernate Processor finder method doesn't find field from MappedSuperclass with private fields and field access
* [HHH-18121] - Error when using createCountQuery() from distinct dynamic instantiation query
* [HHH-18118] - In ScriptSourceInputFromUrl url is compared with itself
* [HHH-18117] - Character literal is not properly handled in query
* [HHH-18112] - Some dialects use the wrong default version
* [HHH-18107] - Package name in 2 classes doesn't correspond to the file path
* [HHH-18106] - @CheckHQL is reporting error when named query contains valid Java constant
* [HHH-18105] - Semicolon misssing in CSS file hibernate-layout.css line 98
* [HHH-18102] - @CheckHQL is not reporting error when non-existing enum constant is referenced in named HQL query
* [HHH-18098] - entities annotated @Cacheable(false) get added to second-level cache
* [HHH-18080] - hibernate.boot.allow_jdbc_metadata_access=false leads to warning about "0.0.0 version"
* [HHH-18077] - In key-based pagination next and previous keys seem to be swapped when moving to previous pages
* [HHH-18073] - BasicCollectionJavaType treat Set inconsistently
Changes in 6.6.0.Alpha1 (April 25, 2024)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32271
** Bug
* [HHH-17969] - NPE copying SQM tree for criteria delete statement with null predicate
** Improvement
* [HHH-17999] - Avoid runtime reflection for org.hibernate.jdbc.Expectation
* [HHH-17993] - Metamodel processing on bootstrap: avoid retrying same metamodel class name multiple times
* [HHH-17991] - Reduce overhead from @DialectOverride discovery
* [HHH-17988] - MetadataContext should consistently use ClassLoaderService
* [HHH-17987] - Improve allocation rate of ReflectHelper#setterMethodOrNull
* [HHH-17980] - Excessive contention during getter identification in the ByteBuddy enhancer
* [HHH-17954] - StatelessSession should no longer ignore changes to collections
* [HHH-17824] - Extend usage spectrum of @Jpa to the test method level
** New Feature
* [HHH-17955] - Bean validation and StatelessSession
* [HHH-17818] - Add new ConcreteProxy annotation
Changes in 6.4.1.Final (December 15, 2023)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32216
** Bug
* [HHH-17570] - Wrong name provided when checking Oracle autonomous JSON database
* [HHH-17561] - NullPointerException at OracleServerConfiguration class
* [HHH-17555] - equals hashcode combined with naturalId
* [HHH-17553] - java.util.ConcurrentModificationException: null when loading an entity
* [HHH-17551] - Gradle Enterprise improvements
* [HHH-17528] - Explicit selection of an @Embeddable property containing associated collections doesn't work
* [HHH-17525] - StackOverflowError when using @ManyToMany with composite id
* [HHH-17520] - Schema creation fails with interval second data type on PostgreSQL
* [HHH-17519] - Initializing a lazy association with a non aggregate id causes a NPE
* [HHH-17515] - DynamicInstantiationResult wrong java type constructor selected
* [HHH-17499] - SemanticException when querying embedded id entity with positional parameter
* [HHH-17494] - Metamodel generator produces an uncompilable class when an EntityGraph name contains a comma
* [HHH-17491] - UnknownEntityTypeException thrown when multiple subclasses define an attribute with the same name and one is a MappedSuperclass
* [HHH-17489] - ConcurrentModificationException after upgrading to 6.4.0
* [HHH-17466] - Exception on query: Could not convert 'java.util.Locale' to 'java.util.Locale' using 'org.hibernate.type.descriptor.java.LocaleJavaType' to wrap
* [HHH-17464] - 6.4.0 regression: NullPointerException in DefaultEvictEventListener#onEvict
* [HHH-17456] - java.util.UnknownFormatConversionException thrown why logging set to TRACE
* [HHH-17445] - Subquery correlated path expressions do not work with nullness predicates
* [HHH-17418] - Bytecode enchanced read accessor for a final field uses "missing" writer method
* [HHH-17416] - Using tuples in WHERE clause throws SemanticException
* [HHH-17413] - Invalid SQL with TYPE() function and CASE expression in SELECT clause
* [HHH-17408] - Unproxying leads to uninitialized one-to-one associations in some cases involving polymorphism
* [HHH-17407] - AssertionError when using JpaEntityJoin with correlated subqery if criteria copy tree is enabled
* [HHH-17405] - Cannot resolve path of generic mapped-superclass association path
* [HHH-17402] - UnknownEntityTypeException: Unable to locate persister - when comparing generic interface ToOne attribute to parameter
* [HHH-17397] - Count with right join returns count on the left entity although requested by the right one
* [HHH-17395] - Refresh with PESSIMISTIC_WRITE ignored for lazy loaded entity
* [HHH-17393] - Incorrect return type for List attribute, wrap in additional list
* [HHH-17392] - UnsupportedOperationException when using row_number() window function without top level GROUP BY
* [HHH-17391] - AssertionError when using row_number() window function with ORDER BY
* [HHH-17387] - Can't use EAGER ManyToOne on parent abstract class of joined table entity
* [HHH-17379] - Right join does not return records from the right table if there is condition on ID field and there's no matching record in the from clause
* [HHH-17359] - Query Cache contains null values for entity associations when entity was already loaded
* [HHH-17334] - Duplicated columns when updating indexed @ElementCollection with non updatable fields
* [HHH-17293] - Schema validation fails on postgres interval seconds type
* [HHH-17280] - UnknownTableReferenceException in subquery selecting embeddable foreign key
* [HHH-16967] - Missing join on inheritance parent table to validate @Where condition
* [HHH-16756] - orphanRemoval does not work when bytecode enhancement is enabled
* [HHH-16306] - CountExpressionTest.testCountDistinctTuple fails on Sybase
* [HHH-16100] - Dynamic-map entity mode does not register a column for one-to-one associations
* [HHH-1645] - refresh with LockMode on an unitialized proxy does not work
** Improvement
* [HHH-17554] - No join on the table of the parent class with JOINED inheritance strategy when the select not contains a column used in @Where or @SQLRestriction
* [HHH-16809] - Add JavaType#createArray
** Task
* [HHH-17565] - Add testing for JDK 22-ea
* [HHH-17546] - Update Cockroach CI testing to 23.1.12
* [HHH-17545] - Update SAP HANA JDBC driver to 2.19.11
* [HHH-17544] - Update SAP HANA CI testing to 2.00.072.00.20231123.1
* [HHH-17543] - Update DB2 CI testing to 11.5.9.0
* [HHH-17542] - Update DB2 JDBC driver to 11.5.9.0
* [HHH-17541] - Update SQL Server JDBC driver to 12.4.2
Changes in 6.4.0.Final (November 23, 2023)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32212
** Bug
* [HHH-17454] - SemanticException caused by type check when comparing generic path to parameter expression
* [HHH-17428] - Parameter place holder should start from 1 in StandardTemporaryTableExporter
* [HHH-17415] - NullPointerException: EntityValuedPathInterpretation - getNavigablePath()
* [HHH-17412] - Type comparison error due to surprising javac method selection
* [HHH-17411] - Fetch join on treated join leads to owner not selected error
* [HHH-17386] - Type inference source is not reset for top level predicates
* [HHH-17384] - OneToMany association with @NotFound results in SQL with different JOIN-type for SELECT (LEFT JOIN) and COUNT (JOIN)
* [HHH-17383] - Association is null in lazy initialized element collection
* [HHH-17382] - Dynamic instantiation leads to superclass fields not found when using injection
* [HHH-17381] - fix wrong groupId in Compatibility.adoc
* [HHH-17380] - Persisting an entity with a non generated id and @MapsId throws PropertyValueException
* [HHH-17370] - ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Cannot invoke "org.hibernate.resource.jdbc.spi.JdbcObserver.jdbcConnectionAcquisitionEnd(java.sql.Connection)" because "this.observer" is null
* [HHH-17344] - DB2zDialect NullPointerException
* [HHH-17328] - Retrieve entity using entity graph not adding type in the where clause for @Inheritance(strategy = InheritanceType.SINGLE_TABLE)
* [HHH-17313] - Session#setDefaultReadOnly is ignored by named queries
* [HHH-17308] - AssertionError when mixing @SQLSelect and composite ID
* [HHH-17299] - AssertionError in DiscriminatorPathInterpretation when treating a path with the same subtype
* [HHH-17294] - Non-Embeddable JSON objects are not marked as dirty when modified
* [HHH-17292] - MappedSuperclass with more than 1 subclass level leads to "UnknownPathException: Could not resolve attribute"
* [HHH-17102] - @SqlResultSetMapping doesn’t work with @Inheritance(strategy = InheritanceType.JOINED)
** Deprecation
* [HHH-17441] - Deprecate @Comment
** Improvement
* [HHH-17425] - Introduce new configuration parameters for offline Dialect initialization
* [HHH-17424] - Have Dialect manage more of ExtractedDatabaseMetadata