forked from hibernate/hibernate-orm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
changelog.txt
3880 lines (3493 loc) · 232 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.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
** Improvement
* [HHH-3709] - Add StartRevision/EndRevison fileds to audit tables
* [HHH-5372] - Improve envers query performance by using new REVEND column
* [HHH-5441] - Create "Getting Started Guide"
* [HHH-5543] - JEE bootstrapping should only parse and validate mapping files once
* [HHH-5557] - Sybase supports alias length upto 30 characters
* [HHH-5564] - Upgrade to Infinispan 4.2.x
** Task
* [HHH-5524] - Move tagRelease.sh into svn
Changes in version 3.6.0.Beta4 (2010.09.01)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11140
** Sub-task
* [HHH-5442] - Write native tutorial chapter
* [HHH-5444] - Write annotations tutorial chapter
* [HHH-5445] - Write a jpa/entitymanager tutorial guide
* [HHH-5462] - Write preface
* [HHH-5463] - Write a community chapter
** Bug
* [HHH-817] - Projection aliases should not be applied to where-clause (Milosz Tylenda)
* [HHH-1189] - interfaces for Proxies are not regonized as interfaces
* [HHH-3334] - Cascade-save breaks if parent ID is assigned (delays insert) and child has identity ID (early insert) (Wallace Wadge)
* [HHH-5142] - Exception when initializing lazy @ManyToMany indexed collection containing not audited entities
* [HHH-5225] - Cannot parse order-by fragment if it contains a registered function without parentheses
* [HHH-5440] - Joined collection expressions not properly "rendered" in JPA Criteria queries
* [HHH-5511] - Infinispan Region.destroy() impl should call cache.stop()
* [HHH-5512] - JndiInfinispanRegionFactory shouldn't try to stop CacheManager
* [HHH-5517] - Switch uuid generation in SessionFactory to org.hibernate.id.UUIDGenerator instead
* [HHH-5519] - VersionedItem should not extend Item, otherwise query cache results are confusing
* [HHH-5520] - Per org.hibernate.cache.spi.RegionFactory javadocs, implementors should be allowed to use no-arg constructor
** Deprecation
* [HHH-5489] - Deprecate jbosscache as a second level cache provider, in favor of infinispan
** Improvement
* [HHH-5427] - derby 10.6.1.0 native sequence support broken
* [HHH-5507] - Add @MapKeyType annotation
* [HHH-5509] - Leverage StandardBasicTypes internaly
* [HHH-5515] - Upgrade to Infinispan 4.1.0.CR3
** Patch
* [HHH-5197] - Envers documentation doesn't include the correct configuration when using Hibernate directly
* [HHH-5453] - ByteCodeHelper.readByteCode won't load classes bigger than a constant size
** Task
* [HHH-5502] - Upgrade to maven-jdocbook-plugin 2.3.2
* [HHH-5505] - enable Sybase 15.5 in the test db profile
* [HHH-5506] - rollback maven-jdocbook-plugin to 2.3.0
* [HHH-5510] - Upgrade to maven-jdocbook-plugin 2.3.3
Changes in version 3.6.0.Beta3 (2010.08.18)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11133
** Sub-task
* [HHH-5464] - Write a chapter about obtaining Hibernate
** Bug
* [HHH-1643] - Sub-query as function parameter - either sub-query is missed from SQL or NullPointerException raised
* [HHH-5180] - StandardQueryCache.get() does not handle EntityNotFoundException for natural key lookups
* [HHH-5426] - HQL update/delete does not invalidate the query cache
* [HHH-5449] - Versioned HQL update might issue incorrect SQL
* [HHH-5469] - HHH-3659 is only half done, due to HHH-4989 (i.e. no HQL performance log when running Java 5)
* [HHH-5473] - Default for CHECK_NULLABILITY does not allow merge retries
** Improvement
* [HHH-5438] - Skip deployment of "irrelevant" modules
* [HHH-5439] - Deployment of site.xml
* [HHH-5474] - Clean up usages of now deprecated ExtendedMappings
* [HHH-5477] - Introduce StandardBasicTypes for standard basic type constants
** Patch
* [HHH-5300] - Configurable QueryPlanCache reference counts (Manuel Dominguez Sarmiento)
** Task
* [HHH-5451] - deprecate cglib as bytecode provider
* [HHH-5479] - Upgrade jDocBook plugin to 2.3.0
* [HHH-5485] - Move hiberante dtd files from http://hibernate.sourceforge.net to http://www.hibernate.org/dtd
Changes in version 3.6.0.Beta2 (2010.08.04)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11132
** Bug
* [HHH-2350] - 2nd level cache broken for non-inverse bidirectional one-to-many relation
* [HHH-4011] - ChainedPropertyAccessor is not serializable, which breaks caching to disk and replicated caches.
* [HHH-5097] - Bug in ParameterizedFunctionExpression with two or more parameters: IllegalArgumentException
* [HHH-5296] - AbstractFromImpl::getJoin() shall return empty set, not null
* [HHH-5355] - org.hibernate.test.id.uuid.sqlrep.sqlchar.UUIDCharTest errors with IngresDialect
* [HHH-5400] - Binding BLOB values via byte[] (MaterializedBlobType) fails in 3.6 on MySQL
* [HHH-5408] - Revise JPA compliance wording used in documentation according to Oracle policies
* [HHH-5415] - org.hibernate.type.descriptor.java.DataHelper dumping "NClob not found" exception to stderr
* [HHH-5425] - PropertyAccessException when caching results from a Query with a ResultTransformer that as 1 value per row
* [HHH-5431] - Infinispan's CacheAdapterImpl.putAllowingTimeout not using silent flag
** Improvement
* [HHH-2510] - override equals() and fix hashCode() in AliasToBeanResultTransformer
* [HHH-5212] - Alter SQLFunction contract to be more flexible
* [HHH-5283] - Add BasicType handling of java.net.URL
* [HHH-5295] - Rendered JPAQL query shall be the same all the times, aliases shall not have random indexes
* [HHH-5331] - Remove reflection calls on SessionFactory for JDK 1.5 detection in relation to Statistics
* [HHH-5375] - Merge AnnotationConfiguration into Configuration
* [HHH-5418] - Have Configuration delay parsing/binding of mappings until buildMappings() is called
* [HHH-5420] - introducing new dialect for ms sql server 2008 with jdbc 3.0 and above
* [HHH-5424] - ResultTransformer should only be set in the QueryKey if putting/getting data that is actually transformed
** New Feature
* [HHH-3908] - Expose way to fully control fetching and result mapping on SQLQuery
* [HHH-5423] - Provide a JBoss TS TransactionManagerLookup implementation for standalone (non JNDI) usage
** Patch
* [HHH-5246] - Addition of withClause for DetachedCriteria (Shawn Clowater)
* [HHH-5349] - CriteriaHQLAlignmentTest fails with an error running with the Ingres dialect
* [HHH-5401] - Update to HHH-5381 HSQLDB new dialect (Fred Toussi)
* [HHH-5435] - Add identity column support to the Ingres10Dialect
** Task
* [HHH-5259] - Invalid reflection optimization configuration property name in Hibernate documentation.
* [HHH-5416] - upgrade to h2 1.2.140
Changes in version 3.6.0.Beta1 (2010.07.21)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/10941
** Sub-task
* [HHH-3764] - Add the "end-revision" column when generating metadata
* [HHH-3765] - Fill the "end revision" column with appropriate data in add/mod/del/collection work units
* [HHH-5115] - Migrate Annotations documentation system to jdocbook's maven plugin (like core)
* [HHH-5149] - Update "Basic O/R Mapping" (chapter 5) and "Collection Mapping" (chapter 6) of Core manual to use annotations
* [HHH-5150] - Update settings section to reflect merge from Annotations and Core documentation
* [HHH-5153] - Update Filters chapter to also show annotation configuration
* [HHH-5155] - Move Additional modules chapter from Annotations to Core probably in Appendix
* [HHH-5366] - Move annotations module tests into testsuite module
* [HHH-5367] - Move annotations module sources into core module
* [HHH-5379] - Update "Transitive persistence" (10.11) section to incorporate annotations
* [HHH-5380] - Update "Cache mappings" (20.2.1) section to incorporate annotations
* [HHH-5388] - Add @NamedQuery, @NamedNativeQuery, @SqlResultSetMapping, @Tuplizers and @FetchProfile to Core documentation
* [HHH-5389] - Update custom CRUD chapter
** Bug
* [HHH-2269] - Many-to-one cascade fails with TransientObjectException if the inverse collection is marked CascadeType.DELETE_ORPHAN
* [HHH-2277] - bidirectional <key-many-to-one> both lazy=false fetch=join lead to infinite loop
* [HHH-3001] - The NoopOptimizer is not thread safe
* [HHH-3005] - DTD: map-key should allow nested type rather than attribute.
* [HHH-3096] - COUNT DISTINCT operator with idenfication variable w/ composite primary key produces bad sql
* [HHH-3377] - Update H2Dialect to use DECIMAL SQL type instead of NUMERIC
* [HHH-3694] - ResultTransformer not used when scroll() is used on a named SQLQuery
* [HHH-4036] - EntityMetamodel entityNameByInheritenceClassNameMap field used inconsistently
* [HHH-4147] - Eager Bidirectional association with @ManyToOne in PK lead to infinite loop
* [HHH-4156] - c3p0 is not used when only specific hibernate.c3p0.* properties
* [HHH-4240] - SecondaryTables not recognized when using JOINED inheritance
* [HHH-4250] - @ManyToOne - @OneToMany doesn't work with @Inheritance(strategy= InheritanceType.JOINED)
* [HHH-4568] - Sybase - Test "BatchTest" fails due to "unexpected row count from update"
* [HHH-4647] - Problems with @JoinColumn referencedColumnName and quoted column and table names
* [HHH-4716] - NotAuditedException using the entity name concept of hibernate.
* [HHH-4773] - @CollectionId does not force the id column to not-null
* [HHH-4957] - Criteria Projections.countDistinct() function broken
* [HHH-4966] - Entity Manager bug with ParameterExpressionImpl
* [HHH-4968] - Cannot deactivate default BeanValidationListener independently of DDL constraints generation (Vladimir Klyushnikov)
* [HHH-4991] - ManyToMany table not joined due to max_fetch_depth parameter, results to SQL exceptions
* [HHH-5006] - hibernate.globally_quoted_identifiers=true and Annotations tests
* [HHH-5032] - Setting LockModeType.OPTIMISTIC_FORCE_INCREMENT defaults to only OPTIMISTIC
* [HHH-5042] - TableGenerator does not increment hibernate_sequences.next_hi_value anymore after having exhausted the current lo-range
* [HHH-5063] - Projections that have aliases same as the property name result in invalid sql
* [HHH-5069] - Fix annotation documentation wrt setup
* [HHH-5094] - PersistenceUtilHelper cannot access non-public fields/methods (it should be able to)
* [HHH-5098] - AssertionFailure thrown when collection contains a parameterized type
* [HHH-5109] - @OneToOne - too many joins
* [HHH-5125] - The annotations @Entity and @MappedSuperclass used in one class produce a nullpointerexception
* [HHH-5131] - SchemaExport drop fails if constraint names change
* [HHH-5135] - "Ambiguous column" exception thrown with columns having the same name as a function registered with the dialect (e.g. to_date, floor)
* [HHH-5173] - hql - average returns double but looses the decimal part
* [HHH-5178] - Unit tests in org.hibernate.test.immutable fail on mssql and sybase due to keyword used for table and column name
* [HHH-5191] - CollectionMetadataGenerator fails to obtain mappedBy attribute when is defined on superclasses
* [HHH-5195] - FilterImpl.validate() throws NullPointerExeption on deserialization
* [HHH-5204] - Introduce @RequiresDialectFeature annotation
* [HHH-5207] - Unexpected exception occurs during refresh of a transient immutable business object.
* [HHH-5208] - Oracle 11g R2 RAC - Test SequenceIdentityTest fails because first value of sequence is "2"
* [HHH-5210] - Query Cache effective only after closing the session that created the cache
* [HHH-5211] - no need to create a schema first when run this test org.hibernate.test.sql.hand.custom.db2.DB2CustomSQLTest
* [HHH-5220] - Unit tests related to HHH-5063 and HHH-5135 fail on some dialects
* [HHH-5230] - Regresion! @SequenceGenerator with allocationSize=1 fails Other allocationSizes appear to be decremented by 1
* [HHH-5231] - Unit test failures lock up when they run on DB2 and PostgreSQL
* [HHH-5233] - @FetchProfile fails to take more than one @FetchProfile.FetchOverride
* [HHH-5253] - TableHiLoGenerator does not increment hi-value any more when lo-range es exhausted
* [HHH-5258] - Persistence.isLoaded(Object, String) fails if the annotated property does not have a public getter or field
* [HHH-5272] - Typo in tutorial at web site
* [HHH-5286] - Jar Scanner instances cannot be passed to EntityManagerFactory creation method
* [HHH-5288] - Envers auditReader.find() returns wrong data for embedded components using fields with default values
* [HHH-5298] - @AuditMappedBy doesn't work on an inherited relation
* [HHH-5315] - AuditJoinTable rows are no longer flushed to the database
* [HHH-5318] - Wrong logic for RequiresDialectFeature in org.hibernate.test.annotations.HibernateTestCase
* [HHH-5319] - Clean up data created in org.hibernate.test.annotations.onetomany.OneToManyTest#testUnidirectionalExplicit
* [HHH-5322] - Regression in PersistenceUtilHelper
* [HHH-5323] - correct jdbc driver version for testing
* [HHH-5324] - Tests fail on mysql
* [HHH-5329] - NoClassDefFoundError when using Hibernate 3.5 with J2SE 1.4 because of a wrong catch block
* [HHH-5332] - JndiInfinispanRegionFactory cannot be instantiated
* [HHH-5334] - PersistenceUtilHelpe.findMember(Class, String) private method doesn't work with members of a superclass
* [HHH-5340] - Typo in tutorial at web site
* [HHH-5370] - Building IN condition with CriteriaBuilder providing collection of values not working.
* [HHH-5384] - HEM should not register its own Synchronization
* [HHH-5395] - Fix the failing Lobs test
** Improvement
* [HHH-3050] - Convert usage of Hibernate's FastHashMap to ConcurrentHashMap (Java 1.5)
* [HHH-4945] - Replace all usages of EJB3TestCase with org.hibernate.ejb.test.TestCase
* [HHH-5138] - Redesign types + introduce TypeRegistry & TypeResolver
* [HHH-5144] - Dont restrict on jdk5 in hibernate core development
* [HHH-5162] - Deprecate @Entity.mutable in favor of @Immutable
* [HHH-5171] - Allow usage of standalone @JoinFormula annotation
* [HHH-5182] - Inject SessionFactory into "non-basic" Types
* [HHH-5217] - Minimize double sequence value reads in PooledOptimizer
* [HHH-5218] - Provide a new "pooled value" based optimizer which interprets the database value as the low boundary instead of upper boundary
* [HHH-5245] - Introduce LobHelper
* [HHH-5248] - Introduce CompositeType interface (to replace AbstractComponentType interface)
* [HHH-5251] - NativeSQLQueryReturn impls pre-cache a final hashcode based on non-final fields
* [HHH-5252] - AttributeFactory needs more info in AssertionFailure
* [HHH-5262] - Allow UserType and CompositeUserType to be registered with BasicTypeRegistry
* [HHH-5268] - Support for java.util.UUID properties/generators
* [HHH-5285] - Add support for CompositeUserType to implement org.hibernate.usertype.LoggableUserType
* [HHH-5362] - Upgrade trunk to latest Infinispan 4.1
* [HHH-5373] - Better account for SQLWarnings in temp table creation
** New Feature
* [HHH-3579] - Support for PostgreSQL UUID data type
* [HHH-3659] - statistics: Execution time of a query
* [HHH-5260] - Allow query region name specific eviction settings
* [HHH-5337] - Allow customization of "import.sql" file name and multi files import
** Patch
* [HHH-1574] - AbstractEntityPersister.getNaturalIdentifierSnapshot doesn't work with many-to-one ids (Alex Burgel)
* [HHH-2268] - Skip bridge methods during getter determination (JDK Bug 5062759)
* [HHH-3220] - Patch to prevent "org.hibernate.AssertionFailure: possible non-threadsafe access to the session" error caused by stateless sessions
* [HHH-5064] - OrderBy string getting dumped to console on session factory creation (Shawn Clowater)
* [HHH-5078] - JPA criteria query numeric expressions produce wrong result (due to wrong bracketing)
* [HHH-5147] - EnumType speed up in initEnumValues()
* [HHH-5213] - Add native SQL Boolean type to Ingres10Dialect
* [HHH-5336] - a few typo fixes
* [HHH-5381] - HSQLDB new dialect (Fred Toussi)
** Task
* [HHH-4868] - Upgrade to Javassist 3.12.0.GA
* [HHH-5139] - Increase minimum language level from 1.4 to 1.5
* [HHH-5145] - Update pom to use the new distributationManagement information
* [HHH-5148] - Merge Hibernate Annotations reference documentation into Core
* [HHH-5181] - Merge hibernate-annotations module code into hibernate-core
* [HHH-5186] - update db profiles id and jdbc properties' name to use dballocator
* [HHH-5200] - Prepare to use H2 as the default testing datbase
* [HHH-5254] - Present document on Types as a separate chapter
* [HHH-5281] - TypeSafeActivator should also generate constraints for @Length
* [HHH-5294] - declare source files encoding to utf-8 to avoid maven warning
* [HHH-5317] - Update Annotations and EM to use latest version of Hibernate Validator
* [HHH-5357] - Rename hibernate-testing packages
* [HHH-5358] - Merge jmx module back into core
* [HHH-5365] - merge annotations module into core module
* [HHH-5374] - Upgrade to H2 version 1.2.139
* [HHH-5382] - Upgrade to slf4j 1.6
* [HHH-5397] - Odds and ends from documentation merge
Changes in version 3.5.1 (2010.04.14)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11021
** Bug
* [HHH-2809] - dialect changes: limit string
* [HHH-3543] - method org.hibernate.transaction.JDBCTransaction.notifyLocalSynchsBeforeTransactionCompletion "swallows" all exceptions occured inside it
* [HHH-4077] - Misuse of NamingStrategy and logical column names in HbmBinder
* [HHH-4721] - Error in AuditSync.beforeCompletion() does not result in faillure of JDBCTransaction
* [HHH-4912] - testManyToManyWithFormula induces error with Ingres dialect
* [HHH-4938] - Multiple errors reported during legacy FooBarTest with Ingres
* [HHH-4961] - org.hibernate.test.hql.ASTParserLoadingTest error running testPaginationWithPolymorphicQuery with Ingres
* [HHH-4965] - Implicit parameters abusively use TypeFactory.heuristicType losing UserType and XToOneType info
* [HHH-4970] - org.hibernate.test.hql.ASTParserLoadingTest error running testComponentParameterBinding with Ingres
* [HHH-4973] - org.hibernate.test.hql.ASTParserLoadingTest error running testSelectClauseSubselect with Ingres
* [HHH-4976] - org.hibernate.test.hql.ASTParserLoadingTest error running testImplicitPolymorphism with Ingres
* [HHH-4977] - org.hibernate.test.hql.ASTParserLoadingTest error running testOneToManyFilter with Ingres
* [HHH-5045] - org.hibernate.test.hql.HQLTest failure running testConcatenation with Ingres
* [HHH-5059] - callouts and programlistings with highlighting
* [HHH-5082] - QueryException thrown when grouping by component
* [HHH-5096] - FetchingScrollableResultsImpl.last() does not move to the last result if cursor is after the last result
* [HHH-5102] - Instances of a subclass can't be loaded
* [HHH-5103] - Specifying the referencedColumnName in a @JoinColumn in backtics like `uid` fails
* [HHH-5104] - EntityType.isEqual() test x equals x but should test x equals y (Thierry-Dimitri Roy)
* [HHH-5106] - UnsupportedOperationException on SQL named native queries when using the type-safe API
** Improvement
* [HHH-3962] - Ingres Hibernate dialect for EAP 4.3.0 GA CP04
** Patch
* [HHH-2470] - Use of session.createSQLQuery causes memory leak (Harry Mark and Michael Stevens)
* [HHH-5003] - IngresDialect requires query substitutions for boolean values
* [HHH-5076] - Multiple failures reported during ReadOnlyProxyTest with Ingres
** Task
* [HHH-3997] - Build aggregated javadocs
* [HHH-5083] - Align javadoc styles better with docbook / website
* [HHH-5084] - Improve overview for aggregated javadocs
* [HHH-5116] - Remove copyrighted fonts from annotations
Changes in version 3.5.0-Final (2010.03.31)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11022
** Sub-task
* [HHH-4599] - An embeddable class may contain ToOne or ToMany associations
* [HHH-4666] - Implement the clarified rules for resource discovery (esp for <mapping-file> and co)
* [HHH-4691] - Validate all new concepts are supported in orm.xml
** Bug
* [HHH-2088] - TypeMismatchException on object equality expression from one-to-one relationship
* [HHH-2997] - LikeExpression case sensitive not working properly
* [HHH-4784] - JDBCTransaction -> commit() -> notifyLocalSynchsBeforeTransactionCompletion()
* [HHH-4870] - Cannot determine java-type from given member [null]
* [HHH-4919] - DefaultMergeEventListener does not call Interceptor.instantiate() for a new persistent entity (Francesco Degrassi)
* [HHH-4931] - two tests in org.hibernate.test.legacy.MultiTableTest fail on Ingres
* [HHH-4946] - org.hibernate.test.legacy.FooBarTests testLimit failure with Ingres
* [HHH-4958] - Immutable entity snapshot is retained after insert
* [HHH-4972] - javax.persistence.query.timeout and javax.persistence.lock.timeout can be passed when creating an EMF
* [HHH-4993] - Updates to read-only entity associations made while in persistent state are ignored by flush
* [HHH-4998] - org.hibernate.test.hql.ASTParserLoadingTest failure running testStr with Ingres
* [HHH-5000] - duplicate words in the documents
* [HHH-5010] - org.hibernate.test.hql.CriteriaHQLAlignmentTest.testCriteriaAggregationReturnType() needs call flush before do the query
* [HHH-5013] - the previous select query should not to hold locks in TypeParameterTest#testSave
** Improvement
* [HHH-1088] - Add support for projections using composite keys and components
* [HHH-4374] - @Subselect
* [HHH-4907] - Support for tuple syntax in HQL/Criteria on databases which do not support tuple syntax
* [HHH-4940] - Document immutable/read-only entity and immutable collection functionality
* [HHH-4989] - Make Statistics concurrent safe when Java 5 is present (Alex Snaps)
* [HHH-5008] - Log query lock mode in EntityLoader constructor
* [HHH-5022] - Small documentation improvements in chapter 6
** New Feature
* [HHH-4812] - Add fetch profile support in annotations
* [HHH-4994] - find(Class<T> entityClass, Object primaryKey, Map<String, Object> properties) and refresh(Object entity, Map<String, Object> properties) do not honor properties
* [HHH-5026] - Ability to customize Scanner strategies
** Patch
* [HHH-4419] - <synchronize table="table_name"/> is missed using annotations
* [HHH-5049] - org.hibernate.test.legacy.ParentChildTest error running testLoadAfterNonExists with Ingres
** Task
* [HHH-4933] - Write documentation on JPA 2
* [HHH-4990] - Move to commons-annotations 3.2.0.Final
* [HHH-4995] - Update dependency versions for JPA 2 and Metamodel Generator
* [HHH-4996] - Use monospace fonts in docbook programlistings
* [HHH-5035] - upgrade to jdocbook 2.2.3
* [HHH-5047] - Remove column coordinates from areaspecs
* [HHH-5058] - Include hibernate-jpa-2.0-api (JPA 2 API) in release bundle
Changes in version 3.5.0-CR-2 (2010.02.24)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11011
** Sub-task
* [HHH-4605] - Add support for @OneToMany @JoinColumn in XML
* [HHH-4606] - Add support for @*ToOne @JoinTable in XML
* [HHH-4662] - Implement javax.persistence.query.timeout
* [HHH-4676] - Any interceptor exception (RTE) should mark the tx for rollback
* [HHH-4765] - Enhance Dialect support for JPA-2 locking
** Bug
* [HHH-3817] - JBC second level cache integration can cache stale collection data
* [HHH-4583] - Incorrect handling of empty conjunction and disjunction
* [HHH-4613] - KEY, VALUE and ENTRY should not be strict keywords
* [HHH-4693] - MapProxy - problems during marshalling/demarchalling
* [HHH-4809] - Immutable entities added to a session have Status.MANAGED unless loaded by the Session
* [HHH-4810] - Persistent immutable and read-only entities are updated before being deleted
* [HHH-4825] - mapping order impacting behavior leading to bug
* [HHH-4836] - Infinispan: 2L QueryCache don't considers cached queries which belong to current transaction
* [HHH-4845] - Investigate why entitymanager test cannot be run in forkMode once
* [HHH-4899] - Type not supported: org.hibernate.type.TimestampType
* [HHH-4917] - Keyword TYPE not supported
* [HHH-4926] - Upgrade to jDocBook 2.2.1
* [HHH-4928] - Non-Audited Entity with @ManyToOne in PK causes error in Envers 1.2.2
* [HHH-4932] - Upgrade EM to use the latest metamodel generator (CR-1)
* [HHH-4944] - putFromLoad calls could store stale data
* [HHH-4948] - Session.flush() does not always cascade save or update to read-only or immutable entities
** Improvement
* [HHH-4905] - Allow consistent handling of numeric primary key values by any integral data type
* [HHH-4911] - Make referencedColumnName case insensitive
* [HHH-4930] - Drop org. prefix on hibernate.cache.default_cache_concurrency_strategy and hibernate.id.new_generator_mappings for consistency
* [HHH-4934] - Improve logging in MetadataContext and AttributeFactory
* [HHH-4942] - Refactor PackagedEntityManagerTest and JarVisitorTest to use ShrinkWrap
** New Feature
* [HHH-3841] - Add support for lock timeouts
** Patch
* [HHH-4908] - Multiple failures reported during ReadOnlyProxyTest with Ingres
** Task
* [HHH-4640] - Add test with JNDI bound JBoss Transactions Transaction Manager
* [HHH-4936] - Document JPA criteria queries
* [HHH-4949] - Document JPA 2 metamodel
* [HHH-4951] - Correct DTD entities for injecting version and date into docs
Changes in version 3.5.0-CR-1 (2010.02.10)
-------------------------------------------
http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11014
** Sub-task
* [HHH-4661] - Properly propagate Query.setLockMode to Hibernate Core
* [HHH-4664] - Implement EntityManagerFactory#getProperties()
* [HHH-4848] - Derived identities: Derived entities using @IdClass and mapping a @XToOne are not supported
** Bug
* [HHH-4317] - Memory leak in EnumType class.
* [HHH-4824] - localpath appeared in the doc xml
* [HHH-4841] - Read-only proxies in NonFlushedChanges are not read-only when applied to a new session
* [HHH-4861] - Allow lookup by the "simple" pk type of "parent entity" in "derived identities" cases
* [HHH-4877] - "Check Nullability" logging incorrectness in SettingsFactory
* [HHH-4880] - EntityManager.refresh does not throw EntityNotFoundException for removed entity
* [HHH-4883] - Unable to join across a component
* [HHH-4884] - Fix binding of @TableGenerator#initialValue into org.hibernate.id.enhanced.TableGenerator
* [HHH-4889] - @IdClass containing an associated entity reference (instead of the pk of this associated entity) should still work
* [HHH-4895] - property mappings incorrect for composite ids with many-to-one
* [HHH-4896] - Read-only proxy targets initialized from second-level cache are not read-only
* [HHH-4898] - Results from read-only Criteria and Query obtained from query cache are not read-only
* [HHH-4900] - Wrong immutable type check in IdMetadataGenerator
* [HHH-4902] - Handle JPA 2 requirement of setting id attribute to non-null with its equivalent of foreign-generator
** Improvement
* [HHH-4578] - Criteria is missing read-only flag
* [HHH-4704] - Pass session into EntityTuplizer#setIdentifier
* [HHH-4879] - Support HQL index-refering functions for many-to-many, indexed collections
* [HHH-4894] - Process composite-id sub-generators PersistentIdentifierGenerator contract(s)
** New Feature
* [HHH-4731] - Public API to know if an entity class is audited
** Patch
* [HHH-4886] - Merge minor change from IngresDialect.java from 3.3.2 for Ingres 9.2 compatibility
** Task
* [HHH-4892] - Simplify testing of persistence packages
Changes in version 3.5.0-Beta-4 (2010.01.28)
-------------------------------------------
- http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11012
** Sub-task
* [HHH-4529] - Partial support for derived identity (including @MapsId)
* [HHH-4651] - Add support for EntityManager properties
* [HHH-4659] - Add support for standard declarative cache (@Cacheable)
* [HHH-4660] - Support Cache Retrieve Mode and Cache Store Mode Properties
* [HHH-4669] - Implement JDBC driver properties support
* [HHH-4677] - implement PersistenceUnitInfo#getPersistenceXMLSchemaVersion(); and the same in PersistenceMetadata
* [HHH-4678] - Apply PersistenceUnitInfo#getSharedCacheMode and #getValidationMode
* [HHH-4690] - Consider adding a flag for legacy/new generators
* [HHH-4725] - implement orphanRemoval for OneToOne
* [HHH-4849] - Derived Identity: default @JoinColumn is not honored for properties linked to @MapsId
** Bug
* [HHH-3828] - Criteria: Restriction whith class does not work
* [HHH-4736] - Cannot pass ValidatorFactory into PersistenceProvider.createContainerEntityManagerFactory(PersistenceUnitInfo, Map)
* [HHH-4781] - When a read-only entity is refreshed it is changed to modifiable
* [HHH-4789] - Check annotations and entitymanager poms for consistent plugin configuration
* [HHH-4796] - NullPointerException when an @AssociationOverride joinColumn is set but no @AssociationOverride joinTable is on a given property
* [HHH-4797] - Backref properties should be ignored when building the JPA 2 metamodel (leading atm to java.lang.IllegalArgumentException: Cannot determine java-type from given member [null])
* [HHH-4804] - Entities in non-lazy associations loaded by a read-only HQL Query are not read-only
* [HHH-4805] - JPA 2 metamodel impl ignores nested generics
* [HHH-4806] - em.getTransaction.commit() does not always wrap in a RollbackException
* [HHH-4807] - not-null checking no longer applied even if Bean Validation is not present
* [HHH-4828] - Entities returned by Query...setReadOnly(true)...iterate() should be read-only
* [HHH-4834] - Exception in the metamodel population when raw types are used in collections
* [HHH-4843] - org.hibernate.ejb.util.LogHelper assumes javax.persistence.spi.PersistenceUnitInfo#getProperties is never null
* [HHH-4846] - NPE in AbstractIdentifiableType.checkDeclaredVersion
* [HHH-4847] - In nested id generators, use the context aka idObject for set operation and the raw entity as input for generation
* [HHH-4850] - Transaction commit throws RollbackException instead of PessimisticLockException
* [HHH-4851] - OneToOneSecondPass Metadata is mistakenly interpreted
* [HHH-4853] - 3.4.4.3 Lock Mode Properties and Uses, "Vendor-specific hints must be ignored if they are not understood. "
* [HHH-4855] - Incorrectly tries to search a secondary table when globally quoted identifiers are used
* [HHH-4858] - Implicitly add a cascade PERSIST when @MapsId is used
* [HHH-4859] - NPE when the entity uses a core-style "embedded" id (ie not an @IdClass nor an explicit @EmbeddedId)
* [HHH-4862] - quoted column/alias names not properly handled in org.hibernate.loader.EntityAliases
** Improvement
* [HHH-4552] - Support generated value within composite keys
* [HHH-4813] - annotation and entitymanager module should use the maven-injection-plugin to generate version string
* [HHH-4816] - Cleanup JPA setting name constants
** New Feature
* [HHH-2501] - Add capability to set a default read-only/modifiable setting for a session
* [HHH-2762] - SessionImplementor.getNonFlushedChanges()/applyNonFlushedChanges() API and initial implementation
* [HHH-4616] - Configure global/cache level JMX statistics from Hibernate configuration file
* [HHH-4726] - Add support for delete-orphan cascading to <one-to-one/>
* [HHH-4840] - Support embedded id properties like core
** Task
* [HHH-4792] - Validate fix for HHH-4791
* [HHH-4793] - Revert disabling of VersionsJoinTableRangeComponentNamingTest and fix underlying issue
* [HHH-4799] - Create a *unit* test that asserts SerializationHelper's ability to deser a class using an "isolated classloader" (aka a TCCL)
* [HHH-4822] - Add @FailureExpected annotation to annotations and entitymananger modules to allow the skipping of tests
* [HHH-4823] - Reorder modules in top level pom so that testsuite runs directly after core
* [HHH-4856] - Upgrade dependency to jpa metamodel generator
Changes in version 3.5.0-Beta-3 (2010.01.13)
-------------------------------------------
- http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/10981
** Sub-task
* [HHH-4203] - Implement JPA 2.0 criteria apis (compiling)
* [HHH-4352] - implement @AttributeOverride for Map (key, value)
* [HHH-4353] - implement default column naming strategy for Collections and Map of basic types
* [HHH-4527] - Implement @j.p.Access support
* [HHH-4536] - Fix the mismatch between JPA 2's logical model and mapping.* physical model wrt t*toOne and *ToMany
* [HHH-4546] - add JPA 2.0 locking
* [HHH-4553] - Hibernate doesn't support official JPA2 escape char for table name
* [HHH-4584] - Query Language needs to support joins on embedded values
* [HHH-4598] - An embeddable class may contains collection of basic types or embeddable objects
* [HHH-4600] - Implements full support for JPA 2 Maps
* [HHH-4601] - implement orphanRemoval for *ToMany
* [HHH-4649] - support for <delimited-identifier/> in ORM.xml files
* [HHH-4654] - Criteria quries must support referencing parameters by name
* [HHH-4657] - support CascadeType.DETACH and em.detach()
* [HHH-4663] - Make sure CriteriaQuery is serializable
* [HHH-4665] - Implement emf.getPersistentUnitUtil().getIdentifier(Object)
* [HHH-4667] - Properly parse the new orm.xml xsd and persistence.xml xsd
* [HHH-4675] - Bean Validation ConstraintViolationException should trigger a tx rollback as per JPA's spec
* [HHH-4679] - Make sure @AssociationOverride support the dot notation (section 11.1.2)
* [HHH-4680] - Implement @AssociationOverride .value for Map value overriding (section 11.1.2)
* [HHH-4681] - Implement @AttributeOverride "key." or "value." for Maps
* [HHH-4682] - Check that @CollectionTable (or its absence) defaults to the right table/column names
* [HHH-4684] - Make sure @Lob works with @ElementCollection
* [HHH-4685] - Make sure bidirectional @*To* works from an embedded object to another entity
* [HHH-4686] - Implement @MapKeyEnumerated
* [HHH-4687] - implement @MapKeyTemporal
* [HHH-4688] - Make sure @OrderBy works for @ElementCollection
* [HHH-4689] - Make sure @OrderBy supports dotted notation to point to embedded properties
* [HHH-4692] - add the new orm_2_0.xsd file
* [HHH-4696] - Add persistence.xsd version 2
* [HHH-4724] - query.multiselect() on a CriteriaQuery<Tuple> returns List<Object[]> instead of List<Tuple>
* [HHH-4752] - @AttributeOverride for column name should use no prefix for @ElementCollection (legacy uses "element")
* [HHH-4753] - Default table name for @CollectionTable is not inferred correctly according to spec requirement
* [HHH-4756] - javax.persistence.criteria.Path#get should result in *delayed* join rendering
* [HHH-4758] - Rename org.hibernate.ejb.criteria.AbstractNode#queryBuilder to #criteriaBuilder
* [HHH-4766] - Properly support criteria notion of SUM aggregation return types
* [HHH-4771] - @ElementCollection fk column should default to entityName_columnNameOfOwningId
* [HHH-4782] - Implement @AssociationOverride.joinTable
** Bug
* [HHH-1352] - Session.setReadOnly(Object, boolean) fails for proxies
* [HHH-1575] - Expression.in on component object gives parameters til SQL in wrong order
* [HHH-2166] - Long "in" lists in queries results in a Java stack overflow exception.
* [HHH-2990] - Fix SerializationHelper$CustomObjectInputStream to use Class.forName and better classloader
* [HHH-3164] - "id in ..." with EmbeddedId and criteria API
* [HHH-3240] - In Derby field type 'text' is converted to CLOB(255)
* [HHH-3338] - Order of attributes in generated SQL query is dependent on Java version
* [HHH-3529] - ConnectionWrapper is not visible from class loader
* [HHH-4041] - Null Pointer Exception when using @NotAudited on an entity with discriminator column, inherited from base entity with InheritanceType.SINGLE_TABLE
* [HHH-4063] - NPE reading metadata from an mapped interface
* [HHH-4065] - Incorrect SQL is used for HQL if the number of values for a filter collection parameter is changed
* [HHH-4090] - RelationTargetAuditMode.NOT_AUDITED not working with many-to-many relations
* [HHH-4257] - map key type no longer inferred correctly, throws exception at runtime
* [HHH-4283] - Bidirectional indexed collection mapped incorrectly for IndexedCollectionTest
* [HHH-4457] - SchemaUpdate fails on Sybase ASE 15 when a new column is added without a default value
* [HHH-4519] - Hibernate/Infinispan integration doesn't property handle Entity/CollectionRegionAccessStrategy evictAll
* [HHH-4520] - Infinispan second level cache integration can cache stale collection data
* [HHH-4531] - Derby dialect should not support comments
* [HHH-4542] - Annotation processor does not handle "bag" mappings correctly
* [HHH-4560] - JDBC4 support inadvertently missed 1.4 compatibility
* [HHH-4565] - Maven deps: HSQLDB shouldn't be a dependency in compile scope.
* [HHH-4566] - Maven deps: JAXB API and JAXB RI shouldn't be dependencies of Hibernate Annotations.
* [HHH-4567] - EntiytManager's QueryImpl mishandles ordinal position of HQL-style positional parameters
* [HHH-4571] - Infinispan not properly being built into distribution bundle
* [HHH-4572] - check if the connection supports jdbc4 before looking for the createClob method
* [HHH-4574] - ConnectionProviderFactory.getConnectionProperties() includes extra properties
* [HHH-4581] - Embedded objects in criteria API does not work
* [HHH-4586] - Parameterized functions built throught CriteriaBuilder missing parameters when rendered
* [HHH-4588] - Seam 2.x depends on ReaderInputStream which it shouldn't. Deprecate the current Hibernate ReaderInputStream class
* [HHH-4590] - CASTs from CriteriaBuilder.toXXX methods still need to be fleshed out
* [HHH-4604] - IllegalArgumentException should be raised when an ordinal parameter is not present in the query
* [HHH-4611] - When the revision number in the revision entity uses a @Column(columnDefinition=), the sql-type is not properly set on the REV property of audit entities
* [HHH-4614] - (javassist) Instrumented model with abstract MappedSuperclass and field access doesn't work
* [HHH-4625] - Use of maven-injection-plugin intermittently leads to build failures
* [HHH-4631] - Infinispan integration module is causing build problems
* [HHH-4633] - Using same table for multiple relations doesn't work
* [HHH-4634] - A many-to-many relation owned by both sides causes a mapping exception
* [HHH-4641] - @PrimaryKeyJoinColumn on an inherited entity doesn't affect the column name
* [HHH-4644] - When using join-inheritance and a custom revision entity, the child mapping uses incorrect revision number column sql type
* [HHH-4645] - Rename properties used to configure Envers from camel case to _
* [HHH-4650] - Removing an item from a persistent collection, flushing, and adding the same item again fails
* [HHH-4653] - Setting the "referencedColumnName" in @JoinColumnOrFormula throws an NPE
* [HHH-4670] - Incorrect revision types when in a add-flush-mod-flush sequence
* [HHH-4698] - Better handling of JPA criteria expressions
* [HHH-4702] - org.hibernate.ejb.metamodel.AttributeFactory should use member for javaType, et al
* [HHH-4707] - Currently no support for modulus operator
* [HHH-4708] - Make CompoundSelectionImpl implement ExpressionImplementor
* [HHH-4709] - registered length functions should return Integer
* [HHH-4711] - persistence.xml is not validated during parsing
* [HHH-4715] - Unexpected results when an updated entity that is already modifiable is set to modifiable again
* [HHH-4720] - Improve javax.persistence.metamodel.Attribute support
* [HHH-4735] - Proxy can be associated with a new session when it is already connected to a different one
* [HHH-4741] - org.hibernate.test.filter.DynamicFilterTest.testSqlSyntaxOfFiltersWithUnions fails on MySQL
* [HHH-4743] - Bug in BooleanLiteralNode with CustomType
* [HHH-4764] - org.hibernate.test.pagination.PaginationTest.testLimitOffset() fails on oracle and db2 due to
* [HHH-4767] - Bug in how Criteria Subquery selections are handled
* [HHH-4768] - Bug in how Criteria Subquery correlations are handled
* [HHH-4769] - In HQL, function ROUND always returns an Integer, it truncate the decimal part of Double number.
* [HHH-4772] - Empty conjunction/disjunction in criteria does not follow spec rules
* [HHH-4774] - Do not handle literals using parameters in JPA criteria select
* [HHH-4775] - CriteriaBuilder#notEqual being interpreted oppositely
* [HHH-4776] - Add a NullLiteralExpression for CriteriaBuilder#nullLiteral
* [HHH-4777] - org.hibernate.ejb.test.PackagedEntityManagerTest.testOverridenPar() hard code hsqldb connection info
* [HHH-4778] - Need better handling of criteria expression casting
* [HHH-4780] - Allow BigDecimal and BigInteger to be specified as numeric literal types
* [HHH-4785] - BinaryArithmeticOperation reverses incoming arguments
* [HHH-4786] - SerializableType + custom Serializable class + L2 cache causes problems
* [HHH-4788] - antrun plugin version is not explicitly specified in the parent pom
* [HHH-4790] - Envers test failing, disabling for beta-3 release
* [HHH-4791] - Invalid assumption made in org.hibernate.envers.tools.Tools#getTargetFromProxy
** Deprecation
* [HHH-4561] - Deprecate openConnection()/closeConnection() methods on Batcher interface
** Improvement
* [HHH-2576] - Allow native-sql to have placeholders for default schema and catalog
* [HHH-4000] - Utlize jhighlight hooks for rendered syntax coloration of XML and Java based programlisting docbook elements
* [HHH-4540] - Allow the revision timestamp to be a Date
* [HHH-4545] - Allow o.h.action.Executable to register for either (or both) before or after transaction completion callbacks
* [HHH-4548] - Alter poms to not use javax.* artifacts under Sun proprietary license
* [HHH-4550] - Document that update-timestamps cache region should not be configured for expiry.
* [HHH-4569] - Split focus of ConfigurationPerformanceTest
* [HHH-4573] - Minor typo, formatting and cleanup fixes
* [HHH-4575] - When Infinispan is configured for INVALIDATION don't send cluster message on entity insert
* [HHH-4671] - Derby is one of those dialects that should not support "cross join"
* [HHH-4697] - Add means to get HibernateEntityManagerFactory from HibernateEntityManagerImplementor
* [HHH-4705] - Derby does now in fact support the full ANSI SQL TRIM function
* [HHH-4719] - Support modulo operator
* [HHH-4737] - Cache the EntityKey in EntityEntry when id is non-null
* [HHH-4763] - Change antrun plugin configuration in entitymanager module to allow metamodel generation without processing all life cycles
** New Feature
* [HHH-2308] - Adding predicates to the join condition using Criteria Query
* [HHH-4608] - Add new properties that will allow to specify the default schema and catalog that should be used for audit tables
* [HHH-4694] - Support "fake" many-to-one bidirectional relations
* [HHH-4749] - Don't block calls to getListeners on SessionImplementor when using thread scoped sessions
** Patch
* [HHH-1918] - enable non-hilo identity generation in DerbyDialect
* [HHH-2347] - Improvement to DerbyDialect default identy generation mode
* [HHH-2584] - PersistentMap.remove() incorrect on uninitialized, non-extra-lazy map
* [HHH-3860] - Cascading performance problems when session contains many entities
** Task
* [HHH-4006] - Document fetch profiles
* [HHH-4498] - Move the xml configuration files in the annotations module into the default resource directory /src/test/resources