-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Expand file tree
/
Copy pathchangelog.txt
More file actions
1053 lines (908 loc) · 64.6 KB
/
changelog.txt
File metadata and controls
1053 lines (908 loc) · 64.6 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 7 Changelog
=======================
Changes in 7.3.0.Final (March 16, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/37673
** Bug
* HHH-20253 ClassCastException when using hibernate-enhance-maven-plugin plugin
* HHH-20229 logFlushResults ko with a @AnyKeyJavaClass(String.class)
* HHH-20224 Exception when calling treat() twice
* HHH-20212 Jakarta Data Repository implementation with custom session getter does not compile
* HHH-20200 Select query returns soft deleted entries with Inheritance.TABLE_PER_CLASS
* HHH-20199 Regression Hibernate 7: Using an AdditionalMappingContributor leads to a rescan of Entities that breaks when @Converters are present
* HHH-20187 NPE in BeanValidationEventListener with StatelessSession
* HHH-20176 Native Query cache causing ArrayIndexOutOfBoundsException with extra columns
* HHH-20165 Hibernate processor: Panache Next generated repository name conflicts
* HHH-20164 Hibernate processor: @Delete methods not working outside of Jakarta Data repository
* HHH-20163 Hibernate processor: nested types are visited twice
* HHH-20162 MySQL timeout based on innodb_lock_timeout has incorrect units
* HHH-20151 Metamodel geneartor: allow implicit repositories for Panache Next
* HHH-20149 HQL docs have outdated information about JPQL regarding optional select clause
* HHH-20137 HbmXmlTransformer does not create <sql-restriction> for Element collections
* HHH-20119 Values return by Enum Converter are not escaped in CREATE TABLE query
* HHH-20065 Subsequent StatelessSession#insertMultiple calls lead to pending batches
* HHH-20010 Infinite loop with nested embeddable
* HHH-19917 Bytecode-enhanced dirty tracking fails for mixed access properties
* HHH-9499 MappingException when JOINED Inheritance and bidirectional references
** Improvement
* HHH-20115 Pass a ROOT locale to loggers to avoid unnecessary class lookups
** Sub-task
* HHH-20128 Configure Locking Strategy, CTE, Temporary Tables
Changes in 7.3.0.CR2 (February 03, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/37404
** Bug
* HHH-20121 NPE when logging loaded values in follow-on locking post action
* HHH-20118 Vector operator SQL templates miss parenthesis around
* HHH-20107 SparseFloatVector and SparseDoubleVector accept invalid size <= 0
* HHH-20103 @ElementCollection mapping should respect @JoinColumn(foreignKey)
* HHH-20102 spec says LockTimeoutException + QueryTimeoutException should not be thrown on PostgreSQL
* HHH-20101 Error persisting child entity of abstract generic entity
* HHH-19715 read-only mode and collections
** Improvement
* HHH-20127 Avoid initializing the BigDecimal class when not strictly necessary
* HHH-19902 PostgreSQL failed statements mark tx for rollback
* HHH-19610 Make GraphParser support treatedSubGraph from root
** New Feature
* HHH-19045 Bytecode enhancer should add a default constructor if it's missing
** Sub-task
* HHH-20112 Skip concurrent modification related tests
* HHH-20111 Avoid harcoded column definition in tests
* HHH-20110 Handle TIMESTAMP and NUMERIC column types in Spanner PG
* HHH-20109 Handle Column types for Spanner PG
* HHH-20108 Fix connection URL in Spanner PG
* HHH-20100 Fix Foreign key issue
* HHH-20099 Handle ON CONFLICT clause for Spanner
* HHH-20098 Support FORWARD_ONLY scrollable resultset
Changes in 7.3.0.CR1 (January 23, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35980
** Bug
* HHH-20095 New SchemaValidator nullability check should only consider explicitly declared nullability
* HHH-20088 HbmXmlTransform does not consider the <set >, <map>, <list>, <bag> and <array> outer-join value to determine the fetch mode.
* HHH-20087 NPE with StatelessSession + Bean Validation
* HHH-20079 HbmXmlTransform does not create <sql-join-table-restriction> for ManyToMany attributes
* HHH-20072 Javadoc cannot be generated without Jackson 3 dependencies
* HHH-20069 `DB2iDialect.rowId` causes an error in merge queries
* HHH-20055 <synchronize> is ignored in orm.xml
* HHH-20041 DB2 for z IN tuple list predicate performs badly
* HHH-20037 MappedSuperClasses can be enhanced more than once resulting in Duplicate annotation interface org...EnhancementInfo Exception
* HHH-20032 SubSequence.subSequence violates CharSequence contract for start == end == length()
* HHH-20027 Fix failing parsing of PostgreSQL canonical lock_timeout formats (0, ms, s, min, h)
* HHH-20021 Binding GregorianCalendar parameter fails with "Type registration was corrupted"
* HHH-20015 Hibernate Maven Plugin 7.x does not include maven project dependencies in the enhancement classpath
* HHH-20006 Outcome of getSingleResult changed since 6.0
* HHH-20002 Ensure physical JDBC connection is released when closing LogicalConnectionManagedImpl
* HHH-19999 Caching APIs use Comparator<?> for version comparison in Hibernate ORM 7.2.0.Final
* HHH-19932 NullPointerException in SqmInterpretationsKey::toString
* HHH-19929 DB2iDialect problem with supportsRowValueConstructorSyntaxInInSubQuery
* HHH-19861 EntityNotFoundException when using @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) on FK fields
* HHH-19390 obsolete documentation for bytecode enhancer
* HHH-19192 Bulk delete of owner with soft-delete element-collection physically deletes the collection rows
* HHH-18835 AssertionError when executing insert-select
* HHH-18040 MySQL update/delete statement issue with subqueries
* HHH-12678 PersistentClass.checkColumnDuplication fails for columns with same name from distinct tables
* HHH-12100 Misleading exception message in JTASessionContext
* HHH-9035 Globally quoted identifiers and id class not working properly with quoted join columns error Unable to find logical column name from physical name JobPositon+id in table JOB+Position
* HHH-7287 Problem in caching proper natural-id-values when obtaining result by naturalIdQuery
** Deprecation
* HHH-20073 deprecate ByteArrayJavaType and CharacterArrayJavaType
** Improvement
* HHH-20076 @Version columns should be NOT NULL
* HHH-20059 TiDB: don't propagate readonly to server
* HHH-20058 TiDB: Enable shared lock promotion
* HHH-20054 Optimize BasicTypeImpl allocation
* HHH-20030 FilterImpl: cache validate() results and harden deserialization restore
* HHH-20026 Stop hibernate-maven-plugin execution on errors
* HHH-20025 Align Generator with UserType
* HHH-20017 Refactor AnnotationBasedGenerator to align with AnnotationBasedUserType
* HHH-20013 remove dependency to Classmate
* HHH-20012 Update the TiDBDialect
* HHH-20011 Upgrade minmum version supported for cockroach and upgrade db testing to 25
* HHH-20009 docker_db.sh fails to start PostgreSQL 17 and 18 on Apple Silicon (ARM64)
* HHH-19997 Update TiDB testing environment
* HHH-19992 auto-generate check constraint on @OrderColumn
* HHH-19950 Alternative to pre-set parameters offered for deprecated DynamicParameterizedType
* HHH-19919 Indexed collection initializers should resolveInstance instead of resolveKey
* HHH-19897 Hibernate Envers audited associations mapped-by non-audited ones
* HHH-19890 Support a FormatMapper for Jackson3
* HHH-19867 Add support for Oracle 26ai in OTP
* HHH-19804 Documentation should recommend `annotationProcessorPathsUseDepMgmt` in maven-compiler-plugin when using hibernate-processor
* HHH-18984 Remove deprecated Gradle API usage in Hibernate Gradle Plugin
* HHH-18461 Improve dialects to generate sql contains offset clause if first result of native query is explicit 0
* HHH-14584 Allow PhysicalNamingStrategy implementations to detect when a name is implicit or explicit
* HHH-7202 Early detection of bad targetEntity
* HHH-6882 Expose CollectionPersister from AbstractCollectionEvent
* HHH-6598 Immutable entities should not have up-to-date checks performed on a flush
** New Feature
* HHH-20060 TenantCredentialsMapper
* HHH-20029 hibernate.connection.login_timeout
* HHH-19993 Introduce UserTypeCreationContext and AnnotationBasedUserType
* HHH-19989 RemovalsMode.EXCLUDE
* HHH-19978 Support type variable members also in abstract entities
* HHH-19880 Move Hibernate Tools' `hibernate-assistant` module to Hibernate ORM
* HHH-19826 Add array_reverse and array_sort functions
* HHH-19541 "exists" queries
* HHH-18998 Supply UserType and UserCollectionType with type-safe config via annotation
* HHH-17657 Support named enum types on h2
* HHH-16383 NaturalIdClass
** Sub-task
* HHH-20091 Fix CTE Rendering Syntax for Spanner
* HHH-20086 Handle no escape character in Spanner PG dialect
* HHH-20066 Support only JSON Aggregation for Spanner PG Dialect
* HHH-20050 Create Spanner PostgreSQL dialect
* HHH-20045 Add support to create unique index when unique column is not supported
* HHH-20038 Fixes for SpannerDialect-3
* HHH-20034 Fixes for SpannerDialect-2
* HHH-20033 Introduce Dialect#getSetOperatorSqlString to support Spanner's explicit DISTINCT requirement
* HHH-20003 Spanner temporary table exporter
* HHH-19991 Fixes for SpannerDialect
* HHH-19983 Config for running tests on Spanner emualtor
Changes in 7.2.0.CR4 (December 10, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/36476
** Bug
* HHH-19980 In JTA after-completion callbacks may get ignored
* HHH-19979 processor should handle @NamedEntityGraph with defaulted name
* HHH-19975 Calling entityManager.find(clazz, id) with null id throws NullPointerException
* HHH-19972 OptionalTableUpdateOperation can fail on PostgreSQL < 15 and CockroachDB
* HHH-19963 Wrong references in entity fields with circular associations
* HHH-19958 `<generated>` tag in orm.xml is not implemented
* HHH-19955 Thread-safety issue in EntityEntryContext resulting in NullPointerException for Session.contains() calls.
* HHH-19843 Bean Validation may fail on operations with stateless session
* HHH-18871 Nested NativeQuery mappings causing 'Could not locate TableGroup' exception after migration
* HHH-18217 StatelessSession.upsert() for entity with all-null non-id fields, or no non-id field
** Improvement
* HHH-19943 Comparison of generic nested EmbeddedId's fails for JPQL and Criteria API
* HHH-19215 Extends Dialect#addQueryHints to support straight_join syntax
Changes in 7.2.0.CR3 (November 25, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/36014
** Bug
* HHH-19939 broken caching for MERGE and REFRESH load plans
* HHH-19937 duplicate version check after refresh
* HHH-19936 Parameter casts for by-id lookups don't take column definition into account
* HHH-19932 NullPointerException in SqmInterpretationsKey::toString
* HHH-19926 NullPointerException when executing JPQL IN clause with null parameter on entity association
* HHH-19925 Locking root(s) should be based on select-clause, not from-clause
* HHH-19924 Session#find with LockMode.UPGRADE_NOWAIT casues AssetionError when no entity with the provided id exists in the database
* HHH-19922 org.hibernate.orm:hibernate-platform:pom:7.1.7.Final is missing
* HHH-19918 Avoid reflection when instantiating known FormatMapper
* HHH-19910 EntityInitializer#resolveInstance wrongly initializes existing detached instance
* HHH-19906 JsonGeneratingVisitor#visit doesn't handle plural types correctly
* HHH-19905 Implicit join re-use with nested inner and left joins causes ParsingException
* HHH-19895 hibernate-core 6.6.30.Final breaks compatibility on entities with composite keys for multiple variants of DB2
* HHH-19758 HQL parse failure with SLL can lead to wrong parse
* HHH-19749 [Oracle] Merge with @SecondaryTable may generate invalid NUMERIC type casts
* HHH-19739 Exceptions during load of entity with different persistent fields with same name
* HHH-19240 Significant increase in heap allocation for queries after migrating Hibernate ORM 6.5 to 6.6
* HHH-19038 Hibernate.get does not work on detached entities
* HHH-18860 Updates on SecondaryTable cause incorrect cast for BigDecimal
* HHH-16991 EnhancedUserType cannot be used when defining relations
* HHH-14032 Locales with scripts are not round-tripped properly
** Deprecation
* HHH-19941 deprecate Session.contains(String, Object)
** Improvement
* HHH-19953 Relax scopes of methods in EntityInitializerImpl (for Hibernate Reactive)
* HHH-19827 Apply the unified Hibernate Documentation theme
** New Feature
* HHH-19931 SchemaManager.truncateTable()
** Task
* HHH-19944 Upgrade MS SQL JDBC driver to remediate CVE-2025-59250
* HHH-19940 Include maven plugin in the release staging directory
* HHH-19921 Drop last JUnit 4 usages in Hibernate Envers
* HHH-19916 More drop JUnit 4 usage work
Note: Please refer to JIRA to learn more about each issue.
Changes in 7.2.0.CR2 (November 10, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35584
** Bug
* [HHH-19914] - JPA_COMPLIANCE setting ignored in @Jpa
* [HHH-19896] - Criteria select case expressions: NPE when second query contains an otherwise case expression but not the first query
* [HHH-19888] - FetchPlusOffsetParameterBinder fails to apply static offset for root pagination
* [HHH-19887] - Wrong ClassLoader used for Jackson Module discovery
* [HHH-19883] - JOIN TREAT ignores predicates
* [HHH-19874] - NullPointerException in org.hibernate.sql.ast.tree.from.TableGroup.resolveTableReference
* [HHH-19872] - CriteriaUpdate error updating generic field in @MappedSuperclass
* [HHH-19868] - RowTransformerConstructorImpl throws NullPointerException when TupleMetadata is null
* [HHH-19865] - In JTA after-completion callbacks may get ignored
* [HHH-19862] - Can't update converted column throught CriteriaUpdate#set( SingularAttribute<? super T, Y> attribute, X value);
* [HHH-19857] - When one of the lazy attributes is `null` the other ones may not get initialized correctly
* [HHH-19851] - Session#findMultiple(EntityGraph...) fails for dynamic entities
* [HHH-19848] - NPE when using MySQLLegacyDialect
* [HHH-19840] - JDBC batching is not working with @CreationTimestamp and @UpdateTimestamp from Hibernate 7
* [HHH-19824] - DB2zDialect does not use correct querySequenceString on a DB2 on zOs
* [HHH-18691] - Envers cannot read revisions with records
** Improvement
* [HHH-19899] - Proxy generation fails with @ConcreteProxy and sealed abstract entities
* [HHH-19892] - signature of Session.merge() accepting EntityGraph
* [HHH-19884] - Hibernate testing class-template lifecycle listeners
* [HHH-19852] - Better detection of Oracle extended maximum string size
* [HHH-19830] - Use of markdown for Javadoc
* [HHH-18286] - Add option to fail bootstrapping on failure to access JDBC DatabaseMetadata
** Sub-task
* [HHH-19871] - Drop JUnit 4 usage in Hibernate Envers
** Task
* [HHH-19894] - Use Java 25 for building
* [HHH-19889] - Mention third-party dialects throughout the documentation
* [HHH-19873] - Upgrade build to Gradle 9.1
* [HHH-19869] - Regroup all dialect information under a single guide
* [HHH-19846] - Drop JUnit 4 usage
Changes in 7.2.0.CR1 (October 08, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/34530
** Bug
* [HHH-19831] - LeakingStatementCachingTest hangs
* [HHH-19813] - Incorrect default values for 'enableDirtyTracking' and 'enableLazyInitialization' in hibernate-maven-plugin
* [HHH-19795] - SqmFunctionRegistry does not provide a way to escape ? in registerPattern
* [HHH-19790] - Fix Gradle Worker ID gaps for parallel testing
* [HHH-19781] - Subsequent uses of Criteria SelectionSpecification lead to duplicated specifications
* [HHH-19780] - OracleDatabaseCleaner must not fail when not finding an object to drop
* [HHH-19775] - type(:entity) in JPQL
* [HHH-19771] - transaction context sharing between stateful and stateless sessions
* [HHH-19759] - joining a map key of basic type
* [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-19723] - Hibernate-testing depends on outdated Jakarta libraries, leading to compilation issues for Jakarta Data repositories
* [HHH-19721] - Jakarta Data is missing from hibernate-platform (BOM)
* [HHH-19718] - SQL @Formula with function call nested inside cast()
* [HHH-19716] - Collection event listeners may be missing collection owners in the persistent collection (PersistentCollection#getOwner==null)
* [HHH-19706] - Composite @Id with a generic part in @MappedSuperclass
* [HHH-19671] - Wrong warning aboute illegal use of @Embeddable with callback on entities with @IdClass
* [HHH-19659] - (Kotlin / Panache) Entity with @IdClass and @PrePersist/@PreUpdate misinterpreted as @Embeddable
* [HHH-19630] - Hibernate Processor may fail if the return type is a single entity and annotated with multiple annotations
* [HHH-19629] - Hibernate Processor may fail when repository method parameter has more than one annotation (e.g. multiple constraints)
* [HHH-19627] - MetaModel fields not generated for java.sql.Clob fields
* [HHH-19276] - Native query with enum list param leads to OutOfMemory
* [HHH-18993] - [Docs] Possible outdated documentation and update suggestions in the user guide
* [HHH-14082] - Hibernate cannot determine it's core version in modular configuration
* [HHH-19085] - NPE when using null value in CriteriaUpdate
* [HHH-19393] - Hibernate Envers can not handle ID class if it is implemented as Java record
** Deprecation
* [HHH-19751] - Deprecate AzureSQLServerDialect for removal
** Improvement
* [HHH-19832] - Upgrade to JUnit 6.0
* [HHH-19829] - Deprecate MultiIdentifierLoadAccess and byMultipleIds
* [HHH-19810] - Remove Joda-Time and use LocalDate of jdk in testing
* [HHH-19808] - Automatic closing for child session with shared connection/tx
* [HHH-19801] - SchemaTruncator should reset sequences
* [HHH-19791] - Avoid dropping/creating database objects when data is only read (SELECT)
* [HHH-19782] - Oracle support for locking across joins
* [HHH-19776] - Migrate all logging to the newer style "subsystem" logging
* [HHH-19774] - Automatic flushing for child session with shared connection/tx
* [HHH-19772] - change to semantics of interceptor reuse with shared session builders
* [HHH-19762] - Enable Parallel Testing for OTP
* [HHH-19757] - many registry operations have unbound type parameter in return type
* [HHH-19755] - Improve AntlrPlugin
* [HHH-19754] - Migrate XjcPlugin to using direct Java calls
* [HHH-19752] - Allow setting MariaDB/MySQL storage engine not only using System properties but also configuration properties
* [HHH-19744] - Clarify and document the wildfly-transaction-client integration
* [HHH-19743] - Deprecate JBossStandAloneJtaPlatform in favor of a new, clearly Narayana-specific implementation
* [HHH-19737] - Support Envers with StatelessSession
* [HHH-19733] - Extract constants often reused in ByteBubby processing
* [HHH-19730] - Avoid bulk-delete collection cleanup when delete cascaded
* [HHH-19717] - CockroachDB supports insert and update returning clause
* [HHH-19711] - Improve mapped-by + join-column exception message with the full property path
* [HHH-19702] - ConnectionProviders don't need "Impl" in name
* [HHH-19694] - Enhanced support for older Informix
* [HHH-19690] - Migrate Atlas to OTP
* [HHH-19679] - Support binary, float16 and sparse vector types
* [HHH-19602] - Adjust JdbcOperation to allow more-than-one statement
* [HHH-19556] - improvements to SQM equality
* [HHH-19554] - Support for lock timeout as Connection setting
* [HHH-19514] - Follow-on locking locks more than it should
* [HHH-19513] - Follow-on locking does not lock element-collection tables
* [HHH-19388] - Process <database-object> in mapping.xml
* [HHH-18546] - Clean up any hanging BulkOperationCleanupAction after-txn callbacks on Session close
* [HHH-14892] - Parallel test with GRADLE
* [HHH-13843] - Performance schema migration
* [HHH-9636] - Have JPA PessimisticLockScope.EXTENDED propagate the same LockModeType
* [HHH-19767] - Include license file in the META-INF of published artifacts
* [HHH-19827] - Apply the unified Hibernate Documentation theme
** New Feature
* [HHH-19794] - SchemaManager.resynchronizeGenerators()
* [HHH-19735] - Add vector support for SQL Server
* [HHH-19710] - Add vector support for SAP HANA Cloud
* [HHH-19708] - support for read/write replicas
* [HHH-19705] - Add vector support for DB2
* [HHH-19257] - Introduce @EmbeddedTable
* [HHH-18973] - Add Vector support type for MySQL
* [HHH-3404] - Regular expression matching in HQL
* [HHH-19676] - validate content of JPA @OrderBy in Processor
** Sub-task
* [HHH-19820] - Make sure that the enhancer is not doing anything if all the enablement parameters are false
* [HHH-19817] - Add the JavaDoc Style documentation appropriate for Maven Plugins
* [HHH-19816] - Add Integration Tests for the Maven Enhance Plugin without using Maven Invoker
* [HHH-19815] - Review and Complete the documentation of the Enhance Plugin in the User's Guide
* [HHH-19814] - Document the Enhance Plugin changes in the Migration Guide
* [HHH-19336] - Proper implementation for JPA PessimisticLockScope
** Task
* [HHH-19812] - Improvements on the Maven Enhance Plugin
* [HHH-19811] - Upgrade H2 to 2.4.240
* [HHH-19728] - Update SQL Server CI testing to 2025
* [HHH-19726] - Update MariaDB CI testing to 12.0
* [HHH-19009] - Correction of the inheritance syntax used with GraphParser in EntityGraphsTest tests
* [HHH-19793] - Temporary disconnect ATP-S from OTP
* [HHH-19806] - Make LoggingReportTask more resilient to missing annotation values
Changes in 7.1.0.Final (August 08, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/34726
** Improvement
* [HHH-19693] - Upgrade Oracle JDBC driver to version 23.9.0.25.07
** New Feature
* [HHH-19682] - Add Support for GaussDB Lock Timeout (lockwait_timeout)
Changes in 7.1.0.CR2 (August 06, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/34594
** Bug
* [HHH-19673] - hibernate-gradle-plugin 7.0.0.CR1 wrongly requires Java 21+
* [HHH-19669] - hql insert fails for entity with join inheritance on Oracle
** Improvement
* [HHH-19686] - Add implementation dependency to agroal-pool from hibernate-agroal
* [HHH-19685] - Rework multi-table handling code to allow caching and help Hibernate Reactive
* [HHH-19672] - Add overloads of #find accepting entity-name
** Task
* [HHH-19683] - Add method in AbstractEntityPersister to check if field name is not lazy
* [HHH-19670] - Upgrade MySQL testing to 9.4
Changes in 7.1.0.CR1 (July 30, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32362
** Bug
* [HHH-19649] - QualifiedNameParser inconsistent between parsing and formatting
* [HHH-19645] - Some database specific tests are missing RequiresDialect annotation
* [HHH-19640] - @UpdateTimestamp behavior change between Hibernate 5.6 and 6.6
* [HHH-19631] - NPE in AbstractPersistentCollection because "persister" is null, when accessing unfetched lazy collection in event
* [HHH-19626] - Hibernate processor may fail to process entities with generics
* [HHH-19616] - @ManyToOne(optional=false) results in a not null constraint for SINGLE_TABLE subclass
* [HHH-19604] - Session.isDirty always return true when @Immutable entity is loaded
* [HHH-19585] - Object relationship mapping issues | java.lang.NullPointerException: Cannot invoke "java.lang.Comparable.compareTo(Object)" because "one" is null
* [HHH-19583] - JsonJavaType is missing parameterized info on the type arguments
* [HHH-19579] - Criteria update join - Column 'code' in SET is ambiguous
* [HHH-19578] - @Delete queries for reactive repositories
* [HHH-19574] - metamodel population for inner classes
* [HHH-19572] - NullPointerException when using where(List<Predicate> restrictions) method
* [HHH-19571] - CloningPropertyCall causes non-deterministic bytecode for AccessOptimizer
* [HHH-19570] - HQL with jpamodelgen fails compilation when querying by natural id named `id`
* [HHH-19549] - Hibernate Processor: When embeddable is annotated by @Access enclosing element must not change access type
* [HHH-19547] - Misleading exception message at DefaultFlushEntityEventListener - mangled ID - misplaced Entity and EntityEntry ID
* [HHH-19533] - Implement equals() and hashCode() for NativeQueryConstructorTransformer
* [HHH-19531] - Jakarta Data implementation casts StatlessSession to *Implementor interfaces
* [HHH-19529] - Check bytecode generated classes with stable names class loaders
* [HHH-19528] - Version xml mapping is ignored
* [HHH-19523] - NPE when using stateless session and having a PreCollectionRecreateEventListener registered
* [HHH-19522] - upserts fail silently instead of throwing StaleObjectStateException
* [HHH-19495] - [Hibernate 7] - Extra update when mixing entity annotation with XML when a collection is dirty
* [HHH-19457] - Inheritance with type JOINED not working in a related entity
* [HHH-19396] - Cannot select the same column twice (with different aliases) while using CTE
* [HHH-19391] - Query plan caching for criteria queries fails with entity parameters
* [HHH-19368] - Group by and single-table inheritance sub-select query error
* [HHH-19261] - OracleDialect getQueryHintString incorrectly joins supplied hints
* [HHH-19168] - Disallow re-enhancement of entities with different configuration
* [HHH-19031] - Loading an Entity a second time when it contains an embedded object causes IllegalArgumentException
* [HHH-18936] - remove parent with @OnDelete(CASCADE) leads to TransientObjectException
* [HHH-18909] - NPE for cached entity with array
* [HHH-18837] - Oracle epoch extraction doesn't work with dates
* [HHH-18820] - QueryInterpretationCache and criteria SQM trees
* [HHH-18818] - CteInsertHandler doesn't update PooledOptimizer after batch inserting
* [HHH-18473] - Default target column qualifier support error
* [HHH-18311] - No longer able to configure which SqmMultiTableInsertStrategy/SqmMultiTableMutationStrategy to use
* [HHH-11866] - CustomEntityDirtinessStrategy#resetDirty is not called after entity initialization
* [HHH-9812] - @Formula with SQL cast function
* [HHH-8535] - Generating an ID with org.hibernate.id.enhanced.TableGenerator can hang the application if HIBERNATE_SEQUENCES has NULL value
** Deprecation
* [HHH-19661] - Deprecate enhancement support for "extended" enhancement
* [HHH-19660] - Deprecate enhancement support for automatic association management
* [HHH-19500] - layer-breakers in UserType
* [HHH-19483] - deprecate EntityEntryFactory
* [HHH-19015] - Deprecate Session#byId in favor of FindOptions
** Improvement
* [HHH-19668] - Reduce size of collections held in ParameterInterpretationImpl before storing them in the cache
* [HHH-19667] - Support H2 2.2.220 for update clause enhancements
* [HHH-19663] - Add arrayToString/collectionToString variant that accepts default element
* [HHH-19662] - Define granularity of EnhancementContext options matching reality
* [HHH-19654] - Upgrade hibernate-models to 1.0.1
* [HHH-19653] - Log JDBC fetch size
* [HHH-19646] - Improve validation of configuration settings for the Query Plan Cache
* [HHH-19644] - Enforce usage of SharedDriverManagerConnectionProviderImpl connection pool for hibernate-envers tests
* [HHH-19643] - Redirect some hibernate-envers tests to H2 as they use an H2 configured hibernate configuration file
* [HHH-19641] - Upgrade to JUnit 5.13.4
* [HHH-19638] - Document the Ant enhancement task in User Guide tooling section
* [HHH-19632] - Give access to optional parameter info in SqlAstTranslator
* [HHH-19623] - Support GaussDB column check function
* [HHH-19622] - Include hibernate-vector in the platform pom
* [HHH-19619] - Add TeradataDialect
* [HHH-19617] - Remove EXECUTE ANY TYPE privilege for Oracle
* [HHH-19612] - fetchgraph and loadgraph hints should accept the name of a named EntityGraph
* [HHH-19611] - logging cleanup
* [HHH-19608] - automatically include the @PartitionKey in the primary key constraint
* [HHH-19598] - Support GaussDB procedure
* [HHH-19595] - Implement upsert support for HSQLDB and EDB (v >= 15)
* [HHH-19593] - ResourceRegistryStandardImpl triggers identity hashcode on Statements and ResultSets
* [HHH-19591] - Refactor verifyMeterNotFoundException to use assertThrows
* [HHH-19553] - Remove CREATE ANY INDEX privilege for Oracle
* [HHH-19544] - Allow to plug-in a third party cache implementation for internal caches
* [HHH-19537] - Simplify amount of computations performed during LazyAttributeLoadingInterceptor ctor
* [HHH-19536] - Reduce computations during EnhancementAsProxyLazinessInterceptor constructor
* [HHH-19532] - Add unwrap() method to StatelessSession/SharedSessionContract
* [HHH-19526] - Avoid generating a QueryInterpretationCache.Key when the query cache is disabled
* [HHH-19508] - order collection updates to put deletes first
* [HHH-19506] - General Firebird dialect improvements (main)
* [HHH-19503] - Track a Dialect's level of support for locking joined tables
* [HHH-19501] - Session#lock w/ pessimistic locks for scopes
* [HHH-19494] - MERGE on DB2
* [HHH-19487] - AbstractEntityPersister should not be directly involved in dirty checking
* [HHH-19484] - simpler customization of ImplicitNamingStrategyJpaCompliantImpl
* [HHH-19466] - exposure of SPI types via JpaMetamodel
* [HHH-19362] - Improve JsonHelper to handle more org.hibernate.metamodel.mapping types for serialization
* [HHH-19297] - Register json functions in SingleStore community dialect
* [HHH-19283] - Hibernate Gradle Plugin configuration cache support
* [HHH-18613] - @View optional column names
* [HHH-17751] - Support force-increment locking with database-generated version timestamp
* [HHH-17404] - Support reading/writing from/to special source/target in FormatMapper
* [HHH-16548] - allow directory/archive scanning via Configuration API
* [HHH-16283] - Integrate ParameterMarkerStrategy into NativeQuery
** New Feature
* [HHH-19652] - GaussDB locking support
* [HHH-19614] - check constraint to enforce correct nullability in single table mappings
* [HHH-19587] - Easier access to LobHelper
* [HHH-19580] - allow SchemaManager to target a specified schema/catalog
* [HHH-19559] - built-in implementation of schema-based multitenancy, using Connection.setSchema()
* [HHH-19535] - Interceptor and merge()
* [HHH-19493] - criteria support for id() and version() functions
* [HHH-19459] - Locking scope and follow-on
* [HHH-19365] - Add GaussDB dialect support
* [HHH-18708] - HQL string() function
** Remove Feature
* [HHH-17889] - Remove support for database versions that are unsupported by vendors 7.1 edition
** Sub-task
* [HHH-19226] - Remove support for SQL Server versions older than 2014
* [HHH-19225] - Remove support for MariaDB versions older than 10.6
* [HHH-18641] - Remove support for DB2i versions older than 7.2
* [HHH-18639] - Remove support for DB2 versions older than 11.1
* [HHH-18366] - Informix concat pipe operator error
** Task
* [HHH-19639] - Add getter for EmbeddableFetchImpl#nullIndicatorResult
* [HHH-19603] - Update the links to Configurations.adoc in the reference guide
* [HHH-19548] - Upgrade to ByteBuddy 1.17.5
* [HHH-19518] - Make hibernate-maven-plugin configuration parameters non-readonly
* [HHH-19504] - Javadoc error SecondaryRow#owned
* [HHH-19496] - Use Javadoc styles from hibernate-asciidoctor-theme
* [HHH-19309] - Switch to Central Publishing Portal API for publishing to Maven Central
Changes in 7.0.0.Final (May 19, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/33439
** Task
* [HHH-19474] - Release 7.0
Changes in 7.0.0.CR2 (May 14, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/33340
** Bug
* [HHH-19425] - incorrect class literals in Processor-generated code
* [HHH-19389] - use of @Struct on databases without UDTs
* [HHH-19386] - MutationSepectification#getResultType should return null
** Deprecation
* [HHH-19440] - Deprecate exposing of LockOptions
** Improvement
* [HHH-19460] - mis-named <embedded-id/> leads to NPE
* [HHH-19456] - Upgrade to hibernate-models 1.0.0.CR3
* [HHH-19449] - how does client obtain a BindableType
* [HHH-19448] - API/SPI split for BindableType/BindingContext
* [HHH-19447] - org.hibernate.query.procedure
* [HHH-19445] - methods of ProcedureCall accept BasicTypeReference
* [HHH-19444] - [SQLiteDialect] Fix ViolatedConstraintNameExtractor
* [HHH-19442] - ProcedureCall should not extend NameableQuery
* [HHH-19438] - move OutputableType
* [HHH-19428] - Support @ListIndexBase in mapping.xml
* [HHH-19422] - Introduce @CollectionIdJavaClass
* [HHH-19420] - Support batch-size for collections in mapping.xml
* [HHH-19399] - setting to enable logging of SQLExceptions
* [HHH-19397] - LIMIT clause does not work without ORDER BY clause
* [HHH-19324] - Switch tests using hbm.xml to use mapping.xml
* [HHH-19310] - Simplified declaration of type for basic mappings in XML
* [HHH-19299] - <element-collection/> with LIST classification interpreted as BAG
* [HHH-19209] - Verify and fix ID class generation for inner classes
** New Feature
* [HHH-19450] - Have processor generate EnabledFetchProfile for all discovered profiles
Changes in 7.0.0.CR1 (April 24, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/33078
** Bug
* [HHH-19375] - fix check for presence of Quarkus in reactive case
* [HHH-19374] - repositories should always be @Dependent
* [HHH-19345] - EntityManager#remove checks for entity state are too strict
* [HHH-19334] - CCE arising from tuple passed to HQL position() function
* [HHH-19330] - Error in lockstring generation in PostgreSQL
* [HHH-19320] - Assigned id value is not passed into BeforeExecutionGenerator#generate() method when allowAssignedIdentifiers() is true and id has been assigned
* [HHH-19318] - follow-on locking and StatelessSession
* [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-19301] - Must import FQCN when generating metamodel class for inner Jakarta Data repository interface
* [HHH-19291] - Expressions.nullExpresion() in querydsl result in NPE in SqmExpressible with named parameters
* [HHH-19280] - ResourceRegistryStandardImpl#close(java.sql.Statement) is called on already closed statements
* [HHH-19279] - @Basic not implicit optional
* [HHH-19248] - Return of deleted entities doesn't work with naturalid multiloading
* [HHH-19208] - Javadoc of org.hibernate.cfg.QuerySettings.QUERY_PLAN_CACHE_ENABLED mentions that the query plan cache is disabled by default, but it is enabled by default
* [HHH-19207] - JPA OrderBy annotated relation not ordered when using entity graph with criteria api
* [HHH-19059] - Bytecode enhancement fails when inherited fields are mapped using property access in subclass
* [HHH-18991] - Restrictions should use JDBC parameters
* [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
* [HHH-9127] - L2 cache stores stale data when an entity is locked with OPTIMISTIC_FORCE_INCREMENT lock type
** Deprecation
* [HHH-19357] - deprecate hibernate.discard_pc_on_close
** Improvement
* [HHH-19378] - find by multiple ids with EntityGraph
* [HHH-19364] - Introduce QuerySpecification
* [HHH-19358] - Add a "What's New" document for series
* [HHH-19352] - move legacy LimitHandlers to community dialects module
* [HHH-19350] - SessionBuilder exposes SPI types
* [HHH-19349] - rework ImmutableEntityUpdateQueryHandlingMode and immutable_entity_update_query_handling_mode
* [HHH-19340] - Make TypedParameterValue a record
* [HHH-19325] - Upgrade to Jandex 3.3.0
* [HHH-19317] - Mark org.hibernate.boot.models as incubating
* [HHH-19300] - more ConstraintKinds
* [HHH-19286] - Ignoring auto-applied conversions on special mappings
* [HHH-19284] - Extract Duplicated Vector Function Registration Logic
* [HHH-19278] - fixes to logic in MultiIdEntityLoaders
* [HHH-19096] - Adjust `SelectionQuery#setEntityGraph(..)` to accept entity graphs of supertypes
* [HHH-19001] - Map ConstraintType to UNIQUE on ConstraintViolationException
* [HHH-18896] - Use binary_float/binary_double on Oracle for Java float/double
* [HHH-18008] - Ability to clear persistence context for a specific type
* [HHH-17002] - Query plan caching for CriteriaQuery based on query structure
* [HHH-16972] - Reorganize parts of org.hibernate.query.sqm
** New Feature
* [HHH-19327] - overload SF.addNamedQuery() to take TypedQuery and return TypedQueryReference
* [HHH-19319] - StatelessSession.findMultiple() accepting a LockMode
* [HHH-19303] - validate @Id fields against @IdClass in Processor
* [HHH-19298] - add convenience overloads of StatelessSession.get() which default GraphSemantic.LOAD
* [HHH-19296] - overload createSelectionQuery() to accept an EntityGraph instead of a result class
* [HHH-19115] - Implement support for ordered loading by multiple natural-id values
* [HHH-18563] - Add foreign key target tables to affected tables (update query set-clause)
* [HHH-16643] - @NamedFetchGraph annotation
Changes in 7.0.0.Beta5 (March 21, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32581
** Bug
* [HHH-19266] - inconsistencies in ScrollableResults
* [HHH-19259] - Static metamodel for id/timestamp not set (and triggers warnings) for DefaultRevisionEntity and similar
* [HHH-19258] - Remove @Entity annotation from default revision entities contributed internally by Envers
* [HHH-19254] - The return value of st_envelope() is not recognised as a geometry type on MariaDB
* [HHH-19246] - Fetch join makes partially covered EntityGraph ineffective
* [HHH-19232] - BeanValidationEventListener not called if only associated collection is updated via getter
* [HHH-19227] - errors in class OracleSDOFunctionDescriptors
* [HHH-19220] - ClassCastException: class org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer$1 cannot be cast to class java.lang.String
* [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
* [HHH-19173] - PostgreSQLLegacySqlAstTranslator does not implement visitInArrayPredicates
* [HHH-19143] - javadoc for 7 links to JPA 3.1 javadoc instead of 3.2
* [HHH-19140] - Enhanced entities with AccessType.PROPERTY does not work well with inheritance
* [HHH-19134] - Hibernate processor - find by id fails for entity with composite identifier with @IdClass
* [HHH-19126] - Plural valued paths should be collection-typed instead of element typed
* [HHH-19118] - The columnDefinition field of joinColumn does not take effect
* [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-19109] - Hibernate Data Repositories are @RequestScoped
* [HHH-19097] - CoercionException for empty CHAR(1) from MySQL when used with MySQLLegacyDialect
* [HHH-19091] - Nested entity classes not properly handled by jpamodelgen
* [HHH-19005] - High memory usage for JSON string literals in BasicFormatterImpl
* [HHH-18946] - Startup issues with HANA in failover situations
* [HHH-18780] - Performance regression on Postgres with polymorphic query due to incorrect casts of null columns
* [HHH-17151] - NPE when binding null parameter in native query with explicit TemporalType
* [HHH-11801] - AbstractPersistentCollection.SetProxy does not implement equals()
** Deprecation
* [HHH-19274] - Deprecate MetadataBuilder#applyIndexView and friends
* [HHH-19265] - deprecate hibernate.jdbc.use_scrollable_resultset
* [HHH-19253] - deprecate use of lifecycle callbacks on embeddables
* [HHH-19063] - Drop forms of SchemaNameResolver performing reflection
** Improvement
* [HHH-19271] - support HINT_FETCH_PROFILE in SelectionQuery
* [HHH-19260] - Move feature supports methods from the SqlAstTranslator base impl to Dialect
* [HHH-19252] - overriding @Id generation declared by @MappedSuperclass
* [HHH-19223] - Upgrade JBoss Logging Tools (processor) to 3.0.4.Final
* [HHH-19219] - Informix Catalog and schema support
* [HHH-19210] - Propagate exceptions from building a ValidatorFactory
* [HHH-19205] - Do not recreate the validator on each BeanValidationEventListener#validate call
* [HHH-19196] - Upgrade to JUnit 5.12.0
* [HHH-19145] - Relicense Hibernate ORM under ASL
* [HHH-19142] - StatelessSession.findMultiple() and second-level cache
* [HHH-19089] - Lower collection pre-sizing limit to avoid excessive memory usage
* [HHH-18724] - Support Hibernate Validator @ConstraintComposition(OR) for 'not null' DDL generation
* [HHH-18723] - Support @SQLRestriction in class marked as @MappedSuperclass
* [HHH-18482] - Provide access to a mutable ClassDetailsRegistry from the Integrator
* [HHH-17325] - @SoftDelete with timestamp
* [HHH-15271] - Don't initialize lazy associations via merge
* [HHH-4396] - Ability to patternize embedded column names
** New Feature
* [HHH-19237] - Expand graph language to optionally specify entity
* [HHH-19217] - Expose GraphParser#parse on SessionFactory
* [HHH-19216] - NamedEntityGraph annotation supporting Hibernate parseable format
Changes in 7.0.0.Beta4 (February 12, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32482
** Bug
* [HHH-19107] - Entities with @EmbeddedId not supported with CrudRepository
* [HHH-19106] - @Transaction(TxType) not working with Hibernate Data Repositories
* [HHH-19104] - Envers is keeping references to classes and thus classloaders
* [HHH-19079] - ComponentType.replace can cause ArrayIndexOutOfBoundsException when used with embeddable inheritance
* [HHH-19072] - The hibernate.session_factory_name configuration property no longer works in Hibernate 7.0.0
* [HHH-19069] - Performance regression for wide inheritance models
* [HHH-19034] - Wrong reuse of a Join
* [HHH-19033] - Move of Derby to community dialects is incomplete
* [HHH-19017] - Class Cast Exception for PersistentAttributeInterceptable
* [HHH-19011] - @ElementCollection comment overrides class level comment on an Entity
* [HHH-19004] - TenantId regression on @EmbeddedId 6.6.0 -> 6.6.1
* [HHH-18992] - Locking does not work with multiLoad
* [HHH-18988] - Embeddable inheritance + default_schema results in NPE at startup
* [HHH-18974] - UuidVersion6Strategy/UuidVersion7Strategy use random seed in static init + constructor
* [HHH-18968] - MySQLDialect wrongly uses Timestamp as type for localtime function
* [HHH-18961] - JtaIsolationDelegate, obtaining connection : NPE when SQLExceptionConversionDelegate#convert returns null
* [HHH-18949] - Hibernate Processor should not insert underscores within uppercase names
* [HHH-18945] - Hibernate Processor - fails if entity extends mapped superclass with same simple class name
* [HHH-18933] - the ordering of the class declaration in persistence.xml seems to affect the metamodel
* [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-18901] - AnnotationFormatError: Duplicate annotation for class: interface org.hibernate.bytecode.enhance.spi.EnhancementInfo
* [HHH-18894] - Hibernate 6.6 enum literal is considered field literal instead
* [HHH-18893] - DialectOverrides.SQLRestrictions
* [HHH-18883] - When initializing version attribute to a negative value then a TransientObjectException is thrown when loading an entity
* [HHH-18869] - Schema validation fails with MariaDB when entity field is of type BigDecimal[]
* [HHH-18868] - Wrong behaviour of getAttribute method in impl. of ManagedType when scattered id attributes are used in MappedSuperclass
* [HHH-18867] - beginTransaction() when a tx is already active
* [HHH-18858] - array fields and static metamodel
* [HHH-18819] - Error resolving persistent property of @MapperSuperclass if subtype @Embeddable used as @IdClass
* [HHH-18771] - ListInitializer should consistently consider @ListIndexBase
* [HHH-18750] - @OneToMany with @Any mapped in secondary table KO (ClassCastException)
* [HHH-18693] - Hibernate Processor does not handle inner @Embeddable types
* [HHH-18384] - @JoinColumnsOrFormulas broken
* [HHH-17652] - Cannot invoke "org.hibernate.envers.internal.entities.EntityConfiguration.getRelationDescription(String)" because "entCfg" is null
* [HHH-16883] - EntityGraph.addSubclassSubgraph() throws UnsupportedOperationException
* [HHH-16516] - Adding quoteOnNonIdentifierChar flag to org.hibernate.boot.model.naming.Identifier breaks backwards compatibility
* [HHH-16216] - SybaseASEDialect creates additional not null checks
* [HHH-15848] - session.isDirty() shouldn't throw exception for transient many-to-one object in a session
* [HHH-14725] - Using a InputStream with BlobProxy and Envers results in java.sql.SQLException: could not reset reader
* [HHH-14519] - Misleading error message when unable to resolve table name
* [HHH-13969] - Fix handling of large varbinary for SAP/Sybase ASE
* [HHH-13915] - Shared state in ByteBuddy basic proxies leads to intermittently broken persistence
* [HHH-13815] - TransientObjectException after merging a bidirectional one-to-many with orphan deletion
* [HHH-13790] - Temporary session not being closed
* [HHH-13612] - Quoted table name in FROM clause and Column in @Formula gets wrongly qualified with generated alias
* [HHH-13377] - Lazy loaded properties of bytecode enhanced entity are left stale after refresh of entity
* [HHH-13243] - Setting @ManyToAny.fetch to FetchType.EAGER doesn't work
Changes in 7.0.0.Beta3 (December 05, 2024)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32364
** Bug
* [HHH-18912] - Fix ORM release process
* [HHH-18881] - In MySQL, array of dates are not converted correctly
* [HHH-18872] - ConcreteProxy type not restored from 2LC when loading a ManyToOne
* [HHH-18862] - Group by error due to subselect using foreign key reference instead of primary key in HQL query
* [HHH-18859] - slice operator and @ElementCollection
* [HHH-18851] - ArrayContainsArgumentTypeResolver wrongly infers array type for needle argument
* [HHH-18850] - createCountQuery with Hibernate 6.6.2
* [HHH-18848] - JAR for org.hibernate.orm:hibernate-scan-jandex:7.0.0.Beta2 at Maven Central
* [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-18830] - extraneous SQL UPDATE statements for unowned collection with @OrderColumn
* [HHH-18826] - mappedBy validation in Processor
* [HHH-18765] - Error in the booleanarray_to_string auxiliary function
* [HHH-18709] - CriteriaUpdate involving JSON field containing Map<String, Object> results in SemanticException
* [HHH-18705] - Hibernate processor creates bad TypedReferenceQuery when @Entity have name attribute
* [HHH-18692] - Hibernate attempts to close batched statements multiple times
* [HHH-18629] - Inconsistent column alias generated while result class is used for placeholder
* [HHH-18610] - "SQLGrammarException: Unable to find column position by name:" when using Single Table Inheritance with a strict JDBC driver such as PostgreSQL
* [HHH-18583] - Joined + discriminator inheritance treat in where clause not restricting to subtype
* [HHH-18274] - Problems with generics in queries; proposed partial solution
* [HHH-18069] - NullPointerException when unioning partition results
* [HHH-17838] - @OneToOne relationship + @Embeddable keys + FetchType.LAZY fail in most recent version
* [HHH-16054] - JPA / Hibernate, duplicate pkey error when updating entity that is a subclass of a base class that uses IdClass for composite primary key
* [HHH-14119] - IN clause parameter padding not working for criteria query in conjunction with LiteralHandlingMode.BIND
** Improvement
* [HHH-18875] - Stop using `Array.newInstance` in `org.hibernate.internal.util.collections.StandardStack`
* [HHH-18861] - Improve GitHub release announcement body for automated releases
* [HHH-18847] - Organize the org.hibernate.query.results package
* [HHH-18844] - Run preVerifyRelease task as part of h2 CI job
* [HHH-18841] - Make `_identifierMapper` property added for a IdClass synthetic
* [HHH-18840] - detect and report incorrect usage of @OrderColumn, @MapKeyColumn, and @MapKey
* [HHH-18683] - The method Metamodel#entity(String) should throw IllegalArgumentException for non-entities
* [HHH-18534] - Remove the org.hibernate.boot.models.categorize package
* [HHH-17246] - Guard against Sybase being configured for truncating trailing zeros.
* [HHH-16160] - XML aggregate support for more databases
* [HHH-14020] - Allow Hibernate Types to have access to ServiceRegistry during initialization
* [HHH-7913] - Catalog and schema replacement in <subselect> / @Subselect
** New Feature
* [HHH-18644] - New and improved hibernate-maven-plugin
** Remove Feature
* [HHH-18843] - remove deprecated @OrderBy annotation
** Sub-task
* [HHH-18804] - Add XML aggregate support for HANA
* [HHH-18803] - Add XML aggregate support for DB2
* [HHH-18802] - Add XML aggregate support for SQL Server
* [HHH-18801] - Add XML aggregate support for Sybase ASE
* [HHH-18800] - Add XML aggregate support for PostgreSQL
* [HHH-18799] - Add XML aggregate support for Oracle
** Task
* [HHH-18906] - Allow specifying UnsupportedEnhancementStrategy for Hibernate testing
* [HHH-18866] - Fix more failing tests on CockroachDB
* [HHH-18854] - Changes for Hibernate Reactive 3.0 integration
* [HHH-18678] - Use specific tasks for CI builds
Changes in 7.0.0.Beta2 (November 13, 2024)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32358
** Bug
* [HHH-18816] - Error when rendering the fk-side of an association in an exists subquery
* [HHH-18808] - HqlParser.g4 outputs wrong token for `nakedIdentifier` and `identifier` when keyword is used
* [HHH-18807] - a bug in HqlLexer.g4
* [HHH-18806] - handling of nationalized strings on Sybase / jTDS
* [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-18738] - Schema of database sequence is not configured if xml mapping is used
* [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-18712] - Warning about attempts to update an immutable entity for normal (not immutable) entity
* [HHH-18703] - JoinedSubclassEntityPersister#getTableNameForColumn KO
* [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-18689] - 'FULL' query cache sometimes incomplete
* [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-18671] - Fix setting name (spelling)
* [HHH-18669] - NullPointerException in the AgroalConnectionProvider
* [HHH-18667] - Annotation processor leaks - OOME when used in Eclipse IDE
* [HHH-18662] - Attribute not mentioned in orm.xml ends up not being mapped in Hibernate ORM 7
* [HHH-18658] - Inner join prevents finding an entity instance referencing an empty map
* [HHH-18647] - SemanticException when using createCriteriaInsertValues to insert into foreign key column
* [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-18626] - @Id annotation in @Embeddable class results in AssertionFailure
* [HHH-18617] - Fetching unowned side of bidirectional OneToOne mappings including tenant identifier triggers EntityFilteredException
* [HHH-18608] - NPE in EntityInitializerImpl.resolveInstanceSubInitializers
* [HHH-18596] - ValueHandlingMode hack in query pagination
* [HHH-18585] - exposure of internal types via Dialect
* [HHH-18582] - Mapping array of arrays with @JdbcTypeCode(SqlTypes.ARRAY) causes NPE
* [HHH-18581] - Performance degradation from Hibernate 5 to 6 on NativeQuery
* [HHH-18575] - IN predicate with numeric/decimal parameter types leads to Binding is multi-valued; illegal call to #getBindValue
* [HHH-18571] - Entities and collections with batch size 1 are treated as batchable
* [HHH-18570] - Invalid SQL when filter contains identifier named date
* [HHH-18565] - Bytecode enhancement, assertion error on reloading *toOne entities
* [HHH-18564] - Literal expressions using AttributeConverters stopped working in hibernate 6
* [HHH-18561] - Informix primary key constraint syntax error
* [HHH-18560] - DB2iDialect executes incompatible query in combination with @AuditJoinTable mapping
* [HHH-18558] - Informix UUID type support
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