forked from hibernate/hibernate-orm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
changelog.txt
2986 lines (2610 loc) · 207 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.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
* [HHH-11771] - @Id annotation ignored with @MappedSuperclass inheritance
* [HHH-12200] - Docs mention outdated APIs
* [HHH-12320] - @JoinColumn's foreign key custom name does not work with @MapsId
* [HHH-12425] - LazyInitializationIssue when enhancement enableDirtyTracking is enabled after session is committed
* [HHH-12436] - Attempted to assign id from null one-to-one property
* [HHH-12492] - JPA delete query generated has missing table alias and thus incorrect semantics
* [HHH-12542] - WildFly integration test, HibernateNativeAPINaturalIdTestCase, fails when security manager is enabled
* [HHH-12666] - Add an option for restoring 5.1 native exception handling
* [HHH-12675] - @Table(Inverse=true) ignored for SecondaryTables in JoinedSubclassEntityPersister
* [HHH-12695] - Incompatibility in return value for org.hibernate.procedure.ParameterRegistration.getType() 5.1 vs 5.3
* [HHH-12718] - Entity changes in @PreUpdate callback are not persisted when lazy loading is active for more than one field
* [HHH-12720] - LazyInitializationException with hibernate.enable_lazy_load_no_trans
* [HHH-12740] - Subselect fetching doesn't work when multiLoad was used
* [HHH-12753] - org.hibernate.envers.test.integration.collection.StringMapNationalizedLobTest fails with DB2
* [HHH-12768] - TimeAndTimestampTest fails with SQL Server and MYSQL
* [HHH-12771] - Caused by: java.lang.UnsupportedOperationException: Cache provider [org.hibernate.cache.ehcache.internal.EhcacheRegionFactory@3271ec2a] does not support `transactional` access
* [HHH-12776] - NullPointerException when executing native query on an Audited Entity
* [HHH-12779] - Revert HHH-12670 - Allows native SQL queries that take a given resultClass to map the result set to the required type
* [HHH-12781] - Update Javassist dependency to 3.23.1
* [HHH-12784] - Javassist support broken by HHH-12760
* [HHH-12786] - Deleting an entity leads to NullPointerException in ByteBuddy proxy
* [HHH-12787] - SessionJdbcBatchTest hangs with DB2
* [HHH-12791] - ComponentTuplizer generates a LOT of proxy classes when using Bytebuddy as bytecode provider
* [HHH-12795] - Setting FlushMode to manual for a @NamedQuery is ignored
* [HHH-12797] - Fix cache modes relationships table layout in the documentation
* [HHH-12798] - Nested spatial functions are not rendered correctly on SAP HANA
* [HHH-12800] - TuplizerInstantiatesByteBuddySubclassTest uses ByteBuddy operation unsafe with JDK 11
* [HHH-12802] - Hibernate does not throw an exception when more than one entity is loaded with the same ID
* [HHH-12815] - LocalDateCustomSessionLevelTimeZoneTest fails with mysql 5.5 and 5.7
* [HHH-12822] - Skip "case when" tests requiring casts for DB2
* [HHH-12823] - CompositeIdTest.testDistinctCountOfEntityWithCompositeId fails on databases that don't support tuple distinct counts because it expects wrong exception
* [HHH-12824] - ASTParserLoadingTest.testComponentNullnessChecks fail with DB2 because it uses legacy-style query parameter
* [HHH-12825] - CriteriaHQLAlignmentTest.testCountReturnValues fails on databases that don't support tuple distinct counts because it expects wrong exception
* [HHH-12826] - Persist cascade of collection fails when orphan removal enabled with flush mode commit.
* [HHH-12827] - NUMERIC column type is not handled correctly on DB2
* [HHH-12829] - Invalid references to outdated EhCache classes
* [HHH-12832] - SchemaUpdateHaltOnErrorTest and SchemaMigratorHaltOnErrorTest fail with DB2
* [HHH-12833] - UniqueConstraintDropTest fails with DB2
* [HHH-12834] - org.hibernate.envers.test.integration.collection.StringMapNationalizedLobTest fails with Sybase
* [HHH-12835] - Wrong assertion in BatchFetchQueueHelper
* [HHH-12838] - AndNationalizedTests fails with DB2
* [HHH-12839] - EntityProxySerializationTest fails with oracle
* [HHH-12842] - Non-optional OneToOne relation can't be lazy loaded anymore
* [HHH-12843] - CreateDeleteTest and FlushIdGenTest fail with ORA-00936 on oracle
* [HHH-12844] - HbmWithIdentityTest fails with ORA-00936 on oracle
* [HHH-12846] - Merge cascade of collection fails when orphan removal enabled with flush mode commit
* [HHH-12847] - NullPointerException in FetchStyleLoadPlanBuildingAssociationVisitationStrategy::adjustJoinFetchIfNeeded
* [HHH-12848] - UpgradeSkipLockedTest, PessimisticReadSkipLockedTest and OracleFollowOnLockingTest fail with Oracle12c
* [HHH-12849] - QuotedIdentifierTest fails with ORA-04043 on Oracle12c
* [HHH-12850] - null values for columns mapped as "Boolean" cause exception when saving entity with SAP Sql Anywhere jdbc4
* [HHH-12851] - ConverterTest fails with SQL Server depending on collation
* [HHH-12861] - SchemaUpdate doesn't work with Sybase
* [HHH-12863] - SchemaUpdateTest should be skipped with Sybase
* [HHH-12868] - Using CacheConcurrencyStrategy.NONE leads to a NPE when trying to load an entity
* [HHH-12869] - SingletonEhcacheRegionFactory initialization fails
* [HHH-12871] - Metamodel contains managed types related to dynamic-map entities that have been excluded.
* [HHH-12875] - Class level where="..." clause in hbm.xml mappings is not enforced on collections of that class
* [HHH-12880] - LockModeTest hangs indefinitely with Sybase due to HHH-12847
* [HHH-12882] - Where clauses mapped on collections and entities need parentheses when used in conjunction
* [HHH-12883] - NaturalIdDereferenceTest fails with Sybase
* [HHH-12890] - Fix link to JPA Metamodel generator documentation
* [HHH-12903] - CommitFlushCollectionTest fails when running on Oracle.
* [HHH-12905] - Passing null as parameter is not allowed even when enablePassingNulls() has been called
* [HHH-12906] - Statistics.getCollectionRoleNames() reports incorrect value
* [HHH-12913] - AuditJoinTable does not work when specified in an AuditOverride annotation.
* [HHH-12915] - Concurrency issue within org.hibernate.internal.SessionFactoryImpl
* [HHH-12920] - AbstractCachedDomainDataAccess.clearCache() throws MissingFormatArgumentException at DEBUG level
* [HHH-12921] - Hibernate Connection Pool Validation Thread should be defined as a daemon Thread
* [HHH-12927] - Immutable warning issued if immutable entities are referenced but not changed during update
* [HHH-12931] - Revert HHH-12542 as it introduces some issues with the security manager
* [HHH-12932] - Add privileged blocks in ByteBuddyState initialization
* [HHH-12933] - Generate_statistics grows QueryStatistics ConcurrentHashMap indefinitely
* [HHH-12934] - Exception handling documentation does not apply only to "Session-per-application anti-pattern"
* [HHH-12935] - Constraint and AuxiliaryDatabaseObject export identifiers are not qualified by schema or catalog
* [HHH-12937] - Where clause for collections of basic, embeddable and "any" elements is ignored when mapped using hbm.xml
* [HHH-12939] - Database name not quoted at schema update
* [HHH-12944] - MultiIdentifierLoadAccess ignores the 2nd level cache
* [HHH-12945] - MapJoin#entry() does not seem to work.
* [HHH-12955] - hibernate.hbm2ddl.auto option 'create-only' not recognized
* [HHH-12963] - HANA dialect doesn't set internal configuration for use_unicode_string_types correctly
* [HHH-12964] - Upgrade to dom4j 2.1.1
* [HHH-12966] - Make statistics serializable to allow JMX access
* [HHH-12968] - Flush is not flushing inserts for inherited tables before a select within a transaction
* [HHH-12973] - Inconsistent identity generation when using the default @SequenceGenerator with a database sequence having the increment size of 1
* [HHH-12975] - Foreign key constraint cannot be disabled with @JoinColumn(foreignKey=@ForeignKey(NO_CONSTRAINT)) in some cases
* [HHH-12979] - Setting hibernate.javax.cache.uri property value as relative path causes an error
* [HHH-12990] - JPA Model generator does not work in Java 9+
* [HHH-12992] - ClassCastException for an audited ordered collection
* [HHH-12995] - Querying DECIMAL columns via Double fields can lead to precision loss on SAP HANA
* [HHH-13000] - Association with -ToOne relation with JoinTable can't be refreshed on entity with PESSIMISTIC_LOCK
* [HHH-13001] - NPE rendering nested criteria expressions
* [HHH-13012] - JDBC default connection release mode does not match documentation
* [HHH-13027] - org.hibernate.ejb.HibernatePersistence can no longer be used as a persistence provider name
* [HHH-13040] - MetadataBuilderContributor should be applied before MetadataBuildingProcess.prepare
* [HHH-13042] - DelayedPostInsertIdentifier cannot be cast to class java.lang.Integer
* [HHH-13044] - MapsId and flushMode commit causes PersistenceException
* [HHH-13045] - Accessing id property of association within element collection in query leads to exception
* [HHH-13050] - On release of batch it still contained JDBC statements logged; unable to release batch statement
* [HHH-13053] - DelayedPostInsertIdentifier EXCEPTION on flush of identity created PARENT that has sequence created CHILD with cascade, when batch_update is true
* [HHH-13060] - Throw an exception when two entities are declared with the same name
* [HHH-13062] - Migrate User Guide links from Java EE 7 to 8
* [HHH-13064] - Documentation of Lock and LockModeType is on two columns instead of 3
* [HHH-13070] - callbackRegistry is not injected to event listener when appended to listener group using REPLACE_ORIGINAL duplication strategy
* [HHH-13076] - Hibernate “Transaction already active” behaviour with custom transaction manager
* [HHH-13097] - Hibernate enhancer is superslow after upgrade to latest 5.3 or 5.4-SNAPSHOT
** New Feature
* [HHH-12857] - Support the security manager with ByteBuddy as bytecode provider
** Task
* [HHH-10782] - Add a comment about what you can expect from a query plan cache cleanup
* [HHH-12730] - User types built using 5.1 are not binary compatible with 5.3
* [HHH-12751] - Remove the hibernate-infinispan OSGi feature as it's now provided by Infinispan
* [HHH-12762] - No longer needing to use port-offset in WildFly integration tests
* [HHH-12774] - JARs missing from the distribution ZIP
* [HHH-12785] - Test Javassist support
* [HHH-12788] - Enable mockito-inline for the Agroal integration module
* [HHH-12789] - Upgrade to Mockito 2.19.0
* [HHH-12793] - Upgrade Karaf, pax-exam and reenable the OSGi tests
* [HHH-12799] - Enforce version alignment of Mockito and ByteBuddy dependencies
* [HHH-12801] - Error message in SqlFunctionMetadataBuilderContributorIllegalClassArgumentTest differs with JDK 11
* [HHH-12803] - Upgrade ByteBuddy to 1.8.13
* [HHH-12805] - Upgrade Mockito to 2.19.1
* [HHH-12807] - Disable the hibernate-orm-modules tests for JDK 11
* [HHH-12808] - Upgrade Gradle to 4.8.1
* [HHH-12809] - Use an HTTP link for the Javadoc link to our Bean Validation documentation
* [HHH-12813] - Disable Asciidoclet in Javadoc generation
* [HHH-12816] - Enable the experimental features of ByteBuddy when building with JDK 11
* [HHH-12820] - Merge the migration guides in the code base
* [HHH-12828] - ScannerTests#testGetBytesFromInputStream() is not stable enough
* [HHH-12840] - Simplify implementation of LocalObjectUuidHelper
* [HHH-12841] - DriverManagerConnectionProviderImpl: implement lazy Thread starting and fix visibility guarantees
* [HHH-12877] - Upgrade ByteBuddy to 1.8.15
* [HHH-12884] - Upgrade to Gradle 4.9
* [HHH-12887] - Remove direct dependency on ASM
* [HHH-12894] - Simplify code of StandardSessionFactoryServiceInitiators
* [HHH-12898] - Enable integration tests for Oracle Standard Edition Two 12.1.0.2.v12 on the AWS build slaves
* [HHH-12899] - Enable integration tests for MS SQL Server on the AWS build slaves
* [HHH-12901] - Enable loading of additional JDBC drivers from a local path
* [HHH-12904] - Removing some dead code in InFlightMetadataCollectorImpl and MetadataImpl
* [HHH-12909] - Upgrade ByteBuddy to 1.8.17
* [HHH-12911] - Removing unused field from org.hibernate.mapping.Collection
* [HHH-12914] - Avoid need to create a java.lang.reflect.Proxy to implement org.hibernate.engine.jdbc.BlobProxy
* [HHH-12947] - Remove need for BootstrapContext where it's unused
* [HHH-12948] - Allow using a custom SessionFactoryOptionsBuilder to create a SessionFactoryBuilderImpl
* [HHH-12949] - Upgrade to Gradle 4.10
* [HHH-12950] - Use the Annotation Processor specific scopes of Gradle
* [HHH-12954] - Refactor boot/model/relational/Database to avoid holding references to MetadataBuildingOptions
* [HHH-13006] - Upgrade to Gradle 4.10.2
* [HHH-13007] - No longer use net.bytebuddy.experimental=true when testing on JDK11
* [HHH-13014] - Expose bytecode common utilities as SPI
* [HHH-13015] - Optimise loading of EntityCopyObserver implementation
* [HHH-13018] - Upgrade to Hibernate Commons Annotations 5.0.5.Final
* [HHH-13026] - Documentation: fixing link to Infinispan documentation section regarding Hibernate 2LC
* [HHH-13028] - Make ASTPrinter caches use less memory
* [HHH-13029] - Avoid static singletons to hold on Strategy Registration Implementations
* [HHH-13030] - Provide a`hibernate-orm-modules` tested version for WildFly 14.0.x
* [HHH-13033] - Upgrade ByteBuddy to 1.9.1
* [HHH-13034] - Upgrade Hibernate Validator to 6.0.13.Final
* [HHH-13035] - Upgrade Agroal to 1.2
* [HHH-13036] - Upgrade HikariCP to 3.2.0
* [HHH-13037] - Upgrade Vibur to 22.2
* [HHH-13038] - Upgrade ByteBuddy to 1.9.2
* [HHH-13039] - Upgrade Agroal to 1.3
* [HHH-13047] - Deprecate Environment#verifyProperties
* [HHH-13048] - Allow for parallel processing of entity enhancements via ByteBuddy
* [HHH-13074] - Upgrade ByteBuddy to 1.9.3
* [HHH-13075] - Upgrade Javassist to 3.24.0-GA
* [HHH-13091] - Upgrade Ehcache 2 to 2.10.6 and Ehcache 3 to 3.6.1
* [HHH-13092] - Upgrade Hibernate Commons Annotations to 5.1.0.Final
* [HHH-13099] - Update to Byte Buddy 1.9.4
* [HHH-13100] - All custom implementation of Byte Buddy "Implementation" s should have a proper equals and hashcode
* [HHH-13101] - Document hibernate.id.disable_delayed_identity_inserts in user guide and migration guide
** Improvement
* [HHH-9038] - Use "cascade constraints" when dropping tables for HSQLDB
* [HHH-9241] - Allow declaring non-java.util Collection interfaces
* [HHH-12144] - Support JTS version 1.16.0
* [HHH-12196] - Sybase Dialect not supporting max result - paging
* [HHH-12349] - User Guide documentation for @Filter is too verbose
* [HHH-12361] - In the User Guide, omit constructors and equals/hashCode for brevity
* [HHH-12368] - java.sql.SQLFeatureNotSupportedException in LobCreatorBuilderImpl
* [HHH-12608] - Add the ST_DWithin() function in DB2 Spatial Dialect
* [HHH-12653] - Throw MappingException if both @MappedSuperclass and @Inheritance are used
* [HHH-12713] - Make EntityGraph creation more convenient
* [HHH-12763] - Log which JtaPlatform implementation is used at startup on info level.
* [HHH-12770] - HHH-12770 - Document @NotFound(action = NotFoundAction.IGNORE) and FetchType.LAZY behavior
* [HHH-12775] - Avoid join on property access mapped by natural id
* [HHH-12778] - BasicProxyFactoryImpl.getProxy() swallows exception
* [HHH-12804] - No need to mock Map in CollectionBinderTest
* [HHH-12811] - @UpdateTimestamp and @CreationTimestamp missing @Target annotation and breaking in Kotlin
* [HHH-12830] - Improve error output with transaction issues
* [HHH-12855] - Add query plan compilation statistics
* [HHH-12872] - Reduce memory consumption of XSD schema validations
* [HHH-12879] - Remove unnecessary constants in StandardDialectResolver
* [HHH-12892] - Fix spelling issues in the User Guide
* [HHH-12896] - Minor memory improvements in HQLQueryPlan
* [HHH-12907] - Avoid garbage collection pressure when creating proxies with ByteBuddy
* [HHH-12917] - Interning of strings for Filter definitions
* [HHH-12918] - Interning of strings for Formula and Column exctraction templates
* [HHH-12919] - Interning of strings for EntityReferenceAliases
* [HHH-12922] - Hibernate Connection Pool Validation Thread should have a name
* [HHH-12925] - The JDBC Type to Hibernate matching is limited to the Dialect only instead of considering the Type contributions as well
* [HHH-12928] - Remove vestigial 'naturalIdTypes' field
* [HHH-12929] - Add AtomikosJtaPlatform implementation
* [HHH-12946] - Include JAXB as a dependency as it's not provided by JDK 11
* [HHH-12952] - Document the hibernate.statistics.query_max_size behavior and explain its implications
* [HHH-12957] - Calling custom functions in JPQL with the function() is missing in the documentation
* [HHH-12961] - The links in the Javadoc of the SAP HANA dialects don't work
* [HHH-12962] - Document how to tune the query plan cache size
* [HHH-12974] - Document @OnDelete behavior in regards to disabling the Persistence Context entity removal cascading event
* [HHH-12977] - Update latest dialect for MySQL
* [HHH-12978] - Enum value binding is not logged by BasicBinder
* [HHH-12982] - Generify Hibernate#unproxy
* [HHH-12989] - Support heterogeneous collections passed to JPA's (criteria) Expression#in
* [HHH-13003] - Skip processing of empty resource names defined for hibernate.hbm2ddl.import_files
* [HHH-13005] - Upgrade ByteBuddy to 1.9.0
* [HHH-13009] - No documentation for "hibernate.javax.cache.cache_manager"
* [HHH-13011] - Add option enabling/disabling use of an entity's mapped where-clause when loading collections of that entity
* [HHH-13017] - Exception on Service stop isn't logging the full stack
* [HHH-13020] - When proxying an entity having a private default constructor, the log message is not very clear about the problem
* [HHH-13021] - Add support for SAP HANA full-text search functions
* [HHH-13022] - Make OSGi integration work on JDK11
* [HHH-13025] - Rename MetadataContext#getEmbeddableTypeMap to getEmbeddableTypeSet
* [HHH-13051] - Structure of audit-tables should be extensible
* [HHH-13056] - Fix typo in documentation: "listner" should be "listener"
* [HHH-13057] - Prevent Byte Buddy's Advice helper to need reloading many resources from the ClassLoader
* [HHH-13061] - Introduce a 'none' option for BytecodeProvider implementation choice
* [HHH-13069] - Update the links to JBoss Nexus to use the direct repository over https
* [HHH-13071] - Remove deprecated call from gradle plugin
* [HHH-13078] - Not choosing the right dialect for SQL Anywhere 17
* [HHH-13090] - Allow to use specific cache implementations in Ehcache cache provider
Changes in 5.3.2.final (July 5, 2018)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31676/tab/release-report-done
** Sub-task
* [HHH-12683] - Update documentation about support for JPA CriteriaUpdate and CriteriaDelete
** Bug
* [HHH-9403] - AssertionFailure: Fail to process type argument in a generic declaration
* [HHH-11979] - Invalid SQL when force increment version of inherited entity
* [HHH-12124] - The JPA Metamodel does not allow to retrieve the actual EmbeddableType since all instances are registered by the associated Java type
* [HHH-12247] - Bootstrap error information is only logged at DEBUG level
* [HHH-12353] - Document that Session.getReference not always returns a T
* [HHH-12396] - Problem with mapping of the annotation @Enumerated(EnumType.STRING)
* [HHH-12476] - NativeQuery with EntityGraphs assumes a HQL query
* [HHH-12531] - JCache existing cache not detected.
* [HHH-12553] - ConcurrentModificationException in OsgiClassLoader
* [HHH-12561] - bulk_id_strategy does not work with globally_quoted_identifiers
* [HHH-12594] - Using property "hibernate.default_batch_fetch_size" crashes bootstrapping
* [HHH-12603] - Contributing using Eclipse Documentation out of Date
* [HHH-12607] - Wrong audit data of ElementCollection attribute of map
* [HHH-12633] - ClassCastException when updating lazy loaded bytecode enhanced byte[]
* [HHH-12639] - No user friendly error on incompatible WildFly Transactions Client
* [HHH-12640] - Update to JBossStandAloneJtaPlatform should be backward compatible attempting old names as well
* [HHH-12649] - Auto-register entity and collection caches based on the Hibernate @Cache annotation (XML mapping) settings
* [HHH-12651] - org.hibernate.Session.*Query(Ljava/lang/String) methods return different types in 5.1 and 5.3
* [HHH-12657] - ClassCastException: org.hibernate.mapping.SingleTableSubclass cannot be cast to org.hibernate.mapping.RootClass
* [HHH-12660] - Missing verb in reference documentation
* [HHH-12661] - Hibernate types (e.g. NumericBooleanType, YesNoType and any implementations of UserType) cannot bind value in StoredProcedureQuery
* [HHH-12668] - support for persistence_2_2.xsd and orm_2_2.xsd
* [HHH-12671] - INSERT time in-db generated properties not persisted with IDENTITY insert
* [HHH-12684] - Hibernate fails when mapping one-to-many collections by non-primary key
* [HHH-12685] - java.lang.ClassCastException when checking if parameter isBound in criteria query
* [HHH-12687] - ManyToOne associations in embeddable collection elements and composite IDs are always eagerly loaded
* [HHH-12688] - Duplicated Error Information Displayed in the Log
* [HHH-12691] - Code block is broken in documentation about AUTO flushing
* [HHH-12697] - Headings problem in Hibernate Documentation 5.3.1 - Proxool configuration
* [HHH-12698] - Headings problem in Hibernate Documentation 5.3.1 - Transation Patterns
* [HHH-12700] - Missing property in sample code in documentation of bulk-id strategies
* [HHH-12715] - Error in documentation sample code about JPQL and HQL
* [HHH-12724] - Add javax.activation as a dependency
* [HHH-12729] - Binary and behavioral incompatibilities of org.hibernate.Query.getFirstResult(), setFirstResult(), getMaxResults(), setMaxResults()
* [HHH-12731] - TOC hidden in the generated Asciidoctor docs
* [HHH-12732] - Don't generate auxiliary HTML files in the documentation
* [HHH-12738] - Session/EntityManager is closed in ForeignGenerator (JTA setup)
* [HHH-12739] - CLONE - AssertionFailure: Fail to process type argument in a generic declaration
* [HHH-12754] - *EqualsHashCodeTest, UnspecifiedEnumTypeTest fail with DB2, SQL Server, Sybase and Oracle
* [HHH-12755] - RevisionConstraintQuery.testRevisionsLtQuery fails with PostgreSQL 10.1 and EnterpriseDB 10.1
* [HHH-12757] - EntityMapCompositeElementTest fail with oracle
* [HHH-12764] - IdClassReferenceIdentifierTest fail with Oracle
* [HHH-12765] - LazyInitializationWithoutInlineDirtyTrackingTest fails with SQL Server
* [HHH-12767] - Fix tests failing on Oracle
** New Feature
* [HHH-12662] - JPQL queries fail when using the Java attribute type which has an associated AttributeConverter (only the DB column type works)
** Task
* [HHH-12348] - Hibernate ORM Document user guide, architecture of Hibernate class is out of date
* [HHH-12637] - Add more tests and improve fix for HHH-12592
* [HHH-12658] - Upgrade to Gradle 4.7
* [HHH-12659] - Configure ForbiddenAPIs for JDK10 as intended target compatibility
* [HHH-12663] - Avoid depending on any SNAPSHOT dependency
* [HHH-12674] - Upgrade to Gradle 4.8
* [HHH-12677] - Update javadoc API links from EE7 to EE8
* [HHH-12689] - Upgrade to Gradle WildFly build tools 0.0.9
* [HHH-12692] - Modify SessionImpl.toString to be quiet by default and verbose when trace is enabled
* [HHH-12694] - Upgrade to Hibernate Commons Annotations 5.0.4.Final
* [HHH-12701] - Upgrade to Jandex 2.0.5.Final
* [HHH-12743] - Cleaning ProviderChecker from some deprecated and dead code
* [HHH-12744] - Remove no longer necessary jboss-deployment-structure.xml from integration tests
* [HHH-12758] - Arquillian JVM configuration for integration tests is ignoring system properties
* [HHH-12759] - Upgrade integration tests to WildFly 13.0.0.Final
* [HHH-12760] - Remove no longer needed EqualsHelper and cleanup some equality checks
* [HHH-12766] - Upgrading to Byteman 4.0.3
** Improvement
* [HHH-11495] - Cache MetaModel#getImplementors() results
* [HHH-12341] - Documentation refers to nonexistent "image clob"
* [HHH-12350] - User Guide documentation for @Any is too verbose
* [HHH-12351] - User Guide: document why Subselect always requires Synchronize
* [HHH-12604] - Replace EqualsHelper.equals with Objects.equals
* [HHH-12630] - Add error logging to org.hibernate.cache.spi.AbstractRegionFactory.start(SessionFactoryOptions, Map)
* [HHH-12654] - Throw MappingException if both @Inheritance and @AttributeOverride are used
* [HHH-12656] - Document how contributors can run tests on different databases
* [HHH-12670] - Allows native SQL queries that take a given resultClass to map the result set to the required type
* [HHH-12686] - Replace EmptyIterator with Collections.emptyIterator()
* [HHH-12699] - Performance issue in ResultSetWrapperProxy.locateCorrespondingColumnIndexMethod() line 137 due to repeated use of Class.getMethod(String, Class[]) reflection call
* [HHH-12702] - Make JCacheRegionFactory easier to subclass
* [HHH-12710] - BaseCoreFunctionalTestCase opens an InputStream for mapping files but never closes it
* [HHH-12716] - Sample code is required for documentation of disabling polymorphism in queries
* [HHH-12723] - Revert the changes applied by HHH-12585 to the DefaultFlushEntityEventListener#invokeInterceptor() method
* [HHH-12725] - Upgrade the Asciidoctor plugin to 1.5.7 for JDK 9 compatibility
* [HHH-12727] - Performance issue in ResourceRegistryStandardImpl.register lines 67, 70
* [HHH-12734] - StrategySelectorImpl - Add original exception when selected strategy could not be loaded
* [HHH-12741] - Register new reserved words added in MySQL 8.0
* [HHH-12749] - Avoid setting the isolation level to the same value in C3P0ConnectionProvider
* [HHH-12769] - Rework LockTest#testContendedPessimisticLock so that it can work on Oracle without throwing exceptions
Changes in 5.3.1.final (May 25, 2018)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31673/tab/release-report-done
** Bug
* [HHH-12569] - Referential integrity violation on insert when using @OneToOne with @JoinColumn with hibernate.order_inserts=true
* [HHH-12577] - Warning log appears on an AttributeConverter<enum, String>
* [HHH-12579] - Bytecode enhancement with Generics on @MappedSuperclass crashes bootstrapping while using Bytebuddy
* [HHH-12581] - NPE for Criteria query containing fetch join as a regression of HHH-12338
* [HHH-12584] - Bytebuddy ReflectionOptimizer does not work with abstract class
* [HHH-12586] - Strange date type confusion in JdbcDateTypeDescriptor
* [HHH-12587] - Flushing enhanced entity with @Cache(usage = CacheConcurrencyStrategy.NONE) fails
* [HHH-12592] - Merge of detached, enhanced entity with orphanRemoval = true collection fails since 5.2.13
* [HHH-12599] - Add Javadoc indicating that region names do not include a prefix
* [HHH-12602] - Bytecode Enhancement documentation refers to removed property hibernate.ejb.use_class_enhancer
* [HHH-12612] - TYPE_USE annotated collections and elements fail metamodel generation.
* [HHH-12614] - Protection domain ignored when enhancing+loading classes with ByteBuddy
* [HHH-12617] - Caching log message prints null rather than class name.
* [HHH-12620] - Update JBossStandAloneJtaPlatform to use org.wildfly.transaction.client.* TM/UT
* [HHH-12621] - Thread-unsafe behavior of Query Spaces in Named Queries
* [HHH-12622] - JdbcResourceLocalTransactionCoordinatorImpl#markRollbackOnly should be ignored if there is no TX
* [HHH-12627] - Caching debug log error: java.util.MissingFormatArgumentException: Format specifier '%s'
* [HHH-12631] - Fix invalid tracev calls in DefaultResolveNaturalIdEventListener
* [HHH-12634] - Make EntityPrinter more permissive regarding the parameters passed
** Task
* [HHH-12575] - Upgrade to Classmate 1.3.4
* [HHH-12576] - Upgrade to jboss-transaction-api 1.1.1.Final
* [HHH-12580] - The WildFly module of ByteBuddy should be marked as private API
* [HHH-12583] - Deprecate hibernate.proc.param_null_passing setting
* [HHH-12610] - Upgrade to Byte Buddy 1.8.11 to improve JDK compatibility
** Improvement
* [HHH-12559] - Add support for MySQL 8 SKIP LOCKED and NOWAIT
* [HHH-12572] - Exclude LockMode.WRITE from loader creation loop
* [HHH-12585] - Improve DefaultFlushEntityEventListener#invokeInterceptor method execution
* [HHH-12589] - Add support for registering custom SQL functions when bootstrapping via JPA
* [HHH-12591] - Remove second call to Scope#setSessionFactory(SessionFactoryImplementor) from TypeConfiguration#scope(SessionFactoryImplementor,BootstrapContext)
* [HHH-12605] - Boxed variables never null
* [HHH-12606] - Container contents are never accessed
* [HHH-12615] - Make AbstractEntityPersister#getLoaderByLockMode() and a few others protected final
* [HHH-12616] - Clarify ambiguity in License name
* [HHH-12618] - ByteBuddy enhancement - Use MethodHandle lookup if available
* [HHH-12626] - Avoid high CPU contention by not allocating Session UUIDs eagerly
* [HHH-12629] - Make some methods protected in DefaultLoadListener
* [HHH-12636] - Upgrade to ByteBuddy 1.8.12 to fix issue with entities having no package
Changes in 5.3.0.Final (May 14, 2018)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/projects/HHH/versions/31661/tab/release-report-done
** Bug
* [HHH-8786] - find, refresh, lock should throw LockTimeoutException or PessimisticLockException when lock problems occur
* [HHH-10435] - ClassLoaderServiceImpl is getting a Permission check failed "createClassLoader" when run under Java security manager
* [HHH-11859] - Class annotated with @Audited (withModifiedFlag = true) is giving error when executing update.
* [HHH-12011] - Field annotated with target TYPE_USE break metamodel generation
* [HHH-12090] - PropertyAccessBuildingException: Could not locate setter for property named XXX for Java 8 default methods
* [HHH-12199] - Static fields should be ignored when resolving property type via reflection
* [HHH-12362] - Allow both SQL query hints and comments
* [HHH-12470] - Batching statements fails for delete
* [HHH-12517] - Incorrect method references in @deprecated elements of the Query javadoc
* [HHH-12529] - Some StatisticsImpl methods throw an exception instead of returning null
* [HHH-12534] - SAP HANA dialects use unqualified dummy table in queries
* [HHH-12535] - SAP HANA dialect doesn't support circular cascade delete constraints
* [HHH-12539] - NPE in AbstractPropertyMapping.getCommonPersistentClass when creating UnionSubclassEntityPersister for dynamic-map
* [HHH-12540] - Reusing same EntityTransaction with JTA enabled
* [HHH-12546] - locate function doesn't work on SAP HANA
* [HHH-12565] - Can't use TYPE function on leaf subtype of a table per class inheritance hierarchy
** New Feature
* [HHH-12505] - Option to disable scanning of entity mapping metadata