Commit Graph

8450 Commits

Author SHA1 Message Date
Guillaume Smet 412e08c194 Prepare for next development iteration 2018-11-16 18:32:24 +01:00
Guillaume Smet 7c3249c246 5.2.18.Final 2018-11-16 18:06:48 +01:00
Gail Badner 638a181461 HHH-11209 : Log a DEBUG message if collection with queued operations is detached due to rollback; otherwise, log INFO message
(cherry picked from commit e12a688524)
2018-11-14 00:45:50 -08:00
Guillaume Smet ed1644247e Exclude the build directories from the files pushed to SourceForge 2018-11-10 15:57:30 +01:00
Guillaume Smet dbfc05de53 Exclude the bin directories from the files pushed to SourceForge 2018-11-10 15:56:48 +01:00
SirWayne e9deae3981
HHH-12964 - Upgrade to dom4j 2.1.1
(cherry picked from commit e66da8af00)
2018-11-09 21:23:03 +01:00
Gail Badner e41b6b20d4 HHH-11209 : Fix checkstyle error
(cherry picked from commit 741c84a10c)
2018-11-08 22:09:30 -08:00
Gail Badner 9105b366ed HHH-11209 : Log a DEBUG message if collection with queued operations is detached due to rollback
(cherry picked from commit 7af7182cc1)
2018-11-08 22:08:26 -08:00
Gail Badner 4486fa5ccc HHH-11209 : Added test case for testing debug logging when collection is detached during rollback
(cherry picked from commit 22ad668b88)
2018-11-08 22:03:10 -08:00
Gail Badner 0c1ca11375 HHH-11209 : Test cases
HHH-11209 : NullPointerException in EntityType.replace() with a PersistentBag

HHH-11209 : Add test for merging a detached collection with queued operations

HHH-11209 : Throw UnsupportedOperationException if a detached collection with queued operations is merged

HHH-11209 : Ignore queued operations when merging a detached collection with queued operations; add warnings

HHH-11209 : Fix typo in comment
(cherry picked from commit 6f5b1e5543)
2018-11-08 21:59:39 -08:00
Guillaume Smet 18ed6d93b8 HHH-12906 Add tests 2018-08-13 12:07:59 +02:00
Florian Beaufumé 335279721b HHH-12906 Used the correct attribute in getAllCollectionRoles() 2018-08-13 12:07:59 +02:00
Gail Badner bab360b10b HHH-12792 : Document binary incompatibility of persisters and tuplizers 2018-07-24 09:37:34 +02:00
Guillaume Smet cb57dbe0d9 HHH-12820 Minor editorialization while checking the content is in sync
with the wiki
2018-07-18 13:06:08 +02:00
Gail Badner 4dcd460669 HHH-12802 : Fix test case to recover from exception properly
(cherry picked from commit 9202a5a11d)
2018-07-13 15:54:08 -07:00
Gail Badner fc25c0fc01 HHH-12802 : Hibernate does not thrown an exception when more than entity is loaded with the same ID
(cherry picked from commit 926ad5a133)
2018-07-13 14:53:15 -07:00
Gail Badner 426b001740 HHH-12802 : test case
(cherry picked from commit 2ef777e3fe)
2018-07-13 14:52:40 -07:00
Vlad Mihalcea 88fda0598c HHH-12349 - User Guide documentation for @Filter is too verbose 2018-07-12 14:58:42 +03:00
Jonathan Bregler dfe0bcbbca HHH-12798: Fix for nested spatial functions on SAP HANA 2018-07-12 14:23:26 +03:00
Gail Badner a9d5847fa9 HHH-12740 : Subselect fetching doesn't work when multiLoad was used
(cherry picked from commit 579ee65fd3)
2018-07-10 18:52:35 -07:00
Vlad Mihalcea ce13cee9c0 HHH-12200 - Docs mention outdated APIs 2018-07-09 14:24:24 +03:00
Vlad Mihalcea 8f48bbe2bb HHH-12716 - Sample code is required for documentation of disabling polymorphism in queries
Fix typo
2018-07-05 12:20:13 +03:00
Gail Badner c8bc082891 HHH-12746 : Remove assertion that hashCodes are not equal from test
(cherry picked from commit 9b0c3ba600)
2018-07-04 15:58:08 -07:00
Gail Badner 1bc9933c8d Revert "HHH-12746 : CacheKeyImplementation objects with different entityOrRoleName and same id/tenantId have the same hashCode"
This reverts commit 220f41dc3b.

(cherry picked from commit b4762fd52c)
2018-07-04 15:57:48 -07:00
Gail Badner 99b725f444 HHH-12687 : Update migration guide 2018-07-04 15:35:22 -07:00
Vlad Mihalcea 1066d8e097 HHH-12769 - Rework LockTest#testContendedPessimisticLock so that it can work on Oracle without throwing exceptions 2018-07-04 21:01:07 +03:00
Vlad Mihalcea 1598343a4f HHH-12767 - Fix tests failing on Oracle 2018-07-04 17:52:50 +03:00
Vlad Mihalcea 9314d25106 HHH-12350 - User Guide documentation for @Any is too verbose 2018-07-03 16:01:57 +03:00
Vlad Mihalcea 569a4e08ca HHH-12716 - Sample code is required for documentation of disabling polymorphism in queries 2018-07-03 15:03:45 +03:00
Vlad Mihalcea 4a9afdb8c7 HHH-12351 - User Guide: document why Subselect always requires Synchronize 2018-07-03 14:28:49 +03:00
Gail Badner d8fe2ebdae HHH-12746 : CacheKeyImplementation objects with different entityOrRoleName and same id/tenantId have the same hashCode
(cherry picked from commit 220f41dc3b)
2018-07-02 11:15:16 -07:00
Gail Badner a7ac22c686 HHH-12746 : test case
(cherry picked from commit f166b044a6)
2018-07-02 11:15:02 -07:00
Vlad Mihalcea 0bf95c599c HHH-12353 - Document that Session.getReference not always returns a T 2018-07-02 17:30:15 +03:00
Vlad Mihalcea 6146809af2 HHH-12749 - Avoid setting the isolation level to the same value in C3P0ConnectionProvider 2018-07-02 14:33:03 +03:00
Vlad Mihalcea 3a3b0740df HHH-12738 - Session/EntityManager is closed in ForeignGenerator (JTA setup) 2018-06-29 13:45:16 +03:00
Vlad Mihalcea b9cb71772b HHH-12341 - Documentation refers to nonexistent "image clob" 2018-06-29 10:55:40 +03:00
Vlad Mihalcea c89a362d56 HHH-12660 - Missing verb in reference documentation
HHH-12715 - Error in documentation sample code about JPQL and HQL
HHH-12691 - Code block is broken in documentation about AUTO flushing
2018-06-28 18:19:36 +03:00
Vlad Mihalcea 1855d23aef HHH-12697 - Headings problem in Hibernate Documentation 5.3.1 - Proxool configuration
HHH-12698 - Headings problem in Hibernate Documentation 5.3.1 - Transation Patterns
2018-06-28 15:05:04 +03:00
Gail Badner 4e8ff8c12d HHH-12637 : Improvement to fix for HHH-12592
HHH-12637 : Rename/add new tests; remove sequences from IDs
(cherry picked from commit 3dcf69c687)
2018-06-27 23:02:25 -07:00
Gail Badner 83d9c3eb93 HHH-12592 - Fix merging detached enhanced entities with orphan-removal collections.
(cherry picked from commit 01caa5f2b4)
2018-06-27 23:00:51 -07:00
Gail Badner 1bd3fb9139 HHH-12592 : Add more tests
(cherry picked from commit 6aa8301499)
2018-06-27 22:54:30 -07:00
Gail Badner ad79d47dc7 Revert "HHH-12592 - Fix merging detached enhanced entities with orphan-removal collections."
This reverts commit 4f119105f8.

(cherry picked from commit e1b08967d9)
2018-06-27 22:54:10 -07:00
Gail Badner e171ae965c HHH-12592 : add assertions to ensure that the detached and merged collection are not the same, which currently fails
(cherry picked from commit c3c0cd550f)
2018-06-27 22:53:49 -07:00
Yoann Rodière cf891dbe92 HHH-12594 Un-ignore BatchFetchBootstrapTest 2018-06-25 17:42:10 +02:00
Yoann Rodière 4a53df0dd3 HHH-12594 Do not share AliasResolutionContextImpl between EntityLoadQueryDetails instances
Sharing it results in some tables being aliased twice for the same query
space, but with different aliases, resulting in exceptions.

Ideally we should try to generate the aliases once, and then share the
AliasResolutionContextImpl between EntityLoadQueryDetails instances,
but I'm really not comfortable enough with this code to make that kind
of changes.
2018-06-25 17:42:01 +02:00
Yoann Rodière ebda68958d HHH-12594 Trim down BatchFetchBootstrapTest to the simplest possible configuration
So that we can investigate without unnecessary complexity getting in the
way.
2018-06-25 17:41:53 +02:00
Vlad Mihalcea bb732cf26a HHH-12594 - Using property "hibernate.default_batch_fetch_size" crashes bootstrapping
Fix test failing in spite of @FailureExpected
2018-06-25 17:41:45 +02:00
Vlad Mihalcea 15f737e9e1 HHH-12594 - Using property "hibernate.default_batch_fetch_size" crashes bootstrapping 2018-06-25 17:41:37 +02:00
Gail Badner 93514be20d HHH-12687 : ManyToOne associations in embeddable collection elements and composite IDs are always eagerly loaded
(cherry picked from commit 607e51617e)
2018-06-15 15:14:31 -07:00
cristhiank eecf5d41f9 HHH-9403 - AssertionFailure: Fail to process type argument in a generic declaration 2018-06-11 10:20:36 +03:00