-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Expand file tree
/
Copy pathchangelog.txt
More file actions
1001 lines (813 loc) · 58.5 KB
/
changelog.txt
File metadata and controls
1001 lines (813 loc) · 58.5 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.1.20.Final (March 22, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/38219
** Bug
* HHH-20266 Some unnesting array functions miss ordering on index on aggregation
* HHH-20231 Errors when querying 2L-cached native queries with same SQL but different result type
* HHH-19818 NPE with stateless insert when Envers is enabled
** Task
* HHH-20232 Update c3p0 to 0.12.0
Changes in 7.1.19.Final (March 15, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/38117
** 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-9499 MappingException when JOINED Inheritance and bidirectional references
Changes in 7.1.18.Final (March 01, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/37979
** Bug
* HHH-20176 Native Query cache causing ArrayIndexOutOfBoundsException with extra columns
* HHH-19917 Bytecode-enhanced dirty tracking fails for mixed access properties
Changes in 7.1.17.Final (February 22, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/37808
** Bug
* HHH-20187 NPE in BeanValidationEventListener with StatelessSession
* HHH-20162 MySQL timeout based on innodb_lock_timeout has incorrect units
Changes in 7.1.16.Final (February 08, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/37570
** Bug
* HHH-20119 Values return by Enum Converter are not escaped in CREATE TABLE query
* HHH-20065 Subsequent StatelessSession#insertMultiple calls lead to pending batches
Changes in 7.1.15.Final (February 01, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/37107
** Bug
* HHH-20118 Vector operator SQL templates miss parenthesis around
* HHH-20113 Round function broken in PostgreSQL for parameter expressions
* HHH-20069 `DB2iDialect.rowId` causes an error in merge queries
* HHH-20048 ByteArrayJavaType#isInstance wrongly considers byte[] instead of Byte[] to be an instance
* HHH-20041 DB2 for z IN tuple list predicate performs badly
* HHH-20032 SubSequence.subSequence violates CharSequence contract for start == end == length()
* HHH-20015 Hibernate Maven Plugin 7.x does not include maven project dependencies in the enhancement classpath
* HHH-19929 DB2iDialect problem with supportsRowValueConstructorSyntaxInInSubQuery
* HHH-19192 Bulk delete of owner with soft-delete element-collection physically deletes the collection rows
* HHH-19075 SqmFunction.appendHqlString(…) fails with IndexOutOfBoundsException for trim rendering
* HHH-18835 AssertionError when executing insert-select
** Improvement
* HHH-19977 Relax scopes of methods to allow HIbernate Reactive to execute a flush during query preparation
** Task
* HHH-20071 Exclude Guava from the Hibernate maven plugin dependencies
Changes in 7.1.14.Final (January 04, 2026)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/37039
** Bug
* HHH-20027 Fix failing parsing of PostgreSQL canonical lock_timeout formats (0, ms, s, min, h)
Changes in 7.1.13.Final (December 21, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/36906
** Bug
* HHH-20008 Bad performance of MEMBER OF translation
* HHH-19985 Subquery embedded value selection uses wrong nested attribute type for extraction
* HHH-19962 Wrong Values used with Subquery and same name Attributes
* HHH-19935 UuidVersion7Strategy can generate cosecutive UUIDs that are equal
Changes in 7.1.12.Final (December 14, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/36674
** Bug
* HHH-19972 OptionalTableUpdateOperation can fail on PostgreSQL < 15 and CockroachDB
* 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
* 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
Changes in 7.1.11.Final (December 01, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/36344
** Bug
* 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-14082 Hibernate cannot determine it's core version in modular configuration
** Improvement
* HHH-19953 Relax scopes of methods in EntityInitializerImpl (for Hibernate Reactive)
Changes in 7.1.10.Final (November 23, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/36278
** Bug
* HHH-19038 Hibernate.get does not work on detached entities
* HHH-16991 EnhancedUserType cannot be used when defining relations
Changes in 7.1.9.Final (November 20, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/36079
** 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-19908 'this' implicit alias should be case-insensitive
* HHH-19905 Implicit join re-use with nested inner and left joins causes ParsingException
* HHH-19857 When one of the lazy attributes is `null` the other ones may not get initialized correctly
* HHH-19805 PersistentCollection may get uninitialized entity injected
** Task
* HHH-19940 Include maven plugin in the release staging directory
Changes in 7.1.8.Final (November 16, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35981
** Bug
* HHH-19932 NullPointerException in SqmInterpretationsKey::toString
* HHH-19918 Avoid reflection when instantiating known FormatMapper
* HHH-19914 JPA_COMPLIANCE setting ignored in @Jpa
* HHH-19906 JsonGeneratingVisitor#visit doesn't handle plural types correctly
* 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-18860 Updates on SecondaryTable cause incorrect cast for BigDecimal
7.1.7.Final (November 06, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35881
** Bug
* HHH-19887 Wrong ClassLoader used for Jackson Module discovery
* HHH-19868 RowTransformerConstructorImpl throws NullPointerException when TupleMetadata is null
* HHH-18691 Envers cannot read revisions with records
** Improvement
* HHH-19913 Update the order of release steps and simplify the ORM build script
Note: Please refer to JIRA to learn more about each issue.
Changes in 7.1.6.Final (November 02, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35783
** Bug
* [HHH-19883] - JOIN TREAT ignores predicates
Changes in 7.1.5.Final (October 27, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35716
** Bug
* [HHH-19888] - FetchPlusOffsetParameterBinder fails to apply static offset for root pagination
* [HHH-19872] - CriteriaUpdate error updating generic field in @MappedSuperclass
* [HHH-19862] - Can't update converted column throught CriteriaUpdate#set( SingularAttribute<? super T, Y> attribute, X value);
* [HHH-19813] - Incorrect default values for 'enableDirtyTracking' and 'enableLazyInitialization' in hibernate-maven-plugin
** 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
** Task
* [HHH-19889] - Mention third-party dialects throughout the documentation
* [HHH-19869] - Regroup all dialect information under a single guide
Changes in 7.1.4.Final (October 12, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35519
** Bug
* [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-19759] - joining a map key of basic type
* [HHH-19723] - Hibernate-testing depends on outdated Jakarta libraries, leading to compilation issues for Jakarta Data repositories
* [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-19393] - Hibernate Envers can not handle ID class if it is implemented as Java record
* [HHH-19085] - NPE when using null value in CriteriaUpdate
** Improvement
* [HHH-19767] - Include license file in the META-INF of published artifacts
Changes in 7.1.3.Final (October 05, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35421
** Improvement
* [HHH-19825] - Add methods and change method access for Hibernate Reactive
* [HHH-19717] - CockroachDB supports insert and update returning clause
** Task
* [HHH-19800] - Migrate to release scripts for documentation publishing
** Bug
* [HHH-18885] - ClassCastException with queued persist in an extra lazy Map
* [HHH-19781] - Subsequent uses of Criteria SelectionSpecification lead to duplicated specifications
Changes in 7.1.2.Final (September 29, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/35322
** Bug
* [HHH-19792] - Wrong query generated when an EmbeddedId is used in a WHERE clause using the IN operator and NativeParameterMarkerStrategy
* [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-19713] - Hibernate creates invalid SQLServer query when using pagination with Jakarta Data
* [HHH-19681] - AssertionError on extract results from array containing jsonb values
Changes in 7.1.1.Final (September 14, 2025)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/34792
** Bug
* [HHH-19756] - Invalid SQL generated when using treat() with joined = discriminator inheritance and same attribute names
* [HHH-19753] - SelfRenderingSqmFunction equals/hashCode implementation not consistent with literals
* [HHH-19750] - org.hibernate.sql.exec.ExecutionException when running CriteriaUpdate with specific attribute/parameter configuration
* [HHH-19747] - Hibernate Envers can not handle @EnumeratedValue annotation
* [HHH-19745] - Equals implementation for SqmPath affects previous identity sensitive checks
* [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-19732] - @OnDelete on owning collection reset when mapping bidirectional
* [HHH-19729] - Column check constraint not correctly hoisted to table level
* [HHH-19721] - Jakarta Data is missing from hibernate-platform (BOM)
* [HHH-19719] - org.hibernate.query.sqm.function.SelfRenderingSqmWindowFunction#appendHqlString throws IndexOutOfBoundsException when has no arguments
* [HHH-19716] - Collection event listeners may be missing collection owners in the persistent collection (PersistentCollection#getOwner==null)
* [HHH-19712] - Column deduplication leads to wrong alias calculation for native query alias expansion
* [HHH-19707] - Include value column name in TableStructure InitCommand
* [HHH-19703] - NativeQueryImpl#addScalar(String, Class) fails when no JavaType is registered
* [HHH-19699] - String JSON document writer code only runs with assertions
* [HHH-19695] - Invalid SQL generated for FETCH FIRST/NEXT clause
* [HHH-19688] - @IdClass is ignored for classes that have a single id field
* [HHH-19687] - Criteria query with lazy @OneToOne and @EmbeddedId throws exception
* [HHH-19648] - Recursive @Embeddable mapping leads to stack overflow
* [HHH-19605] - Session.isDirty might return true when batch fetching entity with CacheConcurrencyStrategy.READ_WRITE
* [HHH-19589] - @Converter does not take precedence over @TypeRegistration
* [HHH-19453] - sequence support not working on db2 As400 7.3
* [HHH-19326] - Jakarta Data CrudRepository is generated without Types in UpdateAll, InsertAll and SaveAll Methods
* [HHH-19201] - BlobProxy with InputStream reads whole stream into a byte array
* [HHH-18686] - org.hibernate.tool.hbm2ddl.SchemaExport does not call orderColumns
* [HHH-17522] - Support correlation of CTEs
** Improvement
* [HHH-19701] - MariaDB: "drop sequence" should add "if exists"
* [HHH-19697] - Use case-insensitive Dialect query pattern matching
* [HHH-19696] - Do not iterate over validated path in the TraversableResolver unless necessary
** Task
* [HHH-19692] - Drop org.hibernate.boot.jaxb.spi.XmlSource
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
Changes in 7.0.0.Alpha2 (May 03, 2024)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32280
** Bug
* [HHH-18053] - duration arithmetic with fractional seconds
* [HHH-18049] - Handle <exclude-default-listeners/> and <exclude-superclass-listeners/>
* [HHH-18042] - ConstructorResults defined in XML are not applied
* [HHH-18041] - With SharedCacheMode.DISABLE_SELECTIVE entities with cacheable false should not be cached
* [HHH-18039] - EntityListeners defined in XML should replace those from annotations, not add to
* [HHH-18038] - Fall back to persistence-unit name as SessionFactory name
* [HHH-18036] - Retrieving java.sql.Date from Oracle contains unwanted milliseconds
* [HHH-18028] - TCK test failure with attribute converter and Embeddable
* [HHH-18018] - Derby implementation for 'right' function wrongly passes parameter to 'length'
** Improvement
* [HHH-18048] - Split notions of SessionFactory name and SessionFactory JNDI name
* [HHH-18005] - Remove AnnotationDescriptor#createUsage method calls that rely on lambdas for configuration
* [HHH-18003] - Create a PersistenceUnitDescriptor wrapper around JPA 3.2 PersistenceConfiguration
* [HHH-18000] - Remove XmlProcessingHelper methods for creating AnnotationUsage instances
** New Feature
* [HHH-18025] - RefreshOptions & LockOptions for Hibernate 7
* [HHH-18001] - FindOptions for Hibernate 7
** Task
* [HHH-18043] - Change SQL Server default timestamp precision to 7
* [HHH-18035] - Change Oracle default timestamp precision to 9
* [HHH-17982] - Setup JPA 3.2 TCK testing automation for ORM 7
Changes in 7.0.0.Alpha1 (April 16, 2024)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32214
** Deprecation
* [HHH-17441] - Deprecate @Comment
** New Feature
* [HHH-17460] - Ongoing JPA 3.2 work
* [HHH-17459] - Allow resolution callbacks on select o.h.mapping objects
** Remove Feature
* [HHH-17961] - Drop support for hibernate.mapping.precedence
* [HHH-17894] - Remove AdditionalJaxbMappingProducer
* [HHH-17893] - Remove MetadataContributor
* [HHH-17892] - Remove @Persister
** Task