forked from hibernate/hibernate-orm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchangelog.txt
4547 lines (4061 loc) · 271 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 Changelog
===================
Note: Newer entries are automatically generated and the description might not
match the actual issue resolution (i.e. a bug might not be a bug). Please
refer to the particular case on JIRA using the issue tracking number to learn
more about each case.
Changes in version 4.1.1.Final (2012.03.07)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11859
** Bug
* [HHH-6883] - Informix dialect incorrectly reports that temp tables are not supported
* [HHH-7046] - Polymorphic query by natural ID broken
* [HHH-7073] - Audited entities with Many-to-Many relationships fail with NullPointerException
* [HHH-7085] - Entities marked as @Immutable that have a @NaturalId fail to be inserted with NPE
* [HHH-7089] - NPE during SessionFactoryImpl init when 2L caching is enabled and @NaturalIdCache is used with EHcache
* [HHH-7094] - Session is not flushed before NaturalIdLoadAccess is executed
* [HHH-7095] - Handle RegionFactory.buildNaturalIdRegion throwing UnsupportedOperationException
* [HHH-7096] - Settings not available in SingletonEhCacheRegionFactory
* [HHH-7097] - Entity load event doesn't result in naturalId->pk caching
* [HHH-7102] - Misleading error message is shown when no RegionFactory is manually set
* [HHH-7106] - Documentation doesnt explain how to create audited tables
* [HHH-7117] - MultipleLinesSqlCommandExtractor does not accept trailing white spaces after last statement
* [HHH-7127] - Query region evictAll not working on local mode
* [HHH-7129] - Throw exception when metadata attempts to spread @NaturalId across an entity hierarchy
* [HHH-7138] - Hibernate implements JPA @OneToMany collection versioning incorrectly
* [HHH-7147] - ServiceRegistry is starting services twice
** Deprecation
* [HHH-7023] - Deprecate HQL-specific (JDBC-style) positional parameters
** Improvement
* [HHH-5927] - Performance risk: Suboptimal synchronization in org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan
* [HHH-6589] - Skip non-JPA features populating JPA "static metamodel"
* [HHH-6946] - Add support for the AS400 (iSeries) system to StandardDialectResolver
* [HHH-6983] - remove common-collections dependency
* [HHH-7066] - Improve memory allocation on String extraction out of Clob fields
* [HHH-7128] - Upgrade to Infinispan 5.1.2.CR1
** Patch
* [HHH-4417] - Add annotation support for UserCollectionType
* [HHH-6100] - Bug fix related to CriteriaQuery (JPA) when using XML mappings
** Task
* [HHH-7062] - upgrade to jboss-logging 3.1.0.GA
* [HHH-7067] - Update build to work with Gradle m8
* [HHH-7153] - Update to newest jDocBook tool chain versions
Changes in version 4.1.0.Final (2012.02.08)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11223
** Bug
* [HHH-3218] - ManyToOne Persisting Cascade in Embeddable as part of ElementCollection
* [HHH-3544] - Nullability.checkNullability() throws PropertyValueException (not-null property references a null property) for a property that ForeignKeys.Nullifier.nullifyTransientReferences() just nulled
* [HHH-3853] - one-to-one mapping doesn support Primary Key Association
* [HHH-4962] - @ManyToOne with @JoinTable fails
* [HHH-5024] - MetadataContext#registerAttribute does not recognize inherited fields
* [HHH-5299] - Multi-Level cascading of unsaved instances with bidirectional associations fails with TransientObjectException (Carl-Eric Menzel)
* [HHH-5755] - javax.persistence.criteria.Expression.as() is broken
* [HHH-6580] - Discriminator value used as ID when inserting entity to PosgtreSQL
* [HHH-6689] - DefaultMergeEventListener changes CheckNullability flag - not thread save
* [HHH-6738] - Hardcoded alias causing problems
* [HHH-6744] - TransientObjectException thrown on dirty check during flush with CHECK_NULLABILITY set to false
* [HHH-6825] - AuditException with @OneToOne-mappedBy and @PrimaryKeyJoinColumn
* [HHH-6964] - EnversIntegrator is always detected by default while initializing Serviceregistry using Native Hibernate API causing a MappingException even when Envers is not used
* [HHH-6967] - Reapply HHH-6906
* [HHH-6969] - Reference manual discusses removed SessionFactory.openSession(Interceptor) method
* [HHH-6984] - some statistics are incremented even when stats are disabled
* [HHH-7003] - Scale = 0 doesn't supported
* [HHH-7006] - keyword "top" causes test fail on ms sql server
* [HHH-7007] - Replacing the region factory in the global cache command factory could affect other apps
* [HHH-7016] - NullPointerException in CacheAdapterImpl when evictAll
* [HHH-7021] - PostgreSQL 8.1 and earlier does not support if exists before drop (Eric Dalquist)
* [HHH-7022] - AbstractMultiTenantConnectionProvider never closes connections causing resource exhaustion
* [HHH-7030] - EventListenerRegistry interface generic declaration is not extensible to subclasses
* [HHH-7034] - java.sql.SQLTimeoutException should be mapped to org.hibernate.QueryTimeoutException
* [HHH-7041] - SQLServer2005Dialect handles DISTINCT clauses incorrectly
* [HHH-7044] - SQLServer2005Dialect parses GROUP BY clause incorrectly
** Deprecation
* [HHH-7014] - Deprecate PostgreSQLDialect
* [HHH-7032] - Deprecate Dialect.buildSQLExceptionConverter()
** Improvement
* [HHH-2879] - add an actual api for loading an entity by natural candidate key (mapped natural-id)
* [HHH-3910] - custom dirty flag tracking
* [HHH-4358] - Having to use @ForceDiscriminator kind of breaks JPA compatibility
* [HHH-5472] - Delay saving an entity if it does not cascade the save to non-nullable transient entities
* [HHH-6923] - Remove org.hibernate.service.instrumentation.spi.InstrumentationService
* [HHH-6944] - Update Dialects to return SQLExceptionConversionDelegate
* [HHH-6957] - Throw TransientPropertyValueException if there are unresolved entity insert actions after persist/save/merge listeners execute
* [HHH-6968] - Update overview.html for aggregated JavaDocs
* [HHH-6974] - Add caching to new "load access" api for natural id loading
* [HHH-6980] - Upgrade to Infinispan 5.1.0.CR4
* [HHH-6994] - Have EntityEntry fire notification to PersistenceContext on loadedState being updated
* [HHH-6998] - Expand CustomEntityDirtinessStrategy to define findDirty
* [HHH-7009] - Create PostgreSQL81Dialect and PostgreSQL82Dialect (Eric Dalquist)
* [HHH-7026] - upgrade to infinispan 5.1.1.FINAL
** New Feature
* [HHH-6605] - Storing information about changes of properties
** Task
* [HHH-6082] - Incorporate EntityManager documentation into main dev guide
* [HHH-6336] - Add TenantIdentifierResolver
* [HHH-6656] - Document org.hibernate.service.classloading.spi.ClassLoaderService
* [HHH-6966] - Re apply HHH-6782
* [HHH-6985] - Change up tests for PostgreSQL LockMode issues
* [HHH-7011] - Document multi-tenancy
* [HHH-7018] - change EntityManagerFactory serialization to just serialize the name and lookup the previously created EntityManagerFactory during deserialization
Changes in version 4.0.1.Final (2012.01.11)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11754
** Sub-task
* [HHH-2763] - Allow initialization during flush
* [HHH-6952] - Allow extensions of InfinispanRegionFactory to override classloader logic
** Bug
* [HHH-4439] - In general it is impossible to override properties defined in @MappedSuperclass to change how they will be handled during auditing.
* [HHH-5275] - Criteria.setLockMode does not work correctly
* [HHH-5891] - AuditReaderImpl.getRevisions result is not ordered as specified in Javadoc
* [HHH-6854] - testSubsequentPooledLoOptimizerUsage doesn't actually test the PooledLo optimizer
* [HHH-6855] - SequenceStyleGenerator should force use of TableStructure when the optimizer is PooledLo
* [HHH-6902] - Create typed query in EntityManager throws NullPointerException when filters are present
* [HHH-6906] - Clean up javadoc warnings
* [HHH-6909] - "Getting Started Guide" example code cannot be run successfully
* [HHH-6916] - Improper handling of primitive arrays in AbstractQueryImpl.registerParameterBinding
* [HHH-6920] - HQL insert queries and identifier handling
* [HHH-6921] - jandex and classmate dependencies should not be exported to published pom
* [HHH-6933] - Developer's guide has strange markup in Chapter 1
* [HHH-6936] - EntityManagerImpl.close() and EntityManagerImpl.isOpen() should check if the session factory is closed
** Improvement
* [HHH-6822] - Split notions of (1) "naming" a SessionFactory and (2) specifying a JNDI name to which to bind it
* [HHH-6840] - Add to_char function to HSQLDialect
* [HHH-6887] - Improve SQLStateConverter to take sql state type from the database metadata into account
* [HHH-6955] - Upgrade to Infinispan 5.1.0.CR3
** New Feature
* [HHH-6931] - Provide local database hook
* [HHH-6940] - Ability (easier) to run bits of code in a timeout protected way
** Patch
* [HHH-5124] - Removing an entity and persisting it again fails
** Task
* [HHH-6657] - Document org.hibernate.integrator.spi.IntegratorService
* [HHH-6782] - define javadoc groups based on api/spi/internal
* [HHH-6897] - serialization of the EntityManager should be possible
* [HHH-6900] - upgrade to org.javassist:javassist:3.15.0-GA
* [HHH-6903] - add building of hem and manual docs
* [HHH-6937] - Process database profiles just once per build
Changes in version 4.0.0.Final (2011.12.14)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11656
** Bug
* [HHH-6836] - some test failures on Oracle
* [HHH-6866] - UUID wrongly mapped as 'char(255) for bit data' on DB2
* [HHH-6867] - test data overflow causes org.hibernate.test.cut.CompositeUserTypeTest.testCustomColumnReadAndWrite fails on DB2
* [HHH-6870] - sysdate function in oracle dialect is a non argu and no parentheses function
** Improvement
* [HHH-6729] - Upgrade to Infinispan 5.1 and update default second level cache config file
** Task
* [HHH-6423] - Add JoinedIterable<T>
Changes in version 4.0.0.CR7 (2011.11.30)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11653
** Bug
* [HHH-5222] - upgrade from READ to OPTIMISTIC_FORCE_INCREMENT fails
* [HHH-5945] - Race condition in building query cache
* [HHH-5992] - A query fails to return correct results silently
* [HHH-6068] - JPA-specified default schema ignored for Hibernate sequences
* [HHH-6425] - On Sybase ASE, insert a empty string '' to db, it stores it as single space ' '
* [HHH-6773] - test fails on sybase
* [HHH-6780] - Wrong Query timeout calculation
* [HHH-6806] - Auto scan for JPA entities does not work in exploded packages in JBoss AS < 7
* [HHH-6807] - org.hibernate.test.lob.LobMergeTest fail on Sybase ASE
* [HHH-6817] - Logging of strings containing the percent character broken
* [HHH-6819] - org.hibernate.test.importfile.CommandExtractorServiceTest/MultiLineImportFileTest fail
* [HHH-6820] - Skip test org.hibernate.ejb.test.lock.LockTest.testContendedPessimisticLock for Sybase ASE15.5
* [HHH-6827] - org.hibernate.test.tm.CMTTest#testConcurrentCachedDirtyQueries is falling
* [HHH-6828] - BasicOperationsTest does not take into account that databases can treat identifers differently when it come to lower or upper case
* [HHH-6830] - QueryAndSQLTest.testNativeQueryWithFormulaAttribute fails due to hard coded function names
* [HHH-6834] - skip test BasicOperationsTest on oracle due to a oracle jdbc driver issue
* [HHH-6842] - Skip org.hibernate.test.annotations.manytoonewithformula.ManyToOneWithFormulaTest#testManyToOneFromNonPkToNonPk for DB2
* [HHH-6843] - LockTest#testContendedPessimisticLock is too agressive in its assumptions
* [HHH-6849] - SQLServer2005Dialect changes the order of selected columns when using pagination
* [HHH-6850] - no Types.BINARY mapping in DB2 dialect
* [HHH-6851] - DB2 doesn't support NotNullUnique causes org.hibernate.test.annotations.uniqueconstraint.UniqueConstraintTest.testUniquenessConstraintWithSuperclassProperty fail
* [HHH-6852] - DB2 doesn't support exists in select
* [HHH-6856] - RowValueConstructorSyntax with In syntax is not working
* [HHH-6863] - serviceBindingList in AbstractServiceRegistryImpl needs synchronization
* [HHH-6865] - PessimisticLockException should be thrown when pessimistic read and write locking strategies fail
* [HHH-6867] - test data overflow causes org.hibernate.test.cut.CompositeUserTypeTest.testCustomColumnReadAndWrite fails on DB2
** Improvement
* [HHH-4055] - make UpdateTimestampsCache pluggable, like QueryCache
* [HHH-6833] - Eable SQL logging for tests
* [HHH-6845] - Avoid repeated invocations of ReflectHelper.overridesEquals in proxy initializers
* [HHH-6858] - Minor performance improvements after hotspots analysis
* [HHH-6862] - Reuse cached entryArray of IdentityMap in StatefulPersistenceContext as much as possible
* [HHH-6868] - Lazily initialize HashMap in LockOptions
** Patch
* [HHH-6286] - UpdateTimestampsCache should try to avoid acquiring lock if possible
** Task
* [HHH-6818] - update dependencies management
* [HHH-6821] - Upgrade to jboss-logging-tools 1.0.0.CR5
* [HHH-6853] - upgrade to jboss-logging 3.1.0.CR2
* [HHH-6860] - Upgrade to Hibernate Commons Annotations 4.0.1 when released
Changes in version 4.0.0.CR6 (2011.11.10)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11652
** Bug
* [HHH-3716] - Sybase - null values for columns mapped as "boolean" are persisted as 0 (zero) instead of NULL
* [HHH-5413] - null values for columns mapped as "boolean" cause exception when saving entity with Sybase jdbc4
* [HHH-6714] - Parentheses dissapear in HQL query where they should stay
* [HHH-6753] - Envers WorkUnits: Problems with merge
* [HHH-6779] - ByteType mapped to tinyint, but on sybase/ms sql server, tinyint is unsigned int
* [HHH-6784] - The REVINFO table is always added to Hibernate's configuration, even if there are no audit tables
* [HHH-6786] - DB2 v97 doesn't support define a boolean type column
* [HHH-6789] - StringIndexOutOfBoundsException at TemplatedViolatedConstraintNameExtracter.extractUsingTemplate
* [HHH-6792] - connection leaks due to service registry is not destroyed
* [HHH-6793] - SessionCacheCleaner doesn't accomodate for closed sessions
* [HHH-6795] - unsupported Boolean type null value on Sybase causes hangs forever when doing bind parameter
* [HHH-6796] - Services retrieved after SessionFactoryServiceRegistry has started are not configured (Configurable)
* [HHH-6799] - Hibernate EntityManager bootstrap does not ensure that ServiceRegistries are closed
* [HHH-6815] - ByteTest fails on SQL Server due to driver dropping negative sign due to TINYINT data type
** Patch
* [HHH-5146] - org.hibernate.util.IdentitySet.iterator() return Map.Entry instances instead of actual elements
** Task
* [HHH-6787] - upgrade to JBoss Logging tools 1.0.0.CR3
* [HHH-6791] - tiny improvement, in favor of java auto-box instead of create new instance
* [HHH-6798] - Upgrade to Hibernate Commons Annotations GA once it's released
* [HHH-6816] - Upgrade to jboss-logging 3.1.0.CR1
Changes in version 4.0.0.CR5 (2011.10.27)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11550
** Bug
* [HHH-2304] - Wrong type detection for sql type char(x) columns
* [HHH-3434] - hql insert doesn't work when inserting into a table with composite-id
* [HHH-3843] - @Audited and @ManyToMany relation problem - after modyfing an Entity: org.hibernate.NonUniqueObjectException with message: "a different object with the same identifier value was already associated with the session ...
* [HHH-4838] - 2L-Querycache ImmutableNaturalKeyLookup not properly recognized as hasImmutableNaturalId() is called on wrong EntityMetamodel
* [HHH-4881] - restrict polymorphic query results
* [HHH-4982] - JPA OneToOne(optional=true) not supported with @PrimaryKeyJoinColumn
* [HHH-5419] - COUNT operator with composite primary key and JPA 2.0 Criteria API produces bad sql
* [HHH-6121] - Hibernate statistics should log at DEBUG level instead of INFO
* [HHH-6188] - java.util.UUID cannot be used for Ids on Oracle
* [HHH-6636] - Properties listed inside "<properties>" tag are not audited
* [HHH-6703] - id element has 'column' attribute, then the pk column is nullable in ddl created by schema export
* [HHH-6715] - Integrator classes not being located correctly
* [HHH-6717] - oracle does not have a boolean type
* [HHH-6722] - o.h.test.schemaupdate.SchemaExportTest fails if dialect does not support drop table if exist
* [HHH-6724] - AnnotationBinder and HbmBinder improperly set EntityPersisterClass upon class hierarchy
* [HHH-6737] - column names in Constraint is not quoted even column name is quoted in mapping
* [HHH-6739] - JtaIsolationDelegate.doTheWorkInNewTransaction fails to propagate or otherwise report caught exceptions
* [HHH-6748] - Test failures due to inconsistent return type of numeric from native query
* [HHH-6749] - FooBarTest.testLimit() fails on MS SQL Server due to dialect interpretation of max row
* [HHH-6750] - ASTParserLoadingTest.testAggregation() fails on MS SQL Server performing avg, presumably due to forcing result to match column type
* [HHH-6751] - Test failure due to inconsistent scale returned for BigDecimal properties
* [HHH-6755] - SQL Server/Sybase dialects don't have type mapping for binary datatype
* [HHH-6756] - Test failures due to Oracle LONG limitatations
* [HHH-6757] - QueryCacheTest.testCaseInsensitiveComparison() fails for case-insensitive DBs
* [HHH-6758] - Test failure due to Oracle restrictions on Blob comparison and missing equals() and hashcode()
* [HHH-6759] - Null properties mapped as boolean cause exception on Oracle
* [HHH-6760] - Test failures on Oracle due to identity IDs
* [HHH-6762] - ManyToOneWithFormulaTest.testManyToOneFromNonPkToNonPk() fails due to unsupported keyword
* [HHH-6764] - QueryAndSQLTest.testNativeQueryWithFormulaAttribute() fails on SQL Server due to unsupported function
* [HHH-6765] - AuctionTest2.testLazy() fails on SQL Server due to unsupported function in select clause
* [HHH-6767] - CriteriaQueryTest.testSubselect() fails on SQL Server since it doesn't support ORDER BY in a subquery
* [HHH-6770] - Oracle test failures due to reserved words used as column names
* [HHH-6771] - Test failure on Oracle due to ORDER BY in subquery
* [HHH-6772] - org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase overrides system properties
* [HHH-6775] - TargetTest.testTargetOnMapKey() fails on SQL Server due to nullable column in primary key
** Improvement
* [HHH-4854] - Make constraint violation name extraction language neutral
* [HHH-6691] - Improve JavaDoc of Wrapped wrt exception thrown upon unexpected type
* [HHH-6716] - envers should set the TCCL to the envers classloader before constructing a dom4j instance. This will allow applications to use their own version of dom4j
* [HHH-6720] - Refactor QuerySplitter
* [HHH-6723] - Remove extra join from eager @OneToOne
* [HHH-6732] - Some logging trace statements are missing guards against unneeded string creation
* [HHH-6733] - Avoid frequent usage of ReflectHelper in PojoInstantiator
* [HHH-6735] - Performance hostpot in FieldInterceptionHelper.JavassistDelegate.isInstrumented(Class)
* [HHH-6745] - Sybase ASE dialect improvement
* [HHH-6766] - Support Multicolumn Subqueries in Criteria API
** New Feature
* [HHH-6696] - Allow specifying revision listener apart from @RevisionEntity annotation
** Patch
* [HHH-4596] - Bulk insertion with assigned identifiers
** Task
* [HHH-6740] - run envers tests on db matrix
* [HHH-6742] - move unit tests back to src/test
Changes in version 4.0.0.CR4 (2011.09.28)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11357
** Bug
* [HHH-5801] - ColumnNameCache.columnNameToIndexCache map should be synchronized
* [HHH-5832] - JPA Query and IdClass Causing NullPointerException
* [HHH-6625] - EntityPrinter.toString() fails for non-POJO entities (happens when logging)
* [HHH-6642] - NullPointerException in method AbstractReadWriteEhcacheAccessStrategy.handleLockExpiry
* [HHH-6668] - JaxbProcessor can't resolve hibernate-configuration-4.0.xsd
* [HHH-6669] - Manual SchemaExport broken due to temp code comments
* [HHH-6677] - skip @BeforeClassOnce / @AfterClassOnce if test is ignored
** Improvement
* [HHH-5326] - UpdateTimestampsCache should maintain the statistics for its region
* [HHH-6674] - upgrade infinispan to 5.0.1.Final
** Task
* [HHH-6659] - upgrade maven wagon plugin to 1.0
* [HHH-6660] - Edit Transactions.xml in devguide
* [HHH-6663] - Proof/edit Services.xml in devguide
* [HHH-6675] - upgrade dependencies
* [HHH-6676] - change the Intellij metadata generated by gradle idea task configuration (max heap size to 512M by default)
* [HHH-6683] - Consolidate (consistency) building of service registries
Changes in version 4.0.0.CR3 (2011.09.14)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11363
** Bug
* [HHH-6533] - ByteTypeDescriptor is not working properly
* [HHH-6581] - JPA 2.0 Spec. Violation with Access and MappedSuperclass
* [HHH-6614] - Bad performance: audited entity updates (lots of them) with no EntityManager clear
* [HHH-6635] - C3P0: hibernate.c3p0.* configuration properties not properly parsed
* [HHH-6645] - Fix entity information
* [HHH-6647] - ValidityAuditStrategy breaks in case of concurrent updates to the same entity
** Improvement
* [HHH-6640] - Add ability for Integrator to prepare ServiceRegistryBuilder as part of lifecycle
* [HHH-6653] - Clean up JAXB generated classes
** New Feature
* [HHH-6091] - Let people customize identifier generator strategy mappings programmatically in Hibernate 4
** Task
* [HHH-6439] - Add Dialect.getAddUniqueConstraintString()
* [HHH-6626] - Improve PutFromLoadValidatorUnitTestCase to be less timesensitive
* [HHH-6634] - upgrade to jandex 1.0.3.Final
* [HHH-6641] - Document services
* [HHH-6650] - upgrade jacc dependency
* [HHH-6654] - upgrade ant to 1.8.2
* [HHH-6658] - upgrade jboss-logging-tools to 1.0.0.Beta7
Changes in version 4.0.0.CR2 (2011.08.31)
------------------------------------------------------------------------------------------------------------------------
http://hibernate.onjira.com/browse/HHH/fixforversion/11352
** Bug
* [HHH-5789] - Hibernate 3.5.4 doesn't build with OpenJDK 6b18-1.8.2 or greater
* [HHH-5848] - Columns's table name not processed by naming strategy
* [HHH-6020] - Move to JBossTS caused some test failures in hibernate-envers
* [HHH-6384] - hibernate.hbm2ddl.auto=create does not drop tables
* [HHH-6412] - hibernate version is not injected by the injection plugin
* [HHH-6586] - Document metamodel package as experimental and unsupported
* [HHH-6594] - Interceptor.onPrepareStatement no longer being called
* [HHH-6599] - Hibernate mark as rollback even for no transaction requests
** Improvement
* [HHH-6588] - rollback to use "org.hibernate.SQL" category to log sql
** New Feature
* [HHH-6618] - running hibernate functional test cases on DB matrix
** Patch
* [HHH-6577] - CUBRID Database Dialect
** Task
* [HHH-5930] - Remove hibernate-tools dependency from runtime scope if it's not needed
* [HHH-6619] - Move org.hibernate.pretty.Printer to org.hibernate.internal.util.EntityPrinter
* [HHH-6621] - Migrate to Hibernate Commons Annotations 4.0.0.CR2
* [HHH-6622] - Upgrade JBoss Logging to 3.0.0.GA
Changes in version 4.0.0.CR1 (2011.08.17)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11350
** Bug
* [HHH-6543] - JBoss AS7 transaction manager jndi lookup is wrong
* [HHH-6547] - Basic properties cannot be made nullable in HBM XML
* [HHH-6560] - Discriminator match value is not initialized in root EntityBinding
* [HHH-6563] - NullPointerException using annotations source if a unique constraint is not mapped with a constraint name
* [HHH-6564] - JBoss AS6 and earlier transaction manager jndi lookup is wrong
* [HHH-6565] - Unique constraint columns that already exist in the table are not found
** Improvement
* [HHH-6573] - change to use ClassLoaderService to locate service initiator
** Patch
* [HHH-6370] - HSQLDB dialect - fixes reported issues and adds minor enhancement (Fred Toussi)
** Task
* [HHH-6268] - Plumb MetadataImplementor into integrators
* [HHH-6337] - Add EntityBinding methods to support single-table inheritance
* [HHH-6410] - Update EntityBinding.getAttributeBindingClosureSpan() and getAttributeBindingClosure() to work for subclass EntityBindings
* [HHH-6498] - Update entity persisters and tuplizers to use EntityBinding superclass and subclass information
Changes in version 4.0.0.Beta5 (2011.08.03)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11251
** Sub-task
* [HHH-6202] - Bind inheritance type
* [HHH-6212] - Handle secondary tables
* [HHH-6393] - Implement attribute overrides for embeddables
* [HHH-6430] - MappedAttribute should make use of HibernateTypeDescriptor
* [HHH-6476] - Implement AttributeSource.getPropertyAccessorName
* [HHH-6485] - Add support for @DiscriminatorFormula
* [HHH-6488] - Implement SimpleIdentifierSource#getIdentifierGeneratorDescriptor
* [HHH-6489] - Support @javax.persistence.Temporal
* [HHH-6490] - Support @javax.persistence.Lob
* [HHH-6501] - Support @org.hibernate.annotations.Parent
* [HHH-6520] - if no @GeneratedValue on an simple @Id property, then the generator strategy should be assigned
* [HHH-6521] - Column name is not quoted even the global quote identifier property is enabled
* [HHH-6535] - Support @org.hibernate.annotations.Target
** Bug
* [HHH-1780] - negation of EXISTS in hql query does not work
* [HHH-4648] - Mapping exception when one class maps to multiple tables.
* [HHH-6469] - build error when using open jdk
* [HHH-6471] - Redesign how EntityBinding models hierarchy-shared information
* [HHH-6478] - Code cleanup in metamodel package
* [HHH-6479] - Split notions of locating and creating an attribute
* [HHH-6480] - Develop component binding for new metamodel
* [HHH-6495] - Components not handled correctly from annotations
* [HHH-6499] - NPE can be thrown by some implementations of Helper.ValueSourcesAdapter.isIncludedInInsertByDefault() and isIncludedInUpdateByDefault()
* [HHH-6500] - EntityBinding.getEntity().getSuperType() is null for subclass EntityBinding
* [HHH-6506] - Descriminator type is not resolved
* [HHH-6529] - Type is not resolved for plural attributes
** Improvement
* [HHH-6472] - Implementing EntityDiscriminator and discriminator match value
* [HHH-6482] - ddl from schema export is not correctly formatted
Changes in version 4.0.0.Beta4 (2011.07.20)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11242
** Sub-task
* [HHH-6392] - Implement attribute overrides for mapped super classes
** Bug
* [HHH-2614] - Blob Length Set to 255 By Default With Derby DB
* [HHH-6380] - Annotations source maps SingleColumnType values to Tuple
* [HHH-6381] - using @SecondaryTable with optional=true not handled for joined subclasses (@Inheritance(strategy = InheritanceType.JOINED)
* [HHH-6401] - Create @OptimisticLocking annotation
* [HHH-6418] - org.hibernate.metamodel.relational.AuxiliaryDatabaseObject extends org.hibernate.mapping.RelationalModel
* [HHH-6419] - Thread Local bound session proxy does not let SessionImplementor#getFactory() go through on inactive transactions
* [HHH-6442] - JarVisitorFactory is reconstructing URLs without the URLStreamHandler association
* [HHH-6451] - adapt hibernate-ehcache to the new api
* [HHH-6456] - Test failure in CachedPropertyRefCollectionTest behind a proxy
* [HHH-6460] - AbstractEntityPersister is missing simple property information
* [HHH-6467] - Non-association attributes are not dirty-checked
** Deprecation
* [HHH-6395] - Deprecate org.hibernate.annotations.Entity
** Improvement
* [HHH-6417] - Make EventType more debugger friendly by implementing toString
* [HHH-6421] - Reduce log level of LazyInitializationException from ERROR to TRACE
* [HHH-6437] - Improve Database to track default Schema object
* [HHH-6447] - Develop shared binding creation approach
** New Feature
* [HHH-6397] - Create @DynamicInsert annotation
* [HHH-6398] - Create @DynamicUpdate annotation
* [HHH-6399] - Create @SelectBeforeUpdate annotation
* [HHH-6400] - Create @Polymorphism annotation
** Patch
* [HHH-4630] - Criteria join on composite identifier generates wrong alias, SQL error
** Remove Feature
* [HHH-6402] - Remove previously deprecated annotations
** Task
* [HHH-6257] - Add IdentifierGenerator to EntityIdentifier binding
* [HHH-6355] - Have attribute bindings return single, aggregated CascadeStyle
* [HHH-6357] - Add AttributeBinding.getFetchMode()
* [HHH-6371] - Develop metamodel binding creation using a push approach
* [HHH-6416] - Move AuxiliaryDatabaseObject into Database
* [HHH-6420] - SQL Server dialect is broken (Tomaz Cerar)
* [HHH-6444] - Integrate new metamodel into SchemaExport
* [HHH-6449] - Change Exportable.sqlCreateStrings/sqlDropStrings(MetadataImplementor) to take Dialect argument instead
* [HHH-6450] - Change length argument of Dialect.getTypeName() and TypeNames size/capacity to long
* [HHH-6453] - Enable new metamodel in BaseCoreFunctionalTestCase
* [HHH-6462] - Build fetch profiles, caches, current session context and transaction environment from new metadata
Changes in version 4.0.0.Beta3 (2011.07.07)
------------------------------------------------------------------------------------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11241
** Sub-task
* [HHH-6173] - Implement embedded entities (component) mapping
* [HHH-6201] - Handle mapped super classes
* [HHH-6352] - Add EntityBinding.getAttributeBindingClosureSpan() and getAttributeBindingClosure()
* [HHH-6358] - Integrate new metamodel into EntityMetamodel
* [HHH-6359] - Integrate new metamodel into entity tuplizers
* [HHH-6360] - Build basic properties from an AttributeBinding
* [HHH-6364] - Add AttributeBinding,getValuesSpan() and Tuple.valuesSpan()
* [HHH-6365] - Use Identifier.toIdentifier() to create column names
* [HHH-6366] - Add integer value to uniquely identify Table and InLineView objects for column aliases
* [HHH-6387] - Add EntityBinding.getFilterDefinitions() and addFilterDefinition()
* [HHH-6389] - Add TableSpecification.getQualifiedName(Dialect) and implement in subclasses
* [HHH-6411] - Integrate new metamodel into SingleTableEntityPersister
** Bug
* [HHH-5917] - Envers doesnt track all columns anymore
* [HHH-6289] - Review log level for o.h.m.s.AnnotationBinder and related binder classes
* [HHH-6386] - sybase improvement
* [HHH-6394] - org.hibernate.metamodel.source.annotations.global.QueryBinder handles resultClass paramter of @NamedNativeQuery wrong
* [HHH-6408] - An empty (ie not null) hibernate.connection.isolation raises a java.lang.NumberFormatException
Improvement
* [HHH-6406] - Move JBoss Transaction dependency from 4.14 to 4.15.1 (no more dependency hell)
** Task
* [HHH-6278] - quote all db identifiers
* [HHH-6350] - Integrate new metamodel for a root entity with simple attributes and no joins
* [HHH-6368] - remove deprecated hibernate annotations
* [HHH-6372] - Provide a temporary way to initialize basic types in metamodel
* [HHH-6404] - Move Hibernate Search integrator from Hibernate Core to Hibernate Search
* [HHH-6407] - Add SimpleValue.getAlias(Dialect) and implement in subclasses
Changes in version 4.0.0.Beta2 (2011.06.22)
------------------------------------------------------------------------------------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11231
** Sub-task
* [HHH-5671] - Apply entity-mode information to the logical model
* [HHH-6319] - Add getter for attribute node name
* [HHH-6320] - Add boolean values and getters to EntityIdentifier indicating if an ID is embedded or "identifier mapper"
* [HHH-6321] - Add org.hibernate.metamodel.binding.CascadeType.toCascadeStyle()
* [HHH-6341] - Add AttributeBinding.isBasicPropertyAccessor()
* [HHH-6342] - Add EntityModeEntitySpecifics.getTuplizerClass()
* [HHH-6346] - Add EntityBinding.entityTuplizerClass(); change getEntityPersisterClass() to return Class<EntityPersister>
** Bug
* [HHH-6177] - Envers - problem with mapping relation when using mixed inheritance strategy
* [HHH-6327] - NPE when using JDBC connection pool C3pO
* [HHH-6348] - POST_COMMIT_DELETE listener does not get executed
** Remove Feature
* [HHH-6330] - Remove entity mode switching capability
** Task
* [HHH-6297] - remove legacy cache api
* [HHH-6300] - Create EntityBindingState implementation for annotations
* [HHH-6301] - Metamodel changes in preparation for integrating metamodel into persisters
* [HHH-6307] - Upgrade to slf4j 1.6.1
* [HHH-6308] - Upgrade to Hibernate Validator 4.2.0.Final
* [HHH-6318] - Change EntityIdentifier.attributeBinding to be type SimpleAttributeBinding
* [HHH-6322] - upgrade to hibernate-jpa-2.0-api-1.0.1.Final
* [HHH-6333] - Create DeferredInitializationValue
* [HHH-6334] - Create JavaType for the metamodel
* [HHH-6335] - Change PojoEntitySpecifics to use JavaType for entity and proxy classes
* [HHH-6340] - Revisit EntityBindingState
* [HHH-6343] - Remove JavaClassNameResolver because it is not used
Changes in version 4.0.0.Beta1 (2011.06.08)
------------------------------------------------------------------------------------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11222
** Sub-task
* [HHH-6113] - Write orm.xml parser
* [HHH-6132] - Process and bind global configuration annotations
* [HHH-6133] - Enhance annotation based Jandex index with configuration extracted from orm.xml
* [HHH-6171] - Implement SimpleAttributeBinding relational and domain state using annotations
* [HHH-6174] - Create table binding
* [HHH-6207] - Bind o.h.a.Cache and j.p.Cachable
* [HHH-6246] - ConfiguredClass should honor default access from persistence-metadata-unit
* [HHH-6261] - Bind @GeneratedValue
* [HHH-6263] - Bind o.h.a.Proxy
* [HHH-6264] - Bind typedef information
* [HHH-6265] - Bind fetch profiles
* [HHH-6266] - Bind filter definitions
* [HHH-6273] - Bind identifier-generator definitions
* [HHH-6279] - Bind database object definitions
* [HHH-6281] - Basic HbmBinder cleanup
** Bug
* [HHH-2176] - DB2 setMaxResults problem in Hibernate 3.1.3
* [HHH-2225] - NPE when eager fetching joined component with native SQL query
* [HHH-4760] - NotAuditedException occurs when auditReader.getRevisions() is called for javassist proxies
* [HHH-4943] - ilike support is incomplete
* [HHH-5572] - clean up Sybase job failures
* [HHH-5808] - ObjectNotFoundException for an audited optional association. Envers is creating a proxy even when the association is null.
* [HHH-5967] - Envers Fetching Indexed Collection - Duplicate Row Exception
* [HHH-6119] - NullPointerException in AbstractPathImpl without source path
* [HHH-6176] - Envers ignores custom comparators for SortedSets
* [HHH-6206] - Explicitly add antlr jar to transitive dependencies
* [HHH-6211] - Fix bad pull request merge
* [HHH-6217] - Create EntityBindingState for initializing entity-specific binding data
* [HHH-6219] - Memory leak with Infinispan cache
* [HHH-6242] - no Types.BINARY type mapping in PostgresqlDialect
* [HHH-6243] - JBPAPP-3312 org.hibernate.test.legacy.CustomSQLTest fails
* [HHH-6250] - Some classes still using SLF4J
* [HHH-6272] - More logging fix ups
* [HHH-6274] - Logging format error causes many test failures
* [HHH-6276] - org.hibernate.test.cache.ehcache.EhCacheRegionFactoryImpl fails due to no slf4j in test configuration
** Improvement
* [HHH-4489] - need method "refresh(String entityName, Object obj)"
* [HHH-5025] - Support caching audit queries using ehcache's DiskStore.
* [HHH-5598] - sybase integration improvement
* [HHH-5649] - improve eclipse support with migration to gradle
* [HHH-6062] - Infinispan as JTA synchronization participant
* [HHH-6237] - Remove Service proxy code
* [HHH-6247] - Log (warn) inability for EM to join transaction only when user explicitly asked for join
* [HHH-6248] - Ominous-sounding WARN message from SessionFactoryObjectFactory
* [HHH-6258] - Performance improvement work
* [HHH-6291] - Basic MetadataImpl redesign
* [HHH-6292] - avoid Boolean instance creation
* [HHH-6294] - use enum instead of constant
** New Feature
* [HHH-5580] - tracking entity names in a revision
* [HHH-6078] - Conditional auditing support
* [HHH-6293] - avoid create unnesserary Integer object
** Patch
* [HHH-5434] - org.hibernate.test.filter.DynamicFilterTest testSqlSyntaxOfFiltersWithUnions fails with Ingres dialect
* [HHH-6228] - Build is platform dependent
** Task
* [HHH-6110] - Initial work to integrate new metamodel into persisters
* [HHH-6156] - Deprecate Configuration
* [HHH-6186] - Upgrade Hibernate 4 to Infinispan 5.0.0.CRx
* [HHH-6213] - Move domain and relational state interfaces into org.hibernate.metamodel.state
* [HHH-6214] - Make RegionFactory a service
* [HHH-6229] - Clean up MappingDefaults
* [HHH-6230] - Rework attribute binding using state objects
* [HHH-6232] - Add discriminator value to DiscriminatorBindingState
* [HHH-6239] - Add service for access to configuration options/settings map
* [HHH-6240] - Add access to configuration options targetting metamodel building
* [HHH-6251] - Create CollectionElement subclasses for element, composite-element, one-to-many, many-to-many, many-to-any
* [HHH-6267] - Plumb MetadataImplementor into service initiators registered in SessionFactoryServiceRegistry
* [HHH-6282] - clean out-of-date config files in etc dir
* [HHH-6290] - Add EntityBinder.isRoot() to indicate if the EntityBinding is for a "root" entity
Changes in version 4.0.0.Alpha3 (2011.05.04)
------------------------------------------------------------------------------------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11163
** Sub-task
* [HHH-6114] - Preprocess annotation configuration
* [HHH-6148] - Resolve generic type parameters
* [HHH-6161] - Integrate annotation based configuration processing into MetadataSource
** Bug
* [HHH-468] - MysqlDialect incorrectly maps java.lang.Boolean to SQL BIT
* [HHH-2049] - LEFT OUTER JOIN subcriteria filters children
* [HHH-4073] - discriminator formula creates problem in hibernate envers
* [HHH-4787] - AuditProperty.isNull() doesn't generate "tab.col is null" SQL clause as expected
* [HHH-5276] - Table REVINFO created in the default schema even if the property is otherwise set
* [HHH-5887] - Document typo hibernate.hbm2ddl.import_files
* [HHH-6069] - Escape entity fields name when required
* [HHH-6093] - Account for tenant identifier on QueryKey
* [HHH-6094] - Test failures in hibernate-infinispan dealing with query caching
* [HHH-6095] - Improve the way AbstractEntityManagerImpl.flush checks for an active transaction, should apply to other AbstractEntityManagerImpl methods that also check for an active tx
* [HHH-6163] - Need to fix location of envers integrator service file
* [HHH-6164] - Prefer regsitering JTA syncs via TransactionManager
** Deprecation
* [HHH-6158] - Deprecate SessionFactoryStub
* [HHH-6181] - Deprecate EJB3Configuration
* [HHH-6183] - Deprecate Configuration
** Improvement
* [HHH-2578] - redesign SessionFactory building
* [HHH-2579] - scope bytecode provider selection to session factory
* [HHH-5914] - Remove deprecated Hibernate type constants from org.hibernate.Hibernate and manuals
* [HHH-6064] - Skip regsitration of envers listeners if AuditConfiguration says no auditing annotations were found
* [HHH-6080] - Migrate from DTD to XSD for hbm.xml files
* [HHH-6096] - H2Dialect should use CACHED option for temporary table creation
* [HHH-6097] - Review log levels, especially related to i18n messages
* [HHH-6102] - ISE should be thrown when EM is colsed and joinTransaction is called, even with RESOURCE-LOCAL TX
* [HHH-6106] - Fix up IntelliJ project generation
* [HHH-6117] - Figure out best way to handle SessionFactoryObjectFactory dealing with JNDI
* [HHH-6118] - Make Metadata more user-friendly API
* [HHH-6128] - Create simplier LobCreator access from Session
* [HHH-6129] - org.hibernate.LobHelper#createNClob can now return NClob
* [HHH-6144] - Introduce ServiceRegistryBuilder
* [HHH-6154] - Add a README for describing build
** New Feature
* [HHH-6140] - Allow disabling of JAXP validation
** Patch
* [HHH-6169] - Prevent unnecessary calls to JDBC metadata methods.
** Task
* [HHH-5652] - Create "Take It Further" tasks for the JPA chapter of the GSG
* [HHH-6014] - Migrate hibernate-envers tests to JUnit4
* [HHH-6023] - Create "Take It Further" tasks for the Envers chapter of the GSG
* [HHH-6092] - Create domain and relational state APIs for SimpleAttributeBinding and implement for XML mappings
* [HHH-6098] - Slight naming changes in regards to new logging classes
* [HHH-6101] - Clean up checks for java 1.3 versus 1.4
* [HHH-6107] - Metamodel dependence on ServiceRegistry
* [HHH-6111] - Switch to use JAX for xml parsing
* [HHH-6115] - jaxb generation should follow directory pattern
* [HHH-6131] - JAXB generated classes should have a prefix to distinguish then easier from model classes
* [HHH-6134] - Migrate processing hbm.xml files to use Jaxb-generated classes
* [HHH-6138] - Implement addition of annotated classes and packages in MetadataSources
* [HHH-6141] - Develop scheme for ordered processing of MetadataSources sources
* [HHH-6142] - Integrate JAXB-based binding code and MetadataSources
* [HHH-6146] - remove SF.setTenantIdentifier, add to withOptions selections
* [HHH-6147] - Add support for multi-tenancy to StatelessSession building
* [HHH-6155] - Migrate o.h.impl package to o.h.internal
* [HHH-6168] - Create an attribute binding for many-to-one and implement DomainState and RelationalState for HBM XML
* [HHH-6191] - repackage org.hibernate.cache per api/spi/internal split
* [HHH-6192] - Split org.hibernate.collection package up into api/sip/internal
* [HHH-6193] - Split org.hibernate.context package into api/spi/internal
* [HHH-6194] - Better jaxb task to leverage Gradle up-to-date checking
* [HHH-6196] - Split org.hibernate.engine package into api/spi/internal
* [HHH-6198] - Split org.hibernate.event package into api/spi/internal
* [HHH-6199] - Split org.hibernate.exception package into api/spi/internal
* [HHH-6200] - Split org.hibernate.hql package into api/spi/internal
Changes in version 4.0.0.Alpha2 (2011.04.06)
------------------------------------------------------------------------------------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11162
** Bug
* [HHH-4999] - createSQLQuery(query).list() result screw up when when columns in different tables have same name
* [HHH-5803] - Better handling of implicit literal numeric expression typing
* [HHH-5940] - @MapKeyJoinColumns always throws an exception
* [HHH-5989] - Add tests of JPA-style transaction joining
* [HHH-5996] - Wire in JdbcServices into SchemaUpdateTask, SchemaExportTask, SchemaValidatorTask, HibernateService.dropSchema(), HibernateService.createSchema()
* [HHH-6001] - Add a top-level directory inside the release bundle archives
* [HHH-6002] - Use today's year when building copyright footer for aggregated javadocs
* [HHH-6028] - Remove o.h.classic stuff
* [HHH-6057] - hibernate.cfg.xml references wrong hbm.xml files and doesn't include reference to DTD file
* [HHH-6058] - Error in mapping file in Event.hbm.xml file for documentation in download
* [HHH-6061] - ValidatoryFactory type checking
* [HHH-6076] - query with setFirstResult throws Exception on derby
** Improvement
* [HHH-2680] - Blobs not updated on Session.merge() for detached instances
* [HHH-2860] - Consolidate Session creation options/parameters
* [HHH-4362] - @RowId
* [HHH-5244] - Flesh out H2Dialect temp table support
* [HHH-5284] - Allow Type to dictate the default length/scale/precision
* [HHH-5562] - Introduce a locator pattern for integrators to be able to leverage to more easily integrate with Hibernate
* [HHH-5947] - Improve error message, documentation and tests on @UniqueConstraint
* [HHH-5993] - Expose SessionFactoryObserver to Hibernate EntityManager configuration
* [HHH-6053] - Create an interface for centralizing the contract that is shared between Session and StatelessSession
** New Feature
* [HHH-5697] - Support for multi-tenancy
** Patch
* [HHH-3646] - implement Criteria API querying of collection-of-component (David Mansfield)
* [HHH-5348] - support for TypedQuery jpaql/hql "scalar" queries
** Task
* [HHH-5650] - Pull documentation building into 'release' module
* [HHH-5682] - Modify service infrastructure to leverage CDI annotations
* [HHH-5683] - Create Weld-specific ServiceRegistry
* [HHH-5913] - Implement set of event listeners as a service
* [HHH-5942] - Migrate to JUnit 4
* [HHH-5966] - Finish up loose ends for overriding a SqlTypeDescriptor
* [HHH-6010] - Remove duplication in code involving Work and ReturningWork
* [HHH-6013] - Consolidate on single JTA impl for testing
* [HHH-6015] - Investigate hibernate-infinispan test failures since migration to JUnit4
* [HHH-6016] - Migrate version injection plugin to Gradle
* [HHH-6025] - Remove cglib dependencies
* [HHH-6026] - Migrate bytecode provider integrations to api/spi/internal split
* [HHH-6027] - Migrate o.h.action pakcage to api/spi/internal split
* [HHH-6033] - Migrate stats to api/spi/internal split
* [HHH-6036] - integration documentation generation
* [HHH-6038] - Migrate to use newly separated gradle-upload-auth-plugin
* [HHH-6047] - allow nesting of ServiceRegistry
* [HHH-6050] - Remove direct compile-time dependencies to slf4j from build
* [HHH-6051] - Create a SessionFactory scoped ServiceRegistry
* [HHH-6052] - Make statistics a service
* [HHH-6073] - Dialects cannot use the Thread Context ClassLoader with AS7, please change to use the
* [HHH-6081] - Finish up Integrator
* [HHH-6088] - Move to slf4j-log4j12 for test logging
Changes in version 4.0.0.Alpha1 (2011.03.09)
------------------------------------------------------------------------------------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11161
** Sub-task
* [HHH-5662] - Import the initial work
* [HHH-5765] - Wire in JdbcServices
* [HHH-5949] - Migrate, complete and integrate TransactionFactory as a service
** Bug
* [HHH-3873] - DB2Dialect.getLimitString raise DB2 error message when called with limit=0
* [HHH-4646] - Inconsistent behavior with Audited and MappedSuperclass annotations
* [HHH-5126] - JPA Query with InExpression and Collection_valued_input_parameter Complains About Bad Syntax
* [HHH-5136] - map-key-column is broken
* [HHH-5163] - ClassCastException when Hibernate tries to cache results using ResultTransformer
* [HHH-5168] - DB2Dialect generates CROSS JOINs which aren't supported
* [HHH-5177] - auditing a child of a mapped superclass forces auditing on siblings
* [HHH-5280] - Exception on unidirectional collection whose elements are owned by several collection: "java.lang.IllegalArgumentException: object is not an instance of declaring class"
* [HHH-5306] - Dialect resolution: Cannot set a custom dialect resolver programatically or using hibernate.cfg.xml
* [HHH-5359] - Derived entity usecase fails when the association is bidirectional
* [HHH-5590] - Don't log and rethrow exceptions in AbstractFlushingEventListener
* [HHH-5599] - NPE occurs when using Infinispan as L2 Cache
* [HHH-5669] - Fix gradle build issues with Infinispan 2LC
* [HHH-5686] - Collections should be loaded by default using "lazy collection fetch" instead of "extra lazy collection" fetch
* [HHH-5693] - Re-enable entitymanager tests
* [HHH-5704] - New getSubString() handling in ClobProxy is incompatible with MySQL JDBC PS.setClob(int, Clob) for empty CLOB
* [HHH-5706] - Incorrect accounting for 1-based LOB offsets
* [HHH-5709] - JPA Metamodel: EntityType.getName != @Entity.name
* [HHH-5710] - incorrect test logic of org.hibernate.test.readonly.ReadOnlyCriteriaQueryTest
* [HHH-5717] - LockOptions not being set correctly
* [HHH-5725] - SqlServerDialect should support SQL 2000 which does not support the row_number function
* [HHH-5727] - Collection member declaration not handling optional AS in HQL.
* [HHH-5729] - Only one check constraint is generated when @Min and @Max annotation is used on a single field
* [HHH-5736] - Problem with "not" function of CriteriaBuilder
* [HHH-5750] - Envers unset session on proxy
* [HHH-5756] - Envers creates new revisions when only collection changed for entity
* [HHH-5766] - New services are not wired into standalone SchemaExport, SchemaUpdate, and SchemaValidator
* [HHH-5782] - Remove HibernateException and SQLException from ConnectionManager method signatures
* [HHH-5783] - Transaction timeout should be applied by ConnectionManager, not LogicalConnection
* [HHH-5791] - NullPointerException merging a transient entity with non-nullable properties that are null if insert is delayed and check_nullability is false
* [HHH-5793] - Query and timestamp caches to use cluster cache loader to avoid behaving like sync repl caches
* [HHH-5800] - Implement missing element-collection related xml in JPAOverridenAnnotationReader
* [HHH-5807] - Weird characters in license headers lead to compilation errors with UTF-8 character set
* [HHH-5817] - Passing char[] or byte[] to equal function of CriteriaBuilder throws java.lang.ClassCastException (Vyacheslav Dimitrov)
* [HHH-5821] - JPA EntityType's (or ManagedType's) getSingularAttributes() returns the version attribute with isVersion set to false.
* [HHH-5826] - org.hibernate.util.SerializationHelper#resolveClass never tries loader3
* [HHH-5838] - Proxool connection pool should only close pools it opened
* [HHH-5839] - non-utf8 characters in AuditReaderImpl
* [HHH-5842] - Types.Binary column type should be registered as "binary($l) for HSQLDialect (Fred Toussi)
* [HHH-5853] - Problem loading cachable collections defined with a property-ref key with a versioned owner
* [HHH-5883] - @Lob annotated field throws MappingException
* [HHH-5888] - CLONE: Problem using BLOB and CLOB fields in Oracle
* [HHH-5889] - CLONE: Using materialized blobs with PostgreSQL causes error
* [HHH-5890] - Parent POM: License comment in points to 404
* [HHH-5893] - Tests fail for dialects that return null for empty LOBs
* [HHH-5900] - Revert change to add upload repositiory authentication handling in build script
* [HHH-5907] - derby does not support materialize a LOB locator outside the transaction in which it was created
* [HHH-5922] - Type overrides do not affect functions registered with the dialect
* [HHH-5961] - Contextual LOB creator is used when the JDBC driver does not support JDBC4 Connection.createBlob()
* [HHH-5982] - Flush checker logic bugs
* [HHH-5983] - Entiy actions contain non-transient references to session and entity causing inconsistencies after serialization
* [HHH-5987] - Remove org.hibernate.ejb.CurrentEntityManagerImpl
* [HHH-5994] - Inserts may be delayed because TransactionCoordinatorImpl.isTransactionInProgress() returns false for non-JTA transactions
* [HHH-5995] - Compile error because Statement is undefined in SqlExceptionHelper
** Remove Feature
* [HHH-5981] - Clarify Session.disconnect() and Session.reconnect() behavior
** Improvement
* [HHH-3965] - Expose the ability to use varchar(max) or nvarchar(max)
* [HHH-4539] - Make UPPER and LOWER work on MS SQL Server text and ntext columns
* [HHH-5325] - Minor issues in test suite and suggestions for improvements (fixes HSQDB 2.0 failures)
* [HHH-5588] - Improve support for entityNames - determine the entityName for a retrieved object vía envers
* [HHH-5655] - In Gradle build, better account for non-standard local maven repo cache locations
* [HHH-5658] - Better .gitignore
* [HHH-5701] - Add .metadata/* to .gitignore
* [HHH-5724] - Improve the error message on Bean Validation exception by showing the constraint violation data
* [HHH-5726] - SqlServer2005Dialect should support variable limit
* [HHH-5761] - Update source repository links in Envers documentation
* [HHH-5794] - Add support for additional orm.xml elements for Map handling and element collections
* [HHH-5823] - Poor multithread performance in UpdateTimestampsCache class
* [HHH-5824] - Poor multithread performance in SessionFactoryImpl.getQueryCache method
* [HHH-5843] - Avoid useless branches during HQL parsing when trace logging is disabled
* [HHH-5859] - Upgrade to Infinispan 4.2.1.CR1
* [HHH-5904] - Deploy just testing artifacts from hibernate-core, not all tests
* [HHH-5906] - Expose AbstractEntityPersister.getPropertyUniqueness() as public for OGM to use
* [HHH-5943] - Make ServiceRegistry mutable
* [HHH-5977] - Add tests for @JoinColumn using secondary table
* [HHH-5986] - Refactor org.hibernate.util package for spi/internal split
* [HHH-5993] - Expose SessionFactoryObserver to Hibernate EntityManager configuration
** New Feature
* [HHH-2655] - SQLServer2005Dialect (ROW_NUMBER for Paging)
* [HHH-5371] - Add support for REVEND_TSTMP which will enable SQL table partitioning by time
* [HHH-5611] - Add management capability via JMX
* [HHH-5687] - Extract SQL keywords from DatabaseMetaData
* [HHH-5879] - Expose state from AbstractEntityPersister / Type / SessionFactoryImplementor for OGM usage
* [HHH-5898] - Improve authentication for Gradle uploads
* [HHH-5916] - Add support for a programmatic way to define a default EntityPersister and CollectionPersister class implementation
* [HHH-5957] - Provide a way for dialects to override a SqlTypeDescriptor
** Task
* [HHH-5615] - Switch to JBoss logging
* [HHH-5616] - Switch to Gradle for builds
* [HHH-5617] - Migrate to Git for source control
* [HHH-5618] - Support legacy ConnectionProvider names
* [HHH-5619] - Support legacy TransactionFactory names
* [HHH-5623] - Baseline on JDK 1.6
* [HHH-5632] - Import initial services work
* [HHH-5634] - Clean up stuff no longer needed
* [HHH-5638] - Import JDBC batching service
* [HHH-5639] - Import ConnectionProvider service
* [HHH-5640] - Import DialectFactory and DialectResolver services
* [HHH-5641] - Import JtaPlatform services
* [HHH-5647] - Develop release process using Gradle
* [HHH-5651] - Wire in new services in org.hibernate.service
* [HHH-5656] - Import ServicesRegistry bootstrap code and service tests
* [HHH-5714] - Upgrade metamodel generator dependency in entitymanager to 1.1.0.Final
* [HHH-5768] - upgrade H2 version to 1.2.145 (was 1.2.140)
* [HHH-5778] - Wire in new batch code
* [HHH-5781] - Refactor code in org.hibernate.jdbc to spi/internal and remove obsolete code
* [HHH-5788] - Move settings required by JdbcServices into JdbcSupport
* [HHH-5880] - Gradle has to deploy testing artifacts
* [HHH-5897] - Upgrade to Gradle 0.9.2
* [HHH-5903] - Rename ServicesRegistry to ServiceRegistry
* [HHH-5928] - Clean up compilation warnings
* [HHH-5941] - Remove deprecated set(), nullSafeSet(), get(), nullSafeGet() methods and add SessionImplementer argument to UserType.nullSafeGet()/nullSafeSet()
* [HHH-5985] - Remove TransactionHelper in preference of IsolationDelegate
* [HHH-5990] - Remove non-maintained second level cache integrations
* [HHH-5991] - Revist passing of ServiceRegistry to Configuration to build a SessionFactory
* [HHH-6000] - split annotation processor execution out into separate tasks
Changes in version 3.6.0.CR2 (2010.09.29)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11131
** Bug
* [HHH-892] - HQL parser does not resolve alias in ORDER BY clause
* [HHH-2917] - Using subselects as operands for arithmetic operations causes NullPointerException
* [HHH-4510] - Add column-level read/write support (HHH-4440) to annotations
* [HHH-5490] - dirty data be inserted into 2L cache
* [HHH-5552] - Infinispan listener implementations need to load entities and keys using application classloader.
* [HHH-5563] - JndiInfinispanRegionFactory creates region with a stopped cache, if region previously existed
* [HHH-5568] - correct wrong format in document
* [HHH-5573] - Change TestCase to rebuildSessionFactory() whenever sessions var is accessed
* [HHH-5590] - Don't log and rethrow exceptions in AbstractFlushingEventListener
* [HHH-5591] - ConcurrentStatisticsImpl#queryExecuted() does not update queryExecutionMaxTimeQueryString
* [HHH-5592] - org.hibernate.test.hql.ASTParserLoadingOrderByTest hangs on postgresql
* [HHH-5593] - org.hibernate.test.legacy.FooBarTest.testCollectionWhere fails on hsqldb
* [HHH-5594] - org.hibernate.test.jpa.lock.JPALockTest fails on hsqldb
* [HHH-5595] - postgresql jdbc driver does not implement the setQueryTimeout method
* [HHH-5596] - org.hibernate.test.annotations.onetoone.OneToOneTest.testPkOneToOneSelectStatementDoesNotGenerateExtraJoin() fails on postgresql
* [HHH-5597] - org.hibernate.test.criteria.LikeTest.testLike fails on postgresql because of the default escape charactor
** Improvement
* [HHH-5560] - Envers ValidAuditTimeStrategy needs a better name
* [HHH-5589] - mysql does not support column check
** New Feature
* [HHH-5190] - Provide annotation support for <discriminator>'s force and insert
* [HHH-5205] - Add support for source="db" for timestamp versions
** Patch
* [HHH-5581] - Improve InformixDialect sequence support
Changes in version 3.6.0.CR1 (2010.09.15)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11141
** Sub-task
* [HHH-3766] - Modify the queries executed to use the "end-revision" column, when available
* [HHH-5446] - Write an envers tutorial guide
* [HHH-5499] - Extend AuditReader interface with findRevisions() method
** Bug
* [HHH-5310] - orm_2_0.xsd compliant mapping files break in JEE use cases
* [HHH-5356] - Sybase 15 does not support cross join
* [HHH-5484] - org.hibernate.type.UUIDCharType incorrectly mapped to char and causes test fail due to the padding space
* [HHH-5542] - Infinispan region factory uses same cache instance for all timestamp regions
* [HHH-5545] - Resolve query cache results not up to date testsuite failures