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
Vlad Mihalcea
a5e5ea48ce
HHH-12561 - bulk_id_strategy does not work with globally_quoted_identifiers
2018-06-08 12:22:48 +03:00
Gail Badner
5e8f7347c7
HHH-12665 : Add to 5.2 migration guide: hibernate.allow_update_outside_transaction=true to restore 5.1 behavior allowing updates without a transaction
2018-06-06 15:01:38 -07:00
Vlad Mihalcea
65aa2a80f8
HHH-12589 - Add support for registering custom SQL functions when bootstrapping via JPA
2018-05-31 07:06:07 +03:00
Gail Badner
2be3d40751
HHH-11979 : Invalid SQL when force increment version of inherited entity
...
(cherry picked from commit dfecae09c5
)
2018-05-30 18:25:17 -07:00
Gail Badner
b361d4d49d
HHH-11979 : test case
...
(cherry picked from commit cc9b3eb183
)
2018-05-30 18:25:02 -07:00
Guillaume Smet
9224edb526
HHH-12633 Fix model definition in the test to be PostgreSQL compatible
2018-05-28 12:13:10 +02:00
Guillaume Smet
85aa8dc019
HHH-12633 Fix dirty tracking when previous state is unfetched
2018-05-28 11:09:28 +02:00
Guillaume Smet
3981c14e9e
HHH-12584 In fact, we can provide a ReflectionOptimizer, just without the fast class instantiator
...
The fast class instantiator don't make sense for an abstract class or an
interface. I checked the code and we can indeed instantiate a
ReflectionOptimizer without a fast class instantiator.
2018-05-28 11:09:20 +02:00
Guillaume Smet
93fed78f31
HHH-12584 Do not try to create a reflection optimizer for interfaces and abstract classes
...
It's already the behavior of the Javassist bytecode provider but the
ByteBuddy one was failing with an exception.
2018-05-28 11:09:20 +02:00
Guillaume Smet
8b2bf61eb1
HHH-12634 Make EntityPrinter more permissive regarding the parameters passed
...
(cherry picked from commit 3855210
)
2018-05-25 09:48:43 -04:00
Guillaume Smet
f4483e3576
HHH-12631 Fix invalid tracev calls in DefaultResolveNaturalIdEventListener
2018-05-25 13:14:40 +01:00
Chris Cranford
152a8b30db
HHH-12592 - Fix merging detached enhanced entities with orphan-removal collections.
...
(cherry picked from commit 4f11910
)
2018-05-24 19:37:26 -04:00
Chris Cranford
15271913f5
HHH-12592 - Added test case.
...
(cherry picked from commit e7b338a
)
2018-05-24 19:37:10 -04:00
Chris Cranford
c6f8e7edee
HHH-12612 - Added embeddable TYPE_USE test case coverage.
...
(cherry picked from commit 0d79bc0
)
2018-05-24 17:02:37 -04:00
Chris Cranford
c344860f19
HHH-12612 - Use getQualifiedName rather than toString.
...
(cherry picked from commit 5674eae
)
2018-05-24 17:02:31 -04:00
Guillaume Smet
1d129c899d
HHH-12621 Copy the query spaces when initializing a new NativeQueryImpl
...
This could ultimately lead to ConcurrentModificationException.
2018-05-24 19:10:13 +01:00
Chris Cranford
287022db24
HHH-12612 - Fix JDK9 compatibility with TYPE_USE on collection fields.
...
(cherry picked from commit 45a3b39
)
2018-05-23 19:33:40 -04:00
Chris Cranford
f4f2880127
HHH-12011 HHH 12612 - Remove unnecessary output from test case.
...
(cherry picked from commit 895b0bb
)
2018-05-23 19:33:30 -04:00
Vlad Mihalcea
09d26967f7
Fix intermitent failures due to modification time being assigned after 1ms after creation time
...
(cherry picked from commit 5e34f82
)
2018-05-23 16:26:08 -04:00
Chris Cranford
e8f4d0c8bc
HHH-12581 - Revert original fix for HHH-12338 to address regression.
...
(cherry picked from commit df6d44f
)
2018-05-23 14:19:45 -04:00
Chris Cranford
e66d0689b4
HHH-12581 - Added test case.
...
(cherry picked from commit 3b05e92
)
2018-05-23 14:19:34 -04:00
Chris Cranford
940b771f96
HHH-12569 - Fix ordered inserts constraint violation when using a OneToOne with a JoinColumn.
...
(cherry picked from commit de44e41
)
2018-05-17 16:10:33 -04:00
Chris Cranford
56f2c8f69f
HHH-12569 - Added test case.
...
(cherry picked from commit 3c3dc88
)
2018-05-17 16:10:22 -04:00
Chris Cranford
5fd63433c9
HHH-12011 - Fix JDK9 compatibility with TYPE_USE on array primitive-based fields.
...
(cherry picked from commit f8ffbd0
)
2018-05-13 15:36:29 -04:00
Chris Cranford
4ebfd43ed0
HHH-12011 - Use TypeVisitor rather than string parsing for array types.
...
(cherry picked from commit 2ad6bf6
)
2018-05-11 13:37:43 -04:00
Chris Cranford
97f715636f
HHH-12011 - Fix metamodel generation with TYPE_USE targeted annotations.
...
(cherry picked from commit 67096ce
)
2018-05-11 13:37:35 -04:00
Chris Cranford
e3b29c6f2d
HHH-12011 - Added test case.
...
(cherry picked from commit 7162bf2
)
2018-05-11 13:37:25 -04:00
Vlad Mihalcea
1c3895fa71
HHH-12423 - SecondaryTable is not taking into account the schema while mapping the entity
...
(cherry picked from commit 511a5a3618
)
2018-05-10 16:25:50 -07:00