-
Notifications
You must be signed in to change notification settings - Fork 3.5k
/
changelog.txt
3397 lines (2912 loc) · 228 KB
/
changelog.txt
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 5 Changelog
=======================
Note: Please refer to JIRA to learn more about each issue.
Changes in 5.6.6.Final (March 15, 2022)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32031
** Bug
* [HHH-15115] - Deleting an entity with Joined inheritance and default schema set is throwing and error
* [HHH-15113] - Exception setting ParameterExpressions on Update Queries
* [HHH-15105] - Getting the CacheRegionStatistics before executing a query leads to a NPE later on
* [HHH-15097] - Hibernate fails to detect SQL type for AttributeConverter to UUID
* [HHH-15084] - JpaCompliantLifecycleStrategy uses deprecated BeanManager method that's gone in CDI 4.0
* [HHH-15082] - JDBC Statement leaks after exceptions other than SQLException during insert/update/...
* [HHH-15069] - Backwards-incompatible changes in SequenceStyleGenerator (and others) following default_schema changes
* [HHH-15060] - Fix handling of associations with @NotFound
* [HHH-15051] - Association with id class misses property mapping for target FK attributes
* [HHH-14932] - Spatial support for PostgreSQL 10+ uses invalid WKB dialect
* [HHH-14817] - hibernate-core-jakarta source jar does not contain source
** Improvement
* [HHH-15106] - fk() SQM function
* [HHH-15094] - Handle http://hibernate.org and https://* for all DTDs in LocalXmlResourceResolver
** Task
* [HHH-15119] - Upgrade to ByteBuddy 1.12.8
* [HHH-14996] - Upgrade to JBoss Logging Processor (and matching Annotations) 2.2.1.Final
Changes in 5.6.5.Final (January 25, 2022)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32029
** Bug
* [HHH-15044] - Revert HHH-14826 fix because the provided test was wrong
* [HHH-15041] - H2Dialect does not work properly with h2 2.0.202 due to new DDL type requirements
* [HHH-15014] - H2Dialect does not work properly with h2 2.0.202 on sub selects with tuples
* [HHH-15009] - H2Dialect does not work properly with h2 2.0.202 and updating schema
* [HHH-14985] - H2Dialect does not work properly with h2 2.0.202 on inserts
Changes in 5.6.4.Final (January 19, 2022)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32012
** Bug
* [HHH-15032] - Fix backwards incompatible SPI change that happened in 5.6.2 due to introducing SqlStringGenerationContext
* [HHH-15022] - Bug After Upgrade Hibernate from 5.6.1.Final to 5.6.3.Final
* [HHH-15002] - H2Dialect does not work properly with h2 2.0.202 and booleans types
** Task
* [HHH-15036] - Disable DefaultCatalogAndSchemaTest when testing against MariaDB < 10.3
* [HHH-15033] - Restrict JNDI lookups to "java" scheme
* [HHH-15031] - Upgrade to ByteBuddy 1.12.7
* [HHH-15028] - Upgrade to JBoss Logging 3.4.3.Final
* [HHH-15026] - Upgrade to Log4J 2.17.1
* [HHH-15024] - Upgrade to Jandex 2.4.2.Final
* [HHH-15018] - OracleTypesHelper shouldn't log stacktraces when the Oracle JDBC driver isn't loadable
* [HHH-14998] - Upgrade to GraalVM 21.3.0
* [HHH-14988] - Upgrade to ByteBuddy 1.12.5
* [HHH-14987] - Upgrade to Log4j 2.17.0
Changes in 5.6.3.Final (December 15, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32006
** Bug
* [HHH-14972] - log4j2 <= 2.14.1 has an RCE (CVE-2021-44228)
* [HHH-14948] - Metamodel imports cache increases indefinitely for dynamically generated HQL aliases eventually leading to an OOM
* [HHH-14935] - Type annotation is deprecated without an available replacement
** Task
* [HHH-14979] - Upgrade to Log4J 2 2.16.0
Changes in 5.6.2.Final (December 08, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/32001
** Bug
* [HHH-14956] - Invalid link to MetadataBuilderContributor javadocs in Configurations docs
* [HHH-14937] - SybaseDialect does not support schema anymore
* [HHH-14936] - JdbcConnectionContext in hibernate-testing throws NPE when user/password are not provided in configuration
* [HHH-14935] - Type annotation is deprecated without an available replacement
* [HHH-14927] - "Current" documentation is 5.5 instead of 5.6
* [HHH-14926] - fix asciidoc error in 'test-case-guide.adoc'
* [HHH-14922] - Inconsistent precedence of orm.xml implicit catalog/schema over "default_catalog"/"default_schema"
* [HHH-14918] - Key-to-one to id-class entity with key-to-one doesn't work anymore
* [HHH-14916] - JPA Critera query Join on Fetch not working
* [HHH-14540] - Interceptor instance is shared between ORM session and Enver's temporary session resulting in multiple calls.
* [HHH-14211] - @Lob String mapping broken
** Improvement
* [HHH-14921] - Definition of the default catalog/schema on session factory creation
* [HHH-14903] - Method getConfiguredJdbcBatchSize can be optimised for StatelessSession as well
* [HHH-14897] - Allow ordering with nulls first/last from JPA implementation
** Task
* [HHH-14938] - Upgrade to MySQL Connector/J 8.0.27
Changes in 5.6.1.Final (October 27, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31993
** Bug
* [HHH-14899] - Dialect no longer controlling the default jdbc batch size to use
* [HHH-14891] - JTS package not updated in "spatial basic types table" in user guide
* [HHH-14881] - Converters defined through orm.xml are never retrieved from the CDI context
* [HHH-14880] - <converter class="..."> in orm.xml ignores the <package> element
* [HHH-14816] - Can not set lock mode with QueryHint due to type case problem
* [HHH-13766] - Attribute with AttributeConverter not updated when inline dirty checking is enabled
** Improvement
* [HHH-14901] - Introduce a new BatchBuilder implementation, suitable for immutable code deployments
* [HHH-14883] - Fix an AsciiDoc rendering error in 'spatial' user guide
* [HHH-14882] - Minor implementation optimisations in internal StandardStack
* [HHH-14869] - Extract JPA listener definitions when building metadata rather than when creating the SessionFactory
** Task
* [HHH-14900] - Minor code cleanup in BatchBuilderImpl
Changes in 5.6.0.Final (October 11, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31985
** Bug
* [HHH-13295] - @EmbeddedId + @MapsId targeting a derived entity giving an error on bootstraping
** Deprecation
* [HHH-14857] - Some more APIs marked as deprecated in preparation for v. 6
** Improvement
* [HHH-14868] - Upgrade to ByteBuddy 1.11.20
Changes in 5.6.0.CR1 (September 29, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31986
** Bug
* [HHH-14852] - Upgrade GraalVM to version 21.2.0
** Deprecation
* [HHH-14847] - Deprecate JMX integration
* [HHH-14845] - Deprecate JACC integration
** Task
* [HHH-14835] - More changes to support SchemaMigrator/SchemaValidator using Hibernate Reactive
Changes in 5.6.0.Beta2 (September 20, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31980
** Bug
* [HHH-14828] - Bytecode enhancement generates invalid bytecode for final fields
* [HHH-14827] - @AttributeOverride at type level does not work when also using orm.xml
* [HHH-14826] - Regression: OneToOne fields are always null if parent is loaded from L2 cache
* [HHH-14811] - org.hibernate.AssertionFailure thrown instead of LazyInitializationException when trying to access a lazy property on a deleted entity
* [HHH-14796] - Cannot replace an existing JPQL NamedQuery with a native NamedQuery
* [HHH-14757] - Cannot save (dirty check failed) single element GeometryCollection
* [HHH-14413] - EntityUpdateAction increments version despite veto on update
* [HHH-13661] - Postgresql query timeout not translated to org.hibernate.QueryTimeoutException
** Improvement
* [HHH-13999] - Add dialect for SQL Server 2016
* [HHH-5249] - Component.java MappingException needs more detail
** Sub-task
* [HHH-4369] - Support @Comment or column attribute on @Table and @Column
** Task
* [HHH-14833] - Upgrade to Byte Buddy 1.11.16
* [HHH-14813] - Update DB2 dialect with bind parameters limit
* [HHH-14812] - Upgrade integration tests to use Oracle JDBC driver v 21.3.0.0
* [HHH-14794] - More changes to support SchemaMigrator/SchemaValidator using Hibernate Reactive
* [HHH-14633] - Upgrade to latest geolatte-geom version 1.8.2
Changes in 5.6.0.Beta1 (August 27, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31974
** Task
* [HHH-14792] - Remove support for bytecode enhancement via Javassist
* [HHH-14744] - Refactor contextual information for SchemaManagementTool to be more easily extended by Hibernate Reactive
Changes in 5.5.7.Final (August 25, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31970
** Bug
* [HHH-14760] - Close resource - potential resource leak
** Improvement
* [HHH-14777] - Support LockOptions.SKIP_LOCKED for MariaDB 10.6+
* [HHH-14625] - Avoid performing a ServiceRegistryLookup in JtaTransactionCoordinatorImpl constructor
** Task
* [HHH-14788] - Upgrade to Byteman 4.0.16
* [HHH-14776] - Optimize Loader instantiate when EntityPersister is known
* [HHH-14773] - JdbcCoordinatorImpl micro improvement: unguarded tracev parameters should be constant
* [HHH-14771] - Upgrade to Byte Buddy 1.11.12
Changes in 5.5.6.Final (August 04, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31968
** Bug
* [HHH-14768] - hibernate-jpamodelgen fails to generate metamodel for recursive type variable definition
Changes in 5.5.5.Final (July 29, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31963
** Bug
* [HHH-14740] - HHH-14740 Still need the nullcheck removed in HHH-14727
* [HHH-14724] - Metamodel generates invalid model classes for converters and user types
** Improvement
* [HHH-14755] - Allow to instantiate a DefaultIdentifierGeneratorFactory which does not bind to the BeanManager
** Task
* [HHH-10661] - Method serialize() in StatefulPersistenceContext has duplicate code
Changes in 5.5.4.Final (July 19, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31959
** Bug
* [HHH-14730] - Failure during lazy loading of bytecode-enhancement proxy triggered by the loading of a collection with eager references to that proxy
* [HHH-14722] - InformationExtractorJdbcDatabaseMetaDataImpl#getCurrentSchema() method returns currentCatalog if schema == null
* [HHH-14720] - Aliases generated for mixed-case column names that end in a number are not all lower-case
* [HHH-14719] - Hibernate has a dependency on apache-derby:10.11.1.1 that is vulnerable to CVE-2015-1832 with a CVSS of 9.1 and CVE-2018-1313 with a CVSS of 5.3
* [HHH-14715] - Hibernate has a dependency to maven-core:3.0.5 that is vulnerable to CVE-2021-26291 with a CVSS of 9.1
* [HHH-14608] - Merge causes StackOverflow when JPA proxy compliance is enabled
** Improvement
* [HHH-14734] - No good reason tu use TypeCache(s) with WithInlineExpunction in ByteBuddy proxy generation
* [HHH-14733] - Not useful to clear the bycodeprovider caches on sessionFactoryClosing
* [HHH-14732] - ProxyDefinitionHelpers are immutable and can be declared static
* [HHH-14731] - Simplify SPI ProxyFactoryFactory#buildBasicProxyFactory to accept a single class or interface only
* [HHH-14728] - Include CamelCaseToUnderscoresNamingStrategy from Spring Boot
* [HHH-14727] - Minor code cleanup in StandardSQLExceptionConverter
* [HHH-14706] - Improve error message on incompatible types due to mismatched classloader
* [HHH-14688] - Get IdentifierGenerator from BeanContainer if not registered
** Task
* [HHH-14709] - Upgrade to Gradle 6.7.1 and move to Gradle's built-in way of testing Java modules
* [HHH-14707] - Upgrade to Byte Buddy 1.11.8
Changes in 5.5.3.Final (June 22, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31957
** Bug
* [HHH-14654] - geolatte-geom Geometry types no longer works with geography column types
* [HHH-14597] - Regression bug: could not resolve property: null of:
* [HHH-13788] - Schema update try to recreate existing tables
* [HHH-4808] - SessionImpl.initializeCollection() does not release JDBC connection (if outside of a transaction)
** Improvement
* [HHH-14691] - Small optimisation for updating Query Cache Statistics
* [HHH-14690] - Avoid fully resetting StatisticsImpl just after its constructor
** New Feature
* [HHH-11817] - Allow schema-export commands written to file to truncate in addition to current appending
Changes in 5.5.2.Final (June 14, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31957
** Bug
* [HHH-14609] - Fetch join association within fetched element collection fails
* [HHH-14608] - Merge causes StackOverflow when JPA proxy compliance is enabled
** Task
* [HHH-14599] - Upgrade to Gradle 7 in support of Java 17
Changes in 5.5.0.Final (June 01, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31946
** Bug
* [HHH-14139] - BasicBinder Trace Logging Causes Duplicated Message
** Improvement
* [HHH-14632] - Call statistics.queryPlanCacheHit and statistics.queryPlanCacheMiss for FilterQueryPlan and NativeSQLQueryPlan
* [HHH-14624] - Oracle from version 12 started supporting the `offset ? rows fetch next ? rows only`syntax for pagination
* [HHH-14240] - Stop generating fragments of SQL as uppercase
** Task
* [HHH-14635] - Upgrade to latest JUnit and to Log4j 2
Changes in 5.5.0.CR1 (May 24, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31942
** Bug
* [HHH-14620] - Retrieving a collection from an entity triggers collection initialization (with extended bytecode enhancement enabled)
* [HHH-14619] - ClassCastException because collection of uninitialized proxy is dirty checked
* [HHH-14616] - Optimistic Lock throws org.hibernate.exception.SQLGrammarException: could not retrieve version
* [HHH-14596] - WhereAnnotatedOneToManySizeTest fails on HANA database
** Improvement
* [HHH-14622] - Improved iteration of PreLoadEventListener
* [HHH-14621] - Introduce new methods on EventListenerGroup which allow Hibernate Reactive to fire events more efficiently
* [HHH-14618] - Having the possibility to include several SQL files into the import.sql file
* [HHH-14574] - Avoid NullPointerExceptions from LoadContexts.cleanup(ResultSet)
** Task
* [HHH-14610] - Upgrade to Byte Buddy 1.10.22
Changes in 5.5.0.Beta1 (May 12, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31938
** Bug
* [HHH-14541] - SessionFactoryObserver#sessionFactoryClosing() gets called after the session factory is marked as closed
* [HHH-13779] - Schema migrator should use case insensitive column comparison of foreign keys
** Improvement
* [HHH-12445] - Discriminator column should be nullable when using @DiscriminatorValue( "null" )
Changes in 5.5.0.Alpha1 (April 30, 2021)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31844
** Bug
* [HHH-14571] - Hibernate.isPropertyInitialized( someEntity, "id" ) returns false
* [HHH-14567] - Filters are ignored if enabled after query creation but before execution
* [HHH-14557] - Connection leaked on rollback with mode DELAYED_ACQUISITION_AND_RELEASE_BEFORE_TRANSACTION_COMPLETION
* [HHH-14549] - Collection with default field initializer will always be empty
* [HHH-14537] - EntityNotFoundException thrown when non-existing association with @NotFound(IGNORE) mapped has proxy in PersistenceContext
* [HHH-14523] - Spatial Update Z axis of a org.locationtech.jts.geom.Point on Postgis
* [HHH-14475] - select indices from ternary relation is broken since 5.4.13
* [HHH-14471] - Concurrency issue in DynamicBatchingEntityLoader
* [HHH-14467] - AnnotationException: A Foreign key refering <SomeEntity> from <SomeOtherEntity> has the wrong number of column. should be 0
* [HHH-14466] - StackOverflowError loading an entity with eager one-to-many if bidirectional and many-to-one side is the ID
* [HHH-14460] - NPE when setter is missing for persistent property
* [HHH-14449] - ResultStream closing is not properly handled
* [HHH-14445] - Javassist skip EntityWithMutableAttributesTest, LoadAndUpdateEntitiesWithCollectionsTest, SimpleDynamicUpdateTest, SimpleDynamicUpdateTest
* [HHH-14439] - QueryException: Unrecognized parameter label when executing the same query with subselects twice with different list parameters
* [HHH-14424] - When enhanced as a proxy with dirty checking is enabled, on flush uninitialized entities containing collections are updated setting all fields to null
* [HHH-14408] - SPI provided user types are not applied
* [HHH-14407] - NPE in Column.getSqlTypeCode(Mapping mapping) for column 'hib_sess_id' when using PersistentTableBulkIdStrategy
* [HHH-14404] - SessionBuilder.connectionHandlingMode is ignored
* [HHH-14390] - StackOverflowError with @Fetch(FetchMode.SELECT) mapped for entity with an ID that is a bidirectional one-to-one eager association
* [HHH-14389] - Add test case that throw IllegalArgumentException using EntityManager#find by ID when ID is a one-to-one association
* [HHH-14386] - Persistence.createEntityManagerFactory("testPU") fails, if persistence unit has config & CurrentTenantIdentifierResolver is not null.
* [HHH-14384] - Fix QueryProducer.createNativeQuery documentation
* [HHH-14380] - Join ordering logic wrongly pushes cross joins from subqueries to parent
* [HHH-14364] - UpdateDetachedTest#testUpdateDetachedWithAttachedPersistentSet failing when run on OracleDB
* [HHH-14363] - MutableTypeEnhancementTestCase failing when run on Oracle DB
* [HHH-14360] - NullPointerException on AbstractEntityPersister.resolveDirtyAttributeIndexes
* [HHH-14355] - NPE in Envers AdditionalJaxbMappingProducerImpl when XML mapping is disabled
* [HHH-14351] - Broken order by type
* [HHH-14350] - MariaDB103Dialect requires the lock wait timeout to be expressed in seconds
* [HHH-14348] - Lazy collection is fetched during dirty checking with bytecode enhancement
* [HHH-14346] - org.hibernate.metamodel.model.domain.internal.AbstractManagedType#getPluralAttributes NPE
* [HHH-14343] - Nested ID classes fail with AnnotationException: Column name game_id of x.x.PlayerStat not found in JoinColumns.referencedColumnName
* [HHH-14335] - Cache resolution of SimpleValue#getType
* [HHH-14333] - Pessimistic Lock causes FOR UPDATE on outer join statements
* [HHH-14329] - DirtinessTracker usage for enhanced entities doesn't respect mutable types
* [HHH-14322] - HBM many-to-one property-ref broken since 5.3.2 due to HHH-12684
* [HHH-14319] - CollectionType#replaceElements may clear the original collection during merge
* [HHH-14317] - Avoid closing datasource in AgroalConnectionProvider if datasource is not initialized
* [HHH-14316] - Avoid accessing state in DriverManagerConnectionProviderImpl if null
* [HHH-14312] - Padded batch style entity loader ignores entity graph
* [HHH-14310] - Document hibernate.query.in_clause_parameter_padding
* [HHH-14288] - Complex batch insert query stopped to work
* [HHH-14279] - Broken 'with key(...)' operator on entity-key maps
* [HHH-14276] - Nested ID class using derived identifiers fails with strange AnnotationException: unable to find column reference in the @MapsId mapping: `game_id`
* [HHH-14275] - Broken link to Infinispan User Guide in Hibernate 5.3 User Guide
* [HHH-14264] - Entity graph cannot be applied to child class
* [HHH-14260] - Dead links in user guide
* [HHH-14257] - An Entity A with a map collection having as index an Embeddable with a an association to the Entity A fails with a NPE
* [HHH-14251] - Invalid SQL for @Embedded UPDATE
* [HHH-14249] - MultiLineImport fails when script contains blank spaces or tabs at the end of the last sql statement
Changes in 5.4.14.Final (April 6, 2020)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31836/tab/release-report-done
** Bug
* [HHH-13886] - ColumnDefinition broken for audit mappings
* [HHH-13889] - Case Select in Criteria API does not bind literals using parameters
* [HHH-13929] - ClassCastException on use of PersistenceUtilHelper when entities use Enhanced Proxies
** Task
* [HHH-13685] - Upgrade to Gradle 5
* [HHH-13689] - Replace uses of the deprecated osgi plugin with the biz.aQute.bnd plugin
* [HHH-13925] - Upgrade to Gradle 6.3
** Improvement
* [HHH-13930] - Improve ByteBuddyProxyHelper to allow defining proxy classes without actually loading the class
* [HHH-13934] - GraalVM native-image metadata needs to register class metadata antlr.CommonToken
* [HHH-13935] - Allow subclasses of StandardServiceRegistryBuilder to initialize a custom list of StandardServiceInitiator(s)
Changes in 5.4.13.Final (March 26, 2020)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31829/tab/release-report-done
** Bug
* [HHH-13322] - Sequence increment is not correctly determined
* [HHH-13619] - size() does not work properly as select expression
* [HHH-13711] - H2 dialect not accurate for drop table since version 1.4.200
* [HHH-13870] - Gradle plugin causes compile task to be always out of date
* [HHH-13875] - Optional one-to-one does not always join the associated entity table when querying
* [HHH-13876] - Fix an obvious bug in StandardStack implementation
* [HHH-13891] - ProxyFactory should not be built if any ID or property getter/setter methods are final
* [HHH-13910] - MySQL57Dialect selected by automatic dialect resolution when using MySQL 8.0 database
** New Feature
* [HHH-13799] - JPA Criteria API support for Hibernate Spatial
** Task
* [HHH-13874] - Deprecate relevant methods that are supposed to be removed in v6.0
** Improvement
* [HHH-13103] - Allow Hibernate Types to get access to the current configuration properties using constructor injection
* [HHH-13853] - Pass the merged Integration settings and Persistence Unit properties to buildBootstrapServiceRegistry
* [HHH-13855] - Remove unnecessary declaration of JtaManager in HibernatePersistenceProviderAdaptor
* [HHH-13872] - Make the Java Stream close the underlying ScrollableResultsIterator upon calling a terminal operation
* [HHH-13873] - IdTableHelper can skip opening a connection when there's no statements to execute
* [HHH-13878] - Increase the scope of some methods to make them accessible outside of Hibernate ORM
* [HHH-13879] - Slow query log should use System#nanoTime not System#currentTimeMillis
* [HHH-13897] - ResultSetProcessingContextImpl: no need to clear collections before discarding the reference to them
Changes in 5.4.12.Final (February 13, 2020)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31827/tab/release-report-done
** Bug
* [HHH-13858] - Fix Oracle failing tests
* [HHH-13859] - NPE on scanning for entities in a project having module-info.class resources
** New Feature
* [HHH-13861] - Expose the doWork() and doReturningWork() APIs on StatelessSession as well
* [HHH-13863] - Introduce a module to distribute some helpers useful to compile Hibernate ORM to GraalVM native images
** Improvement
* [HHH-13864] - Cosmetic change of format when reporting version number
Changes in 5.4.11.Final (February 07, 2020)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31818/tab/release-report-done
** Bug
* [HHH-6615] - int type in Revision number
* [HHH-6686] - JPQL operator "is empty" failes for @ElementCollection
* [HHH-10844] - Resolve columnDefinition to appropriate sql-type for audit mappings
* [HHH-13373] - Hibernate report query hibernate_sequence table error in spring-boot application starting on a multi-database mariadb server
* [HHH-13456] - ForeignGenerator Throws ClassCastException When Using StatelessSession
* [HHH-13472] - Error creating hibernate_sequence in MariaDB 10.3
* [HHH-13644] - NullPointerException when calling StoredProcedureQuery.getResultStream() instead of StoredProcedureQuery.getResultList()
* [HHH-13677] - org.hibernate.flushMode property not applied
* [HHH-13704] - Make sure javassist is really an optional dependency
* [HHH-13752] - Delete doesn't work when many-to-many uses non-primary key for join table
* [HHH-13759] - Bytecode enhancement fails for an embedded field in a MappedSuperclass
* [HHH-13760] - Envers tries to use relationship's entity as value for column instead of numeric identifier (cast class exception happens) for LAZY @ManyToOne
* [HHH-13770] - Envers - modified flag column value set to null from 5.4.7 onwards
* [HHH-13780] - Allow NamedQuery to set hint QueryHints.PASS_DISTINCT_THROUGH
* [HHH-13783] - org.hibernate.MappingException: The increment size of the sequence is set to [10] in the entity mapping while … size is [1]
* [HHH-13792] - L2 entity cache is evicted prior to committing transaction for HQL/native updates
* [HHH-13796] - Missing from clause in query from BinaryLogicOperatorNode row value constructor translation
* [HHH-13804] - HibernateProxy might need to be instantiated even with build-time enhancement
* [HHH-13806] - CoreMessageLogger#unableToLoadCommand is not printing the cause of the error
* [HHH-13808] - Incorrect String format in log
* [HHH-13831] - Replaced listener is not called when EventListenerGroup#fireEventOnEachListener is called
** Task
* [HHH-13726] - Extract org.hibernate.internal.SessionFactoryImpl#prepareEventListeners from SessionFactoryImpl
* [HHH-13767] - Remove mention of Oracle and DB2 not being in MC
* [HHH-13821] - Update to Byte Buddy 1.10.7
* [HHH-13822] - OSGi integration tests need to be able to download dependencies from Maven Central using HTTPS
* [HHH-13823] - Various visibility changes to help prototyping of Hibernate RX
* [HHH-13833] - Byte Buddy enhancer should use ASM7 opcodes to improve compatibility with code compiled for Java 11
* [HHH-13837] - Initialize the Hibernate VERSION as a real constant
* [HHH-13838] - Allow extension of PersistenceXmlParser
* [HHH-13849] - Convert ProxyFactoryFactory and BytecodeProvider into a Service
** Improvement
* [HHH-8776] - Ability for JPA entity-graphs to handle non-lazy attributes as lazy
* [HHH-11958] - Apply QueryHints.HINT_READONLY to load operations
* [HHH-12856] - Upgrade DB2400 dialect to use the DB2 for i improvements
* [HHH-13390] - Upgrade JPA MetaModel Generator (jpamodelgen) to support Gradle Incremental Compile
* [HHH-13800] - Correct some typos in the javadocs of hibernate-core module
* [HHH-13802] - fix javadoc warnings in 'hibernate-core'
* [HHH-13809] - Various improvements in the user guides
* [HHH-13830] - Fixing typo on the build task description
* [HHH-13832] - Optimise setting of default Flush Mode on a newly created Session
* [HHH-13850] - Clear the BytecodeProvider caches both after SessionFactory creation and stop
* [HHH-13851] - Rework initialization of ProxyFactoryFactory to move responsibility out of PojoEntityTuplizer
* [HHH-13854] - Allow extensions of StandardServiceRegistryBuilder to ignore Environment variables
Changes in 5.4.10.Final (December 05, 2019)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31811/tab/release-report-done
** Bug
* [HHH-9301] - Group by on alias doesn't replace alias
* [HHH-12895] - Extra LEFT JOIN generated with @ManyToOne and @JoinTable when projecting on main entity id
* [HHH-13355] - StaleStateException for updates to optional secondary table using saveOrUpdate
* [HHH-13365] - Entities in joined subclass table are not inserted with batch size > 0 using sequence-identity ID generator
* [HHH-13608] - Oracle8iDialect should use CASE_INSENSITIVE pattern matching when checking the statement type
* [HHH-13722] - ArrayStoreException in Constraint.generateName
* [HHH-13737] - Add debug logging and a test case for HHH-13433
* [HHH-13742] - Missing from clause with joined inheritance property in association subquery
* [HHH-13758] - Limit Handler for SQL server doesn't work with CTE queries with strings literals
* [HHH-13764] - Annotations are ignored during enhancement if they are on the getter instead of the field
** Task
* [HHH-13739] - Upgrade to Agroal 1.7
* [HHH-13761] - Debug logging of JPA compliance settings didn't log the value of the settings
* [HHH-13762] - Update vibur-dbcp dependency to 25.0
** Improvement
* [HHH-8091] - Hibernate produces SQL - "in ()" - which is invalid in at least Oracle, MySQL and Postgres
* [HHH-13755] - Update Hibernate Gradle Plugin example in the documentation
Changes in 5.4.9.Final (November 14, 2019)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31806/tab/release-report-done
** Bug
* [HHH-12030] - Symbol$TypeVariableSymbol cannot be cast to TypeElement
* [HHH-13307] - On release of batch it still contained JDBC statements using JTA
* [HHH-13433] - EntityManager.find() should only check for roll-back-only condition if there is an active JTA transaction, otherwise ORM should throw convert( e, lockOptions )
* [HHH-13614] - Allow the IntegratorProvider to be supplied via its FQN in the JPA persistence.xml
* [HHH-13670] - Missing from clause in query with joined inheritance, regression in 5.4.5
* [HHH-13687] - TenantSchemaResolver not called in integration test after upgrade from 5.4.4 to >=5.4.5
* [HHH-13690] - Multi-tenancy supporting session factories can not be created
* [HHH-13698] - Hibernate does not recognize MySQL 8 error code 3572 as PessimisticLockException
* [HHH-13700] - Configuration property CONNECTION_PROVIDER_DISABLES_AUTOCOMMIT should not be passed to the JDBC connection properties
* [HHH-13705] - Enhancement as Proxy with inline dirty checking - flush of an @ManyToOne with an Embedded value having not null properties causes PropertyValueException
* [HHH-13710] - Wrong tenant-identifier in Envers temporary session
* [HHH-13712] - inheritance - select count query is not working with inheritance
* [HHH-13727] - h2 database with DATABASE_TO_UPPER=false throws org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "sequences" not found
** Task
* [HHH-13730] - Upgrade to Classmate 1.4.0
* [HHH-13731] - Upgrade to Classmate 1.5.1
* [HHH-13733] - Upgrade to Jandex 2.1.1.Final
** Improvement
* [HHH-13654] - Avoid clearing of collections when closing StatefulPersistenceContext
* [HHH-13723] - Hint sizing of ArrayList in ResultSetProcessingContextImpl
Changes in 5.4.8.Final (October 28, 2019)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31804/tab/release-report-done
** Bug
* [HHH-12965] - Hibernate Envers Audit tables are created with foreign key with the entity. Because of this I am not able to delete any entries from the entity tables.
* [HHH-13446] - java.lang.VerifyError from compile-time enhanced @Entity
* [HHH-13651] - NPE on flushing when ElementCollection field contains null element
* [HHH-13695] - DDL export forgets to close a Statement
* [HHH-13696] - Multiple OSGi bundles initializing concurrently would overlap classloaders
** Improvement
* [HHH-13686] - Upgrade to Agroal 1.6
Changes in 5.4.7.Final (October 21, 2019)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31799/tab/release-report-done
** Bug
* [HHH-4235] - MapBinder.createFormulatedValue() does not honor DB schema name when creating query
* [HHH-13633] - Bugs join-fetching a collection when scrolling with a stateless session using enhancement as proxy
* [HHH-13634] - PersistenceContext can get cleared before load completes using StatelessSessionImpl
* [HHH-13640] - Uninitialized HibernateProxy mapped as NO_PROXY gets initialized when reloaded with enhancement-as-proxy enabled
* [HHH-13653] - Uninitialized entity does not get initialized when a setter is called with enhancement-as-proxy enabled
* [HHH-13655] - Envers Map<Enum, Integer> causes NullPointerException when mapped with @MapKeyEnumerated since Hibernate 5.4.6
* [HHH-13663] - Session#setHibernateFlushMode() method not callable without an active transaction
* [HHH-13665] - Selecting an entity annotated with @Immutable but not with @Cachable causes a NPE when use_reference_entries is enabled
* [HHH-13672] - The temporary PersistenceContext of a StatelessSession is not cleared after a refresh operation
* [HHH-13675] - Optimize PersistentBag.groupByEqualityHash()
** New Feature
* [HHH-10398] - _MOD columns not named correctly when using custom column names
** Task
* [HHH-13680] - Upgrade to Byte Buddy 1.10.2
* [HHH-13681] - Upgrade to Byteman 4.0.8
** Improvement
* [HHH-12858] - integration overrides during JPA bootstrap ought to override all logically related settings
* [HHH-13432] - Have EntityManagerFactory expose persistence.xml `jta-data-source` element as a `javax.persistence.nonJtaDataSource` property
* [HHH-13660] - Reduce allocation costs of IdentityMaps used by ResultSetProcessingContextImpl
* [HHH-13662] - Avoid initializing XmlMappingBinderAccess when no XML mappings are defined
* [HHH-13666] - AssertionFailure: Exception releasing cache locks upon After/BeforeTransactionCompletionProcess failure
* [HHH-13673] - Cryptic error when providing import.sql file without a terminal char at the end of each line
Changes in 5.4.6.Final (September 30, 2019)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31794/tab/release-report-done
** Bug
* [HHH-11797] - Envers Map<Enum, Entity> not auditing correctly
* [HHH-13493] - For a native query, the SessionImpl class does not call applyQuerySettingsAndHints
* [HHH-13597] - Building DatabaseInformation fails on H2 without DATABASE_TO_UPPER
* [HHH-13625] - After upgrading to 5.4.5, it's no longer possible to bootstrap Hibernate if the org.hibernate.cfg LOG is set to DEBUG
* [HHH-13645] - StatsNamedContainer#getOrCompute throws NullPointerException when computed value is null
** Improvement
* [HHH-13130] - Provide Gradle-based bytecode enhancement as a task separate from the compileJava task
Changes in 5.4.5.Final (September 17, 2019)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31779/tab/release-report-done
** Bug
* [HHH-13259] - StackOverflowError from StringHelper
* [HHH-13466] - ClassCastException when changing a Collection association to a Set if @PreUpdate listener exists
* [HHH-13544] - Restore logged warning on jdbc code mapping issue in NationalizedTypeMappings
* [HHH-13550] - Fix Oracle failure for test added by HHH-13424
* [HHH-13551] - StrategyRegistrationProvider does not properly handle implementations from different classloader
* [HHH-13554] - QueryAndSQLTest.testNativeQueryWithFormulaAttributeWithoutAlias() fails on Oracle, MSSQL, Sybase, DB2, MariaDB
* [HHH-13555] - FetchGraphTest, MergeProxyTest and ProxyDeletionTest fail due to ConstraintViolationException
* [HHH-13556] - Tests doing dynamic fetch scrolling a collection fail on DB2
* [HHH-13557] - LocalTimeTest#writeThenNativeRead and OffsetTimeTest#writeThenNativeRead tests are failing on SQL Server
* [HHH-13558] - InstantTest, LocalDateTimeTest, OffsetDateTimeTest, ZonedDateTimeTest failing on Sybase for year 1600
* [HHH-13564] - Envers - Getting NPE while reading revisions of entity with @EmbeddedId composite key located in parent @MappedSuperclass
* [HHH-13569] - org.hibernate.test.annotations.embedded.EmbeddedTest failures on Sybase
* [HHH-13570] - Test failures due to Sybase not supporting UPDATE statement with WITH(NOWAIT)
* [HHH-13571] - Test failures due to cross joined table out of scope of a subsequent JOIN on Sybase
* [HHH-13573] - Test failure due to Sybase not supporting cascade delete on foreign key definitions
* [HHH-13574] - SybaseASE does not support PARTITION BY
* [HHH-13577] - LockTest.testContendedPessimisticLock and StatementIsClosedAfterALockExceptionTest.testStatementIsClosed tests fail on Sybase
* [HHH-13580] - LocalTimeTest#writeThenNativeRead* and OffsetTimeTest#writeThenNativeRead* failing on MySQL
* [HHH-13581] - LocalTimeTest#writeThenRead* and OffsetTimeTest#writeThenRead* failing on MariaDB
* [HHH-13582] - LocalDateTest failures on MySQL
* [HHH-13586] - ClassCastException when using a single region name for both entity and query results
* [HHH-13590] - TransientObjectException merging a non-proxy association to a HibernateProxy
* [HHH-13592] - AutoFlushEvent#isFlushRequired is always false
* [HHH-13607] - Exception thrown while flushing uninitialized enhanced proxy with immutable natural ID
* [HHH-13611] - Restore EntityMetamodel constructor to take SessionFactoryImplementor argument instead of PersisterCreationContext.
* [HHH-13616] - Enable the hibernate-orm-modules test for JDK 11
* [HHH-13621] - Exception if spaces after value of javax.persistence.schema-generation.scripts.action in hibernate.properties
** New Feature
* [HHH-13249] - Introduce an option to Log slow queries instead of all queries
** Task
* [HHH-13525] - Make test SessionDelegatorBaseImplTest more resilient to previously existing alias definition
* [HHH-13526] - Optimise ResourceRegistryStandardImpl#release
* [HHH-13527] - Performance regression in org.hibernate.stat.internal.StatisticsImpl
* [HHH-13528] - Invoke afterStatements only at the end of releasing all statements for a batch
* [HHH-13529] - Performance regression in org.hibernate.engine.spi.SessionFactoryImplementor#getDialect
* [HHH-13531] - Some more opportunities to reuse the constants pool in AliasConstantsHelper
* [HHH-13534] - AbstractLoadPlanBasedLoader never needs a List of AfterLoadAction
* [HHH-13546] - Make the sessionFactory field in StatisticsImpl required
* [HHH-13549] - Cleanup dead code in StringHelper
* [HHH-13552] - CollectionType needs a direct reference to its Persister
* [HHH-13553] - Fix test failures on SAP HANA
* [HHH-13561] - Do not retrieve the same ActionQueue multiple times
* [HHH-13562] - List of TransactionObserver for JdbcResourceLocalTransactionCoordinatorImpl should be lazily initialized
* [HHH-13563] - ResultSetReturnImpl is looking up JdbcServices on each construction
* [HHH-13565] - Improve Session opening efficiency
* [HHH-13568] - Instances of NaturalIdXrefDelegate should be lazily initialized if possible
* [HHH-13605] - InstantTest, OffsetDateTimeTest, ZonedDateTimeTest fail for MariaDB on CI
* [HHH-13606] - LocalDateTimeTest fails for HANA on CI
* [HHH-13622] - Upgrade the WildFly Transaction Client to 1.1.7.Final
** Improvement
* [HHH-13133] - Print message about 'successfully enhanced class' as debug in Maven enhancement plugin
* [HHH-13412] - Move hibernate.connection description out of c3p0 section
* [HHH-13512] - Avoid allocating an array in org.hibernate.internal.util.StringHelper#unquote(String[], Dialect) if there are no changes to be applied
* [HHH-13521] - Avoid excessive validation of enabled filters
* [HHH-13522] - Optimise LoadQueryInfluencers by making maps lazily initialized
* [HHH-13523] - StatementPreparerImpl should not need to retrieve the JDBCService as often
* [HHH-13524] - Remove unused fields xref,unassociatedResultSets from JdbcCoordinatorImpl
* [HHH-13541] - ExceptionConverter instance in AbstractSharedSessionContract should be lazily initialized
* [HHH-13548] - Since SessionOwner is deprecated several fields in SessionImpl can be removed
* [HHH-13576] - Invoking tracef() or debugf() w/o an array of parameters actually allocates an empty Object[]
* [HHH-13579] - Cleanup of resources in ResourceRegistryStandardImpl allocates many Iterators
* [HHH-13584] - Reduce ServiceRegistry lookups in LocalConnectionAccess in SessionFactory
* [HHH-13585] - Duplicate resource release in PessimisticReadSelectLockingStrategy
* [HHH-13587] - Initialize selected collections of StatefulPersistenceContext lazily
* [HHH-13588] - MySQL Dialect: missed functions: weight_string, to_base64, from_base64, regexp_replace, regexp_instr, regexp_substr
* [HHH-13589] - Minor memory allocation improvements in ActionQueue
* [HHH-13591] - Replaces simple uses of array iteration with a corresponding for-each loop
* [HHH-13594] - ResourceRegistryStandardImpl#release could avoid allocating a capturing lambda
* [HHH-13599] - Avoid ArrayList allocation in JtaTransactionCoordinatorImp in common scenario
* [HHH-13600] - Avoid allocation of capturing lambdas in ParameterTranslationsImpl and AbstractDomainDataRegion
** Deprecation
* [HHH-13595] - Deprecate ConnectionObserver
Changes in 5.4.4.Final (July 29, 2019)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31774/tab/release-report-done
** Bug
* [HHH-12642] - Lazy enhanced entity as relationship is always loaded in a criteria query
* [HHH-13357] - OffsetTimeTest fails using TimeAsTimestampRemappingH2Dialect in non-GMT European time zones
* [HHH-13379] - Regression of Instant serialization
* [HHH-13409] - Hibernate ORM does not detect services provided by libraries in the module path
* [HHH-13424] - Table nullability should not depend on JpaCompliance.isJpaCacheComplianceEnabled()
* [HHH-13443] - Build failing to parse *.properties file attributes containing trailing space
* [HHH-13454] - org.hibernate.orm.test.query.criteria.BasicCriteriaExecutionTests fails on Oracle
* [HHH-13455] - Enabling Enhancement as a Proxy causes IllegalStateException when using Javassist
* [HHH-13459] - Unit test lock up when they run on PostgreSQL
* [HHH-13460] - FetchGraphTest is failing on MariaDB
* [HHH-13463] - Hibernate has a dependency on plexus-utils:3.0.1 that is vulnerable to CVE-2017-1000487 with a CVSS of 7.5
* [HHH-13492] - OptimisticLockException after locking, refreshing, and updating an entity
* [HHH-13500] - Subquery of DefaultAuditStrategy results in a wrong revision
* [HHH-13505] - NullPointerException thrown by StatisticsImpl#getCacheRegionStatistics
* [HHH-13514] - Calling the wrong method inside SessionDelegatorBaseImpl#createStoredProcedureQuery
** New Feature
* [HHH-11147] - Allow enhanced entities to be returned in a completely uninitialized state
* [HHH-13154] - Add support for JPA criteria on stateless sessions
** Task
* [HHH-13415] - Improve build compatibility with JDK11.0.3
* [HHH-13461] - Style and formatting fixes: CollectionEntry
* [HHH-13504] - Upgrade ByteBuddy to 1.9.11
* [HHH-13513] - Partial revert of string interning introduced by HHH-3924
* [HHH-13520] - Deprecate mutators on SqlStatementLogger
** Improvement
* [HHH-11032] - Improve performance of PersistentBag.equalsSnapshot
* [HHH-13226] - Typo in some configuration properties (HBM2DDL vs HBM2DLL)
* [HHH-13303] - Fix some alerts from LGTM
* [HHH-13428] - Minor cleanup of build scripts
* [HHH-13429] - Upgrade WildFly provisioning plugin to version 0.0.11
* [HHH-13442] - CollectionType#getCollection() method improvements
* [HHH-13444] - Remove ignored EntityMode field from CollectionKey
* [HHH-13447] - Minimize number of EventListenerRegistry lookups within a Session use
* [HHH-13448] - Avoid retrieving PRE_LOAD and POST_LOAD Event listeners within the inner loops of TwoPhaseLoad
* [HHH-13450] - Do not compute the full role name of a collection unless necessary
* [HHH-13451] - Logging typo in CascadingActions causing significant allocations
* [HHH-13452] - Missing log level guard on formatting in DefaultPersistEventListener#entityIsDeleted
* [HHH-13453] - Optimise CascadingActions for the most likely case
* [HHH-13458] - Update Hibernate's custom IdentityMap to better match its use
* [HHH-13462] - Introduce a fastpath for SessionImpl#fireLoad to be used by internal loops
* [HHH-13465] - Allow inlined access to the PersistenceContext for internal methods
* [HHH-13467] - Make average BatchFetchQueue consume less memory
* [HHH-13471] - Avoid invoking delayedAfterCompletion() multiple times from the same SessionImpl method
* [HHH-13475] - SessionImpl#applyQuerySettingsAndHints should not rely on defensive copies to just read properties
* [HHH-13476] - Micro-optimisations of TwoPhaseLoad#getOverridingEager
* [HHH-13477] - Make heavily invoked method final: EventListenerGroupImpl#listeners()
* [HHH-13478] - Various low hanging fruits identified by CPU flame graphs
* [HHH-13494] - LobTypeMappings should not use a Bounded ConcurrentHashmap
* [HHH-13495] - NationalizedTypeMappings should not use a Bounded ConcurrentHashmap
* [HHH-13496] - Apply some minor yet improvements identified via static code analysis tools
* [HHH-13508] - Reuse alias names generated by BasicLoader#generateSuffixes
* [HHH-13511] - Remove old org.hibernate.loader.DefaultEntityAliases#intern
Changes in 5.4.3.Final (May 30, 2019)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31762/tab/release-report-done
** Bug
* [HHH-13343] - Bytecode enhancement using ByteBuddy fails when the class is not available from the provided ClassLoader
* [HHH-13364] - Query.getSingleResult and getResultList() throw PessimisticLockException when pessimistic lock fails with timeout
* [HHH-13418] - Revert log level caching in static fields
** Task
* [HHH-13416] - Unguarded debug message being rendered in org.hibernate.engine.internal.Collections.processReachableCollection
* [HHH-13419] - Support building javadoc with JDK 11.0.3
* [HHH-13421] - Disable OSGi testing for JDK 11+
Changes in 5.4.2.Final (March 21, 2019)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31748/tab/release-report-done
** Bug
* [HHH-13194] - Some methods returning org.hibernate.query.Query are not defined for StatelessSession
* [HHH-13216] - Criteria query doesn't handle BigDecimal correctly
* [HHH-13217] - Don't throw exception if both @MappedSuperclass and @Inheritance are used
* [HHH-13219] - The sentence "The chapter 6 (e.g. Criteria API)" should be "The chapter 6 (i.e., Criteria API)"
* [HHH-13225] - Fix minor version detection in BasicDialectResolver
* [HHH-13227] - UnsupportedOperationException when programmatically overriding hibernate.ejb.cfgfile
* [HHH-13228] - The modification of a @OneToOne with @MapsId property is silently ignored during a merge operation
* [HHH-13229] - Sequences in MariaDB doesnt work on existing sequence
* [HHH-13230] - The AvailableSettings.HBM2DDL_HALT_ON_ERROR setting does not accept String values
* [HHH-13233] - Eager loading via EntityGraph doesn't work with subgraph
* [HHH-13236] - @Column insertable and updatable on ElementCollection items' fields are ignored when generating statements
* [HHH-13239] - The query hint javax.persistence.lock.timeout doesn't work correctly on HANA
* [HHH-13241] - Constraint violation when deleting entites in bi-directional, lazy OneToMany association with bytecode enhancement
* [HHH-13244] - setting hibernate.jpa.compliance.proxy=true and org.hibernate debug level to DEBUG breaks hibernate
* [HHH-13256] - Fix the fieldsPreUpdateNeeded property index allocation in AbstractEntityPersister#update
* [HHH-13262] - javax.persistence.TransactionRequiredException: Executing an update/delete query
* [HHH-13265] - Remove double semicolon
* [HHH-13266] - LocalDateTime values are wrong around 1900 (caused by JDK-8061577)
* [HHH-13269] - Embeddable collection regression due to HHH-11544
* [HHH-13277] - HibernateMethodLookupDispatcher - Issue with Security Manager
* [HHH-13281] - java.lang.ClassCastException: org.hibernate.internal.SessionImpl cannot be cast to org.hibernate.ejb.HibernateEntityManager
* [HHH-13285] - ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory after dom4j update
* [HHH-13300] - query.getSingleResult() throws org.hibernate.NonUniqueResultException instead of javax.persistence.NonUniqueResultException
* [HHH-13309] - Extended bean managers implementing the new interface are not correctly detected
* [HHH-13324] - NullPointerException if security manager is set after startup
* [HHH-13326] - Transaction passed to Hibernate Interceptor methods is null when JTA is used
** New Feature
* [HHH-13202] - Add support for PostgreSQL "GENERATED BY DEFAULT AS IDENTITY"
** Task
* [HHH-13232] - Upgrade ByteBuddy to 1.9.8
* [HHH-13238] - Reuse static logger in QueryTranslatorFactoryInitiator
* [HHH-13254] - Upgrade Agroal to 1.4
* [HHH-13258] - ASTQueryTranslatorFactory.createQueryTranslator undocumented Parameter
* [HHH-13271] - Javadoc build failures on JDK 12
* [HHH-13272] - Upgrade to Byte Buddy 1.9.10
* [HHH-13275] - Re-introduce usage of net.bytebuddy.experimental=true when testing on JDK > 11
* [HHH-13304] - MySQLDialect shouldn't access System Properties
* [HHH-13305] - Deprecate public static helpers returning the current Dialect
* [HHH-13306] - Remove verbose logging from the standard ExceptionMapper
* [HHH-13332] - Upgrade to c3p0 0.9.5.3
** Improvement
* [HHH-6190] - Leverage JmxService to expose management and monitoring capabilities.
* [HHH-10148] - SQLServer2012SpatialDialect
* [HHH-13220] - In the ByteBuddy enhancer, avoid creating a PersistentAttributeTransformer if the class is not enhanced
* [HHH-13257] - Support mysql8 spatial
** Patch
* [HHH-13330] - Minor typo in ManagedBeanRegistryInitiator
Changes in 5.4.1.Final (January 19, 2019)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31726/tab/release-report-done
** Bug
* [HHH-11807] - Enhanced entity delete not cascaded for some case
* [HHH-12555] - Merging a blob on an entity results in a class cast exception
* [HHH-13059] - OneToMany with referencedColumnName returns too many entities
* [HHH-13068] - "order_inserts = true" causes FK Violation when inserting Self Referential Entity with Single_Table Inherited Entities
* [HHH-13080] - ManyToMany List update with detached entities throws EntityExistsException
* [HHH-13084] - Querying entity with non-ID property named 'id' fails if entity has an IdClass composite key
* [HHH-13094] - Setting @Any.fetch to FetchType.EAGER doesn't work
* [HHH-13104] - Oracle 12c / SAP Hana insert fails when entity contains only an identity-based column.
* [HHH-13114] - Query "select count(h) from Human h" fails if a subclass has a non-Id property named "id"
* [HHH-13129] - Cascaded merge fails for detached bytecode-enhanced entity with uninitialized ToOne
* [HHH-13138] - Work around class loading issues so that bytecode enhanced tests can run as expected
* [HHH-13145] - Generated metamodel class can't be compiled.
* [HHH-13146] - Hibernate Ehcache no longer supports the `net.sf.ehcache.hibernate.cache_lock_timeout` configuration property
* [HHH-13151] - TreatedRoot misses fetches in query
* [HHH-13153] - No content in 15.1. Query API of User Guide
* [HHH-13160] - Polymorphic query for InheritanceType.TABLE_PER_CLASS is not using UNION ALL
* [HHH-13163] - Fix DDLWithoutCallbackTest#testRangeChecksGetApplied which fails on MariaDB
* [HHH-13164] - Detecting transient state of mandatory toOne relations is broken
* [HHH-13167] - When omitting the OTHERWISE clause in a CASE expression built with Criteria API, Hibernate throws a NullPointerException
* [HHH-13169] - Table alias used instead of exact table name in multitable update query
* [HHH-13172] - Log a warning instead of throwing an Exception when @AttributeOverride is used in conjunction with inheritance
* [HHH-13175] - Eager subsequent-select fails when EntityGraph is specified for find operation
* [HHH-13184] - Oracle dialect detection does not return latest dialect in the default case
* [HHH-13189] - org.hibernate.Query#setParameter(String, Object) is extremely slow
* [HHH-13191] - LazyInitializationException when Envers persists audit data that uses a proxy with JPA_PROXY_COMPLIANCE enabled under JTA
* [HHH-13192] - Select alias in Criteria API seems to bleed into where condition
* [HHH-13199] - NullPointerException when using case on select clause using JPA Criteria API
** New Feature
* [HHH-13204] - Introduce a configuration flag to skip processing of XML mapping metadata
* [HHH-13209] - Experimental feature: Allow for ServiceRegistry "suspend and restore"
** Task
* [HHH-13197] - Reduce bootstrap log verbosity
* [HHH-13198] - Introduce a global configuration flag to disable JPA callbacks
* [HHH-13210] - Don't log about running a script of type ScriptSourceInputNonExistentImpl
* [HHH-13211] - Reduce logging verbosity of QueryTranslatorFactoryInitiator
** Improvement
* [HHH-12878] - StaleStateException does not log out the stale object or the statement that was executed
* [HHH-13162] - Upgrade MySQL and MariaDB Dialects as they support UNION ALL
* [HHH-13165] - Don't use confusing "this" in the User Guide admonition blocks
* [HHH-13181] - Reduce bootstrap log verbosity
* [HHH-13186] - MariaDB dialect detection does not return the latest by default
* [HHH-13206] - Apply dialect checks from both method and class level.
Changes in 5.4.0.Final (December 12, 2018)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31738/tab/release-report-done
** Bug
* [HHH-13110] - @PreUpdate method on a Embeddable null on the parent caused NullPointerException
* [HHH-13141] - Could not fetch the SequenceInformation from the database when using SQL Server with a case-sensitive collation
* [HHH-13147] - DelayedPostInsertIdentifier handling broken since 5.3.0
** New Feature
* [HHH-13083] - Add st_makeenvelope to the supported PostGIS functions in hibernate-spatial
** Task
* [HHH-13095] - Document how to use arithmetic expressions in CASE statements
* [HHH-13096] - Document that composite identifier cannot use auto-generated properties
** Improvement
* [HHH-10778] - Add support for non-public AttributeConverter implementations
* [HHH-13144] - Move the doInAutoCommit utility to TranscationUtil
* [HHH-13156] - Enhance the @AnyMetaDef annotation section with more details about the optimal placement
Changes in 5.4.0.CR2 (November 29, 2018)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31729/tab/release-report-done
** Bug
* [HHH-13107] - JtaWithStatementsBatchTest fails on Oracle
* [HHH-13111] - Subquery cannot occur in select clause anymore for Criteria API
* [HHH-13112] - Proxies on entity types in the default package lead to MappingException with JDK9+
* [HHH-13116] - Jaxb-runtime transitive dependencies are ignored when building a Maven project on JDK11 with a dependency to Hibernate ORM
* [HHH-13118] - Use the provided class loader even when using the default URI
* [HHH-13128] - Missing jaxb-runtime dependency for hibernate-jpamodelgen
** Task
* [HHH-13043] - Upgrade to JAXB 2.3
** Improvement
* [HHH-13102] - Document how catalog and schema attributes need to be applied based on the underlying DB capabilities
* [HHH-13115] - Document how to define timezone per tenant when using Multitenant Database
* [HHH-13124] - Document the CachingRegionFactory resolution algorithm has changed
* [HHH-13125] - Remove the Javadoc links in the User Guide pointing internal classes
* [HHH-13127] - Document JAXB dependencies should be added for using hibernate-jpamodelgen in Eclipse IDE
Changes in 5.4.0.CR1 (November 15, 2018)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31691/tab/release-report-done
** Bug
* [HHH-7686] - org.hibernate.proxy.map.MapProxy loses all important state on serialization
* [HHH-8805] - [SchemaUpdate] javax.persistence.ForeignKey doesn't respect ConstraintMode.NO_CONSTRAINT
* [HHH-10201] - Hibernate does not audit @ElementCollection when revision_on_collection_change is false
* [HHH-10603] - ORA-00932: inconsistent datatypes: expected - got BLOB after HHH-10345 with Oracle12cDialect
* [HHH-10891] - Exception at bootstrap when @Any is inside an @Embeddable object
* [HHH-11096] - @CreationTimestamp doesn't works with @Column(nullable=false)
* [HHH-11209] - NullPointerException in EntityType.replace() with a PersistentBag