forked from hibernate/hibernate-orm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
changelog.txt
5043 lines (4516 loc) · 306 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.3.0.Beta3 (2013.05.29)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/browse/HHH/fixforversion/13451
** Sub-task
* [HHH-8144] - Create a 'release' task that performs all tasks needed for doing a release
** Bug
* [HHH-2664] - full join not working
* [HHH-5465] - HQL left join fetch of an element collection following a left join fetch of a one-to-one relationship causes NullPointerException
* [HHH-6813] - @Id @OneToOne cause NullPointerException during query
* [HHH-8083] - @OrderColumn not updated on @OneToMany cascade
* [HHH-8219] - Protect against JDK 7 API usage
* [HHH-8220] - pom dependencies scope changed from compile to runtime
* [HHH-8225] - EMF cannot be created, closed, then re-created in OSGi
* [HHH-8233] - exclude-unlisted-classes is not excluding unlisted classes in root
* [HHH-8236] - Update to hibernate-commons-annotations 4.0.2.Final
* [HHH-8241] - Reusing of scanner instance is impossible with Apache Aries JPA
* [HHH-8250] - DefaultInitializeCollectionEventListener not finding collections in cache
* [HHH-8254] - throw HibernateException when transaction is rolledback by a reaper thread
* [HHH-8266] - Binding of named-stored-procedure XML element tries to create duplicate
* [HHH-8269] - DenormalizedTable FK constraint names can be too long
* [HHH-8270] - Support for accessing JPA schema export script files specified by URL
* [HHH-8271] - Handling of javax.persistence.sql-load-script-source
* [HHH-8273] - Incorrect "unique-key" naming comment in docs
** Improvement
* [HHH-6875] - @OrderBy on @ElementCollection of basic type should "order by value"
* [HHH-7214] - DiscriminatorValue
* [HHH-7582] - TableGenerator does not distinguish between different tenants (MultiTenant Schema based)
* [HHH-8211] - Checkstyle and FindBugs fix-ups
* [HHH-8217] - Make generated constraint names short and non-random
* [HHH-8226] - table synonyms cannot find columns on Oracle
* [HHH-8231] - Pass along IOException as cause when trying to open script outputs
* [HHH-8238] - OsgiJtaPlatform null pointer exception
* [HHH-8257] - More concisely obtaining a JBoss logger
** Task
* [HHH-8218] - Update to final versions of BV 1.1 and HV 5
* [HHH-8222] - Implement @NamedStoredProcedureQuery binding
* [HHH-8223] - Implement @NamedEntityGraph binding
* [HHH-8232] - Upgrade to Gradle 1.6
* [HHH-8235] - Drop database profiles upstream
* [HHH-8246] - Implement XML binding of NamedStoredProcedureQuery
* [HHH-8247] - Implement XML binding of NamedEntityGraph
Changes in version 4.3.0.Beta2 (2013.05.02)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/browse/HHH/fixforversion/13052
** Sub-task
* [HHH-7617] - Gradle eclipse task missing src paths and test source generation
* [HHH-7943] - C3P0, Proxool, ehcache, and infinispan services for OSGi
* [HHH-7944] - Envers OSGi support
* [HHH-7993] - Support jar scanning in OSGi
* [HHH-7995] - Auto-discovery of Hibernate extension points in OSGi
* [HHH-8141] - Upgrade to Gradle 1.5
* [HHH-8142] - Create a 'compile' task that performs all copmpilations
* [HHH-8143] - Create a 'generateSources' task that performs all generation tasks
* [HHH-8145] - Add MaxPermSize to test configuration
* [HHH-8146] - Update to use maven-publishing plugin
* [HHH-8147] - Update to use distribution plugin for createing release bundles
* [HHH-8151] - Consolidate defining "java language level" in one place
* [HHH-8152] - General cleanup
* [HHH-8156] - Apply new Gradle plugins
* [HHH-8160] - Integrate with Aries JPA 2.1 branch
** Bug
* [HHH-5845] - Lazy Loading of audited entites with revision type 'delete'
* [HHH-7357] - Incorrect exception translation when using Oracle
* [HHH-7478] - ConcurrentModificationException when adding a BeforeTransactionCompletionProcess from with a PostInsertEventListener for an @Audited entity
* [HHH-7880] - SessionFactory.openStatelessSession() does not respect tenant identifier from CurrentTenantIdentifierResolver
* [HHH-7974] - Session.getTenantIdentifier() not callable without active transaction
* [HHH-8049] - Initialization error with <dynamic-component> mapping
* [HHH-8084] - LobMergeTest fails on oracle
* [HHH-8103] - Oracle LOB ordering not working with SequenceIdentityGenerator
* [HHH-8137] - Javadoc generation is currently not playing nicely with Java7 javadoc changes
* [HHH-8171] - Auditing of collections of embeddables only supporting single element changes
* [HHH-8173] - AvailableSettings constants for javax.persistence.schema-generation contain space
* [HHH-8178] - Natural IDs generating one UniqueKey per Column
* [HHH-8182] - Correct intermittent UpgradeLockTest failures
* [HHH-8189] - Audit records are not rolled back when transaction is rolled back
* [HHH-8207] - Locale conversion is broken
* [HHH-8215] - Windows Build with Eclipse does not work
** Deprecation
* [HHH-8170] - Deprecate Hibernate @ForeignKey in favor of JPA 2.1 introduced @ForeignKey annotation
** Improvement
* [HHH-7605] - Provide details "An entity copy was already assigned to a different entity."
* [HHH-7908] - Logging level checking.
* [HHH-8138] - Log SQLException in DatabaseTarget with cause of schema export CREATE statement failure
* [HHH-8159] - Apply fixups indicated by analysis tools
* [HHH-8162] - Make unique constraint handling on schema update configurable
* [HHH-8167] - Adding @NotNull to a @ManyToOne association with @JoinColumnsOrFormulas leads to ClassCastException
* [HHH-8180] - Improve performance of logging level checks
* [HHH-8183] - Also support synonyms for schema validation
** New Feature
* [HHH-8157] - Adding DBAllocator labels for new DBs
* [HHH-8163] - Deprecate @IndexColumn and add @ListIndexBase
** Task
* [HHH-8164] - Deprecate @Sort in favor of @SortNatural and @SortComparator
* [HHH-8175] - Add support for Postgresql 9.2, Postgres Plus 9.2 and IBM DB2 10.1
* [HHH-8186] - Type in docs? Caching section nonstrict != nontrict
* [HHH-8212] - Add CLA ref to CONTRIBUTING.md
Changes in version 4.3.0.Beta1 (2012.07.12)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/browse/HHH/fixforversion/12152
** Sub-task
* [HHH-7941] - Script OSGi manifest creation in Gradle
* [HHH-7942] - Create Hibernate OSGi bundle activator and class loader services
* [HHH-7966] - Remove external use of internal impls
* [HHH-7968] - Upgrade to JACC 1.0.2.Final -- needed for OSGi manifests
* [HHH-7981] - Load (now) locally defined orm.xsd while processing orm.xml files
* [HHH-7982] - Revisist discrepancy between <join-table> and @JoinTable after discussion with EG
* [HHH-7991] - Correct all instances of Thread.currentThread().getContextClassLoader()
* [HHH-7994] - Improve OsgiClassLoader performance
* [HHH-7997] - Integrate changes to EntityGraphs
* [HHH-8010] - Ensure Hibernate manifests allow user bundle managed SF/EMF
* [HHH-8077] - Add MDC usage into attribute walking to help decode logs from recursive calls
* [HHH-8098] - JTA 1.2
* [HHH-8099] - CDI 1.1
* [HHH-8100] - BV 1.1
** Bug
* [HHH-995] - Order.ignoreCase() only works for VARCHAR types, not CHAR types
* [HHH-1168] - Problem combining locking and paging on Oracle
* [HHH-1283] - ScrollableResults JoinFetch don't set child collection correctly after the second parent object
* [HHH-1570] - criteria-api: filtering by key-many-to-one causes invalid sql
* [HHH-1904] - Identifier too long
* [HHH-2045] - in () result in "unexpected end of subtree"
* [HHH-2721] - PostgreSQLDialect: function md5() always returns a string value
* [HHH-3788] - FirebirdDialect: current_date() function
* [HHH-3862] - Wrong link in documentation tutorial chapter 1
* [HHH-4084] - @UniqueConstraint(columnNames="") causes StringIndexOutOfBoundsException
* [HHH-4150] - EntityManager.createQuery does not recognize COUNT CASE statement
* [HHH-4459] - Query with Composite Primary Key parameter crashes when query cache is on
* [HHH-4562] - Some kind of typo in chapter 7.3.1
* [HHH-4635] - Oracle ORA-24816 inserting and updating data for entities containg LOB attributes
* [HHH-5188] - Use provided enum type ordinal/string when reading
* [HHH-5209] - org.hibernate.hql.ast.QuerySyntaxException when running a JPQL query with a MEMBER OF on an @ElementCollection
* [HHH-5267] - NPE when updating a detached entity with a one-to-one association changed to null that is mapped with delete-orphan
* [HHH-5376] - Tests contain invalid SQL
* [HHH-5732] - @OrderColumn not updated if @OneToMany has mappedby defined
* [HHH-5836] - Mapping collection of entities with same name and notnull constraints from two different entities results in duplicate property mapping of Backref
* [HHH-5973] - Typo in documentation about Interceptors
* [HHH-6043] - PostLoad method invoked before collection initialised
* [HHH-6349] - AuditJoinTable rows missing when detached entities with collections are merged into the persistence context
* [HHH-6496] - ClassCastException inside proxy without explicit casting in application code
* [HHH-6643] - Criteria doesn't support a chaining of 2 not restrictions (sql = not not criterion)
* [HHH-6655] - trim function on DB2 is broken
* [HHH-6972] - Support PostgreSQL and Oracle LOBs
* [HHH-7029] - Javadoc says the opposite as in code example
* [HHH-7203] - IdentityGenerator fails with JOINED Inheritance when inserting entity to PosgtreSQL
* [HHH-7233] - unmuck EntityManager#getSingleResult wrt auto-setting of max results
* [HHH-7304] - NaturalIdResolutionCache not correctly filled on first persist when @GeneratedValue-@Id
* [HHH-7308] - beforeTransactionCompletion() not getting called in the same scenarios as afterTransactionCompletion() in the TransactionObserver for child Sessions
* [HHH-7309] - Natural-id not cached in shared cache after insert
* [HHH-7359] - Trace logging causes numerous test errors
* [HHH-7377] - NullPointerException in conjunction with natural IDs after Session.clear()
* [HHH-7398] - Transaction timeouts are not properly enforced
* [HHH-7437] - Classcast issue with new property auditing feature of Envers(withModifiedFlag)
* [HHH-7479] - getForUpdateString() of HSQLDialect returns empty string.
* [HHH-7487] - org.hibernate.type.EnumType incorrectly logs binded values
* [HHH-7519] - Upgrade byteman version
* [HHH-7524] - Enabling AvailableSettings.ENABLE_LAZY_LOAD_NO_TRANS results in leaking DB-connections
* [HHH-7541] - When using HSQLDB, inserting any CLOB value larger than 16Mb always fails with an exception
* [HHH-7557] - Map entries get deleted
* [HHH-7561] - PersistenceUnitUtil.getIdentifier returning null for a persisted proxy
* [HHH-7563] - Fallback for JBossAppServerJtaPlatform.locateUserTransaction() to look at "java:jboss" if "java:comp" not available
* [HHH-7566] - Activating JOIN fetch profile involving self-referential associations causes StackOverflowError
* [HHH-7567] - Better checking when @Enumerated involved
* [HHH-7568] - Add JPA1.0 compound key compatability when orm descriptor file used to override annotations.
* [HHH-7569] - Correct test-only failures in hibernate-core-master-matrix CI job
* [HHH-7575] - Hibernate Getting Started Guide refers to incorrect tutorial directory for annotations tutoral
* [HHH-7577] - Dialect's supportsNotNullUnique not working when false
* [HHH-7578] - Sybase does not support "unique not null"
* [HHH-7579] - Oracle does not support "unique not null"
* [HHH-7580] - Complete 2-phase SessionFactory building design
* [HHH-7584] - Sybase dialects attempting to use BLOB types
* [HHH-7586] - Re-architect Type or TypeFactory dynamic descriptors
* [HHH-7603] - NullPointerException being thrown instead of LazyInitializationException with collection reattach change
* [HHH-7608] - @OrderBy in combination with @Formula fails
* [HHH-7643] - java.io.NotSerializableException org.hibernate.type.EnumType
* [HHH-7644] - Correct memory leak introduced by HHH-7557
* [HHH-7645] - Enum property defined within orm.xml using enum-type string does not work
* [HHH-7669] - JtaTransaction test fails on Oracle RAC
* [HHH-7674] - DB locks not cleared on LazyLoadingTest#testLazyCollectionLoadingWithClearedSession
* [HHH-7692] - Postgres 9 and 9.1 use 8.1 dialect instead of 8.2 by default
* [HHH-7693] - SQL Server 2012 gets the SQL Server 2000 dialect by default
* [HHH-7711] - SchemaExport doesn't create file with script if both parameters exportToDatabase and scriptToConsole are false
* [HHH-7716] - Update CUBRID dialect and test cases
* [HHH-7717] - Reserved keywords are used in unit tests' column names
* [HHH-7721] - SQLFunctionRegistry findSQLFunction does not honor case sensitivity
* [HHH-7724] - JpaLargeBlobTest failing on multiple DBs
* [HHH-7730] - SchemaExportManagedConnectionTest#testGenerateDdlToFile failing on Oracle & Sybase
* [HHH-7732] - QueryTest#testMemberOfSyntax failing on Oracle
* [HHH-7733] - NativeSQLQueriesTest failing on Postgres
* [HHH-7734] - SerializableTypeTest#testNewSerializableType failing for Oracle 11G R1
* [HHH-7748] - EnumType crashes because of unsupported JDBC API in Oracle
* [HHH-7757] - NOT IN handled incorrectly with tuples for dialects that do not support tuple syntax
* [HHH-7767] - JoinWalker creates ".." substring in association path
* [HHH-7768] - Names of invalid named queries incorrectly concatenated
* [HHH-7769] - Define short-names for built-in MultiTableBulkIdStrategy impls
* [HHH-7785] - Schema export does not generate unique constraints for HSQLDialect any more
* [HHH-7797] - Inconsistent logic by uses of Dialect#supportsNotNullUnique
* [HHH-7800] - maximize() builds incorrect query if used inside an AuditDisjunction
* [HHH-7816] - DDL opertations will incorrectly commit current transaction on Oracle XA
* [HHH-7819] - Correct test issues found in CI hibernate-core-master-matrix job
* [HHH-7821] - NPE after upgrade from 4.1.6 to 4.1.8
* [HHH-7825] - org.hibernate.type.descriptor.java.DataHelper is incompatible with FireBird JDBC
* [HHH-7829] - NullPointerException when manually flushing One-To-One relationship with orphan removal
* [HHH-7839] - Documentation bug at SimpleNaturalIdLoadAccess.getReference(Object naturalIdValue)
* [HHH-7849] - Unable to join on an embedded field
* [HHH-7889] - Sybase jConnect driver cannot use ResultSet.getClob(String) method
* [HHH-7890] - Quoting identifiers breaks @UniqueConstraint
* [HHH-7910] - Transaction timeout can cause non-threadsafe session access by reaper thread
* [HHH-7911] - NPE in TwoPhaseLoad#initializeEntity
* [HHH-7923] - Revert to Javassist 3.15
* [HHH-7928] - Regression caused by HHH-6361
* [HHH-7930] - Hibernate will crash with (custom) enum types when running with a logback.xml in debug mode
* [HHH-7933] - boolean is broken on SQLServerDialect
* [HHH-7948] - Merging CollectionChangeWorkUnit with ModWorkUnit ended with incorrect values of modified flags
* [HHH-7970] - @javax.persistence.Cacheable is never wired up
* [HHH-7984] - Prepared statement for callable returning cursor not closed
* [HHH-7990] - Bootstrapping Hibernate fails if javax.validation API is on classpath but no provider
* [HHH-8002] - TransactionTimeoutTest#testTransactionTimeoutSuccess failing on Oracle
* [HHH-8003] - Create "sqlDropString" method in Dialect to handle "if exists" correctly
* [HHH-8005] - Sybase 15 - nullable column are not nullable (when created by SchemaExport)
* [HHH-8006] - MergeCollectionEventTest & BadMergeHandlingTest fail on MySQL
* [HHH-8007] - Update SQLServer2005LimitHandler to handle multiselects (*, table.*)
* [HHH-8017] - Correct SybaseDialect's getNullColumnString
* [HHH-8019] - Multiple tests creating identifiers too long for Oracle
* [HHH-8022] - Return REFCURSOR on native named query: regression on 4.2.0 CR1
* [HHH-8025] - Binary compatibility broken between 4.1.9 -> 4.1.10 for Restrictions.eq and Restrictions.ne
* [HHH-8026] - Duplicate constraint names with unique=true
* [HHH-8036] - Envers projection max causes mysql syntax error
* [HHH-8037] - Empty SQL statements with custom UniqueDelegate
* [HHH-8053] - HibernateBundleActivator should not register itself as a PersistenceProvider
* [HHH-8061] - tests failing on master-matrix CI
* [HHH-8067] - Hibernate's ManagedType#getDeclaredAttribute fails to find plural attributes
* [HHH-8072] - envers @ElementCollection Map support failing -- nullable KEY
* [HHH-8073] - Column#getAlias logic incorrectly uses Dialect#getMaxAliasLength
* [HHH-8082] - HQLScrollFetchTest.testScroll hangs on DB2-97
* [HHH-8085] - QueryCacheTest.testGetByCompositeId fails on db2-97 -- DB2 SQL Error: SQLCODE=-613
* [HHH-8086] - Allow explicit package naming in persistence.xml via <class/>
* [HHH-8087] - Envers delete doesn't insert a new row with revtype=2 for unidirectional manytomany collections
* [HHH-8092] - Configuration#generateSchemaUpdateScript does not create unique constraints
* [HHH-8107] - JandexHelper.getValue() returns Boolean instead of boolean, causing ClassCastException
* [HHH-8136] - Correct "to_char" function in HSQL
** Deprecation
* [HHH-7777] - Deprecate XmlRepresentableType
* [HHH-7856] - Deprecate TableHiLoGenerator and TableGenerator
** Improvement
* [HHH-465] - order by nulls first / last
* [HHH-1123] - Cannot put more than 1000 elements in a InExpression
* [HHH-1775] - collection batch fetching
* [HHH-1917] - Bulk Delete on the owning side of a ManyToMany relation needs to delete corresponding rows from the JoinTable
* [HHH-2448] - Generate identical column aliases among cluster
* [HHH-2805] - The class Order does not contain getters
* [HHH-2951] - Restrictions.eq when passed null, should create a NullRestriction
* [HHH-3458] - Register postgres random() function as "rand" in PostgresSQLDialect
* [HHH-4412] - bulk update with native sql queries
* [HHH-5951] - Strategy for deciding JtaPlatform when an explicit one not specified
* [HHH-6452] - PostgreSQL Dialect does not fully implement NOWAIT locking
* [HHH-6682] - add support for oracle "bitand" function to Oracle Dialect
* [HHH-6823] - Short-name config values
* [HHH-6841] - Allow multiple @SkipForDialect annotations
* [HHH-7462] - Make JACC service
* [HHH-7520] - BlobProxy.invoke Javadoc is incorrect
* [HHH-7550] - Fix UP-TO-DATE checking for APT-based tasks
* [HHH-7626] - Add javadoc to annotations
* [HHH-7631] - Improve performance of UpdateTimestampsCache
* [HHH-7633] - Improve performance of IdentityMap
* [HHH-7667] - Initial improved bytecode enhancement support
* [HHH-7683] - Optimize performance of AbstractLazyInitializer.prepareForPossibleSpecialSpecjInitialization()
* [HHH-7698] - In efficient LOB creations backed by streams
* [HHH-7714] - Add support for EntityMode.MAP to JPA Criteria API
* [HHH-7725] - Make handling multi-table bulk HQL operations more pluggable
* [HHH-7728] - Add equals method in the table class
* [HHH-7746] - Investigate alternative batch loading algorithms
* [HHH-7806] - Failure of lazy initialization of collection no longer reports role
* [HHH-7811] - grammar error in devguide for HB
* [HHH-7813] - mistake in code examples in devguide for HB
* [HHH-7826] - Generate 'unique' constraints in stable order
* [HHH-7835] - Inefficient implementation of JarVisitorFactory.getBytesFromInputStream
* [HHH-7840] - org.hibernate.id.IncrementGenerator very slow
* [HHH-7866] - Avoid redundant log level checking in StandardQueryCache
* [HHH-7869] - bad performance problem with org.hibernate.internal.util.StringHelper#firstIndexOfChar
* [HHH-7872] - Improved L2 cache storage of "reference" data
* [HHH-7902] - Replace JDBC proxies with a set of contracts/helpers
* [HHH-7912] - Define edge-case behavior for Session.evict
* [HHH-7947] - remove not maintained 2LC provider from Doc
* [HHH-7952] - Missing Deprecated Javadoc For TableGenerator/TableHiLoGenerator
* [HHH-7965] - Redesign DialectResolver contract
* [HHH-7992] - Add a base Session delegator implementation
* [HHH-7999] - Oracle test failures due to lack of support for various syntax
* [HHH-8029] - Improve SimpleNationalizedTest
* [HHH-8071] - Add debug/trace logging to HibernatePersistenceProvider
* [HHH-8076] - javax.security and javax.validation should be optional in OSGi manifest
* [HHH-8088] - Redesign Scanner contract
* [HHH-8096] - Re-work the OSGi class loading concepts
* [HHH-8113] - Persistence.createEntityManagerFactory() should run schema export if JPA properties are set
* [HHH-8121] - Make property-able JPA settings defined in persistence.xml available in EMF.getProperties()
* [HHH-8122] - Scrub known-sensitive settings from EMF.getProperties()
** New Feature
* [HHH-5869] - Add suport for nationalized character mappings
* [HHH-6613] - Support for audited @ElementCollection / collection of elements
* [HHH-6736] - Support for SELECT ... FOR UPDATE SKIP LOCKED / read past locking
* [HHH-7402] - Improve performance of named query registry
* [HHH-7552] - New StrategySelectorService
* [HHH-7723] - Adding mssql2012 DBAllocator label
* [HHH-7827] - [ENVERS] Create ability to get the latest revision of all instances for a requested Entity Class
** Patch
* [HHH-3869] - Improve toString on SessionStatistics
* [HHH-6361] - Collection events may contain wrong stored snapshot after merging a detached entity into the persistencecontext
** Task
* [HHH-7387] - Integrate Draft 6 of the JPA 2.1 spec
* [HHH-7451] - Integrate Draft 7 of the JPA 2.1 spec
* [HHH-7521] - JBoss 7 / JPA 2.1 integration work
* [HHH-7620] - allow ValidatorFactory to be passed into EntityManagerFactoryBuilder
* [HHH-7621] - allow DataSource to be passed into EntityManagerFactoryBuilder
* [HHH-7727] - Mark Envers demo as test source
* [HHH-7749] - Allow setting system properties for tests on gradle command line
* [HHH-7782] - Deprecate PersistentElementHolder, PersistentIndexedElementHolder, PersistentListElementHolder and PersistentMapElementHolder
* [HHH-7914] - Improve new stored procedure call support
* [HHH-7957] - Integrate Latest draft(s) of the JPA 2.1 spec
* [HHH-7978] - Document new feature from HHH-5869
* [HHH-8044] - Remove mention of unsupported cache providers from Developer Guide
* [HHH-8095] - Upgrade to JTA API 1.0.1
* [HHH-8097] - Pull in new EE7 apis for integration
* [HHH-8129] - Unify BaseQueryImpl and AbstractQueryImpl hierarchies
Changes in version 4.1.5.SP1 (2012.07.12)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.atlassian.net/browse/HHH/fixforversion/12155
** Bug
* [HHH-7447] - ValueHolder used in NaturalIdCacheKey is not Serializable
** Improvement
* [HHH-2394] - Support filter tag in subclass
Changes in version 4.1.5.Final (2012.07.12)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/12150
** Bug
* [HHH-5411] - Missing value in not updatable column in Envers audit table
* [HHH-5565] - Memory leak is possible if changes for audited entities are outside of transaction
* [HHH-5929] - PooledLoOptimizer in conjunction with SequenceStyleGenerator is not thread-safe
* [HHH-6304] - Error "Cannot create TypedQuery for query with more than one return" with named queries
* [HHH-6707] - One-to-One mapping with foreign key in target table and foreign key being the primary key fails with Oracle
* [HHH-6896] - Metamodel.managedType(...) implemented incorrectly
* [HHH-7310] - Resolution of types registered in type registry does not work properly for Properties of @Embeddable types
* [HHH-7311] - NullPointerException if TenantConnectionProvider class does not exist
* [HHH-7368] - SQLServer2005Dialect: pagination query fails if terminating with a semicolon
* [HHH-7369] - SQLServer2005Dialect: scalar query fails with pagination
* [HHH-7374] - Support KEY, ENTRY and VALUE qualifiers in WHERE clause
* [HHH-7380] - bug when initialize MULTI_TENANT_IDENTIFIER_RESOLVER and CUSTOM_ENTITY_DIRTINESS_STRATEGY
* [HHH-7426] - Setting cacheable="true" in orm.xml does not enable caching of entity in 2lc
** Improvement
* [HHH-4394] - @OrderBy usage on a joined classes (when using join table) produces incorred SQL syntax.
* [HHH-7370] - SQLServer2005Dialect: sql-transformation to common_table_expression not needed when offset = 0
* [HHH-7381] - Refact: split CacheImpl from SessionFactoryImpl into a session factory scope service
* [HHH-7382] - refact: unify the configuration implementation loading strategy
* [HHH-7431] - Reduce NaturalIdCacheKey Memory Footprint
** Task
* [HHH-7440] - Redesign dialect-specific LIMIT clause appliance
* [HHH-7442] - rename org.hibernate.internal.util.Value
Changes in version 4.1.4.Final (2012.05.30)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11960
** Bug
* [HHH-2214] - SQLStateConverter chooses wrong JDBCException: Locks and MySQL
* [HHH-5396] - JPQL KEY(), ENTRY() and VALUE() does not recognize alias refs
* [HHH-6256] - persistence.xml-specified javax.persistence.lock.timeout is ignored
* [HHH-6310] - SQLServer2005Dialect produced select statement with a distinct keyword within an aggregate function does not work
* [HHH-6329] - Apparently inaccurate 'java.lang.UnsupportedOperationException: Illegal attempt to edit read only item' when using SQLQuery.executeUpdate
* [HHH-6728] - SQLServer2005Dialect - Paging doesn't work with UPPERCASE colums in a case sensitive database
* [HHH-6950] - Bogus string replacement in SQLServer2005Dialect.insertRowNumberFunction()
* [HHH-6960] - NullPointerException in PreCollectionRemove Listener
* [HHH-7019] - SQLServer2005Dialect, SQLServer2008Dialect issues with subqueries
* [HHH-7074] - the replacement annotations of @Entity are not working
* [HHH-7107] - org.hibernate.test.locking.LockModeTest hangs on Sybase 15.5 and DB2-97
* [HHH-7112] - session.clear does not clear StatefulPersistenceContext.naturalIdResolutionCacheMap
* [HHH-7198] - SQLServer2005Dialect.getLimitString turns tablenames to lowercase -> SQLGrammarException: when mapping tables with capital letters
* [HHH-7285] - Using distinct in Criteria, using first- and maxResults, fails with SQLGrammarException when a colum in the distinct clause starts with 'from'
* [HHH-7294] - Envers manytomany Test BasicSametable fails on DB2 as DB2 does not support tinyint
* [HHH-7295] - ParentAuditing Test in Envers Testsuite fails across different databases with different error messages because Hibernate does not set LockMode correctly
* [HHH-7316] - Collection removal actions added by DefaultAutoFlushEventListener.onAutoFlush() are not removed when flush is not needed
* [HHH-7317] - Boolean values bound to parameters in SQL predicate cause failures using DB2 with deferPrepares = true
* [HHH-7323] - SQLServerDialectTest.testMaxResultsSqlServerWithCaseSensitiveCollation fails on mssql2008R1 and mssql2008R2 due to Lock request TimeOut period exceeded
* [HHH-7346] - Tests fail on Postgresql due to failure in typecasts
* [HHH-7347] - fail test if it runs longer than 30 minutes to prevent hangs
* [HHH-7348] - AbstractMultiTenantConnectionProvider not closing connections
* [HHH-7350] - read-only entities can not be deleted from 2LC
** Improvement
* [HHH-3961] - SQLServerDialect, support nowait in LockMode.UPGRADE_NOWAIT
* [HHH-5881] - Add getter for "namedParameters" to QueryKey
* [HHH-6846] - Support for Query.setHint(javax.persistence.lock.timeout)
* [HHH-7356] - javax.persistence.lock.timeout hint is ignored by @NamedQuery
** New Feature
* [HHH-7306] - Allow use of CurrentTenantIdentifierResolver in normal session opening
Changes in version 4.1.3.Final (2012.05.02)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11959
** Bug
* [HHH-1512] - Problem to lock a row in a DB2 database with LockMode UPGRADE
* [HHH-2697] - Can't use := for variable assignment within a SQL-Statement
* [HHH-7068] - "Cursor state not valid" error from AS400
* [HHH-7101] - NPE when trying to create EntityManagerFactory
* [HHH-7195] - Table does not handle quoted catalog
* [HHH-7225] - NullPointerException after persisting null entity value as natural-Id
* [HHH-7237] - Inline natural-id synchronization doesn't consider reattached objects
* [HHH-7238] - Remove the need for QueryResultsRegionImpl to have @Listener
* [HHH-7239] - have session remove itself from list of transaction observers on close
* [HHH-7245] - Inline natural-id synchronization doesn't consider objects loaded from shared cache
* [HHH-7246] - Envers creates revision for changing from empty string to null and from null to string
* [HHH-7250] - Bug in SharedCache handling of Natural-id
* [HHH-7251] - PostgreSQL Dialect not properly mapping SQL error codes for pessimistic lock exceptions.
* [HHH-7252] - EntityManager not retaining LockOptions context when mapping exceptions.
* [HHH-7253] - NPE thrown by NaturalIdResolutionCache
* [HHH-7265] - ConcurrentModificationException in SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion due to SynchronizationRegistryImpl.clearSynchronizations clearing SynchronizationRegistryImpl.synchronizations
* [HHH-7266] - Move away from use of Enhydra developed DataSource for JTA testing
* [HHH-7274] - Developer Guide reverses discussion of CMTTransactionFactory and JTATransactionFactory
* [HHH-7276] - Regression allows entity to be looked up by previous natural id
* [HHH-7278] - Natural-id shared cache afterTransactionCompletionProcess does not distinguish between success and failure
* [HHH-7281] - Tests fail on Postgresql due to failure in typecasting
* [HHH-7296] - NPE in JtaTransaction#markRollbackOnly
** Improvement
* [HHH-6848] - Performance Optimization of in memory merge algorithm (Wim Ockerman)
* [HHH-7235] - Support null NaturalId values in loadEntityIdByNaturalId query
* [HHH-7256] - Infinispan second level cache should react to minimal puts in putFromLoad impl
* [HHH-7272] - Have ClassLoaderServiceImpl use Class.forName rather than ClassLoader.loadClass
* [HHH-7279] - Prevent identical re-cachings in natural-id shared cache
* [HHH-7280] - Upgrade to Infinispan 5.1.4.FINAL
* [HHH-7282] - Move org.hibernate.cache.internal.Timestamper to hibernate-testing module
* [HHH-7283] - hibernate is not compilable on JDK7
** New Feature
* [HHH-6790] - Add option to SequenceStyleGenerator to prefer a "sequence per entity"
** Patch
* [HHH-5043] - Incorrect handling of hibernate.default_schema in SchemaUpdate
* [HHH-6405] - setFetchMode ignored in certain cases when using criteria queries
Changes in version 4.1.2.Final (2012.04.04)
------------------------------------------------------------------------------------------------------------------------
https://hibernate.onjira.com/browse/HHH/fixforversion/11951
** Bug
* [HHH-1657] - hql update generate wrong sql with joined subclass hierarcy
* [HHH-6271] - deploying with a 1.0 orm.xml, gets unexpected error HHH00196
* [HHH-6915] - Restrictions.ilike(String propertyValue, Object value) does not correctly initialize LikeExpresison
* [HHH-7017] - Envers does not work in case of resource-local transactions and manual session flush mode
* [HHH-7020] - Connection leak with nested sessions
* [HHH-7090] - Temporary session closing affects original session
* [HHH-7133] - NaturalIdLoadAccess not correctly working on mutable NaturalId's
* [HHH-7158] - Regression: null values on NaturalId's at persist-time are causing subsequent NPE's and wrong behaviour
* [HHH-7159] - Database keywords causes failure of some tests in org.hibernate.test.collection.custom
* [HHH-7160] - NaturalIdXrefDelegate#cache() needs to remove obsolete entries in shared cache when NaturalId values changed
* [HHH-7165] - count() query on classes using EmbeddedId should not use id column tuple on Dialects which dont support non-distinct tuple counts
* [HHH-7166] - Infinispan Hibernate RegionFactory doesn't allow user to have their own custom CommandFactory
* [HHH-7167] - The new natural id code introduced in 4.1.1 depends on the order the entity persisters are loaded which leads to fatal errors
* [HHH-7174] - org.hibernate.test.tm.CMTTest.testConcurrentCachedQueries fails due to test cases interdependent
* [HHH-7184] - Missing StaticModels for envers revision entity
* [HHH-7191] - NaturalIdCache improperly declared
* [HHH-7192] - NullPointerException in QueryTranslatorImpl on erroneously typed delete query
* [HHH-7193] - Transaction Rollback not clearing statement batch on Prepared Statement causes issues with statement caching
* [HHH-7194] - NullPointerExeption with nested subqueries using Criteria API
* [HHH-7200] - SessionFactoryObservers should be notified of the close event in reverse order of the create event
* [HHH-7204] - improve tracking of regions created in the Infinispan region factory
* [HHH-7210] - Natural-id cache put stats not being correctly updated on insert for "asynch" cache providers
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.boot.registry.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