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
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
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
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
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
Gail Badner
7f10d43d80
HHH-12562 : Remove DefaultSchemaNameResolver#delegate since the value should not be cached
...
(cherry picked from commit 9b98e61e7f
)
2018-05-10 16:13:39 -07:00
Andrea Boriero
55fc981e35
HHH-12539 - Fix PostgreSql test failure
2018-05-10 12:10:13 +01:00
Andrea Boriero
d926bc15e5
HHH-12539 - NPE in AbstractPropertyMapping.getCommonPersistentClass when creating UnionSubclassEntityPersister for dynamic-map
2018-05-10 11:04:18 +01:00
Andrea Boriero
0cf49496ff
HHH-12539 - Add test for issue
2018-05-10 11:04:09 +01:00
Guillaume Smet
8916b16d3b
HHH-12556 Share data structures between similar LoadPlan based EntityLoaders
2018-05-09 22:00:12 +02:00
Vlad Mihalcea
fcd9467aa3
HHH-12470 - Batching statements fails for delete
2018-05-08 22:05:41 +03:00
Sanne Grinovero
378dcfbe86
HHH-12554 Make EnhancerImpl more closely match the semantics described in Enhancer javadoc
2018-05-08 18:10:53 +01:00
Sanne Grinovero
60852f4134
HHH-12545 ByteBuddy based enhancer not accepting special character in description names
2018-05-08 18:10:53 +01:00
David M. Lloyd
d5ee76ea11
HHH-10435 Create class loaders in a privileged block
2018-05-08 17:47:12 +01:00
Rodrigo Turini
d9ed84210c
HHH-12090 - PropertyAccessBuildingException: Could not locate setter for property named XXX for Java 8 default methods
2018-05-07 18:18:33 +03:00
Jonathan Bregler
daa1d07603
HHH-12546: locate function doesn't work on SAP HANA
2018-05-07 17:23:57 +03:00
Jonathan Bregler
757eedadb9
HHH-12541: Test for SAP HANA calculation views
2018-05-07 16:07:12 +03:00
Jonathan Bregler
8fcdbb35e6
HHH-12537: Query hint test for SAP HANA
...
- add org.hibernate.test.queryhint.QueryHintHANATest
2018-05-07 15:58:50 +03:00
Jonathan Bregler
1651c804fb
HHH-12362 - Allow both SQL query hints and comments
...
- org.hibernate.test.queryhint.QueryHintTest uses
assertNotNull(String#contains(String)) which always evaluates to true
2018-05-07 11:48:22 +03:00
Jonathan Bregler
e944f64e41
HHH-12534: SAP HANA dialects use unqualified dummy table in queries
2018-05-07 09:52:04 +03:00
Jonathan Bregler
dfad08aeb4
HHH-12535: SAP HANA dialect doesn't support circular cascade delete constraints
2018-05-07 08:38:03 +03:00
Klauswk
63e08d4ab2
Fix Typo in PersistEvent
...
Just fixing a typo i found while using Hibernate, feel free to accept or just fix in master.
Cheers.
(cherry picked from commit 83b2780
)
2018-04-30 08:50:07 -04:00
asutosh936
a3f6ff7c49
HHH-12517 - Updated Javadocs with correct parameter methods
...
(cherry picked from commit bb91924
)
2018-04-30 08:44:24 -04:00
Chris Cranford
dd450145c0
HHH-12199 - Ignore static fields when resolving property types via reflection.
...
(cherry picked from commit 1d94549
)
2018-04-27 16:10:23 -04:00
Chris Cranford
ceb45b109e
HHH-12199 - Added test case.
...
(cherry picked from commit b44001c
)
2018-04-27 16:09:58 -04:00
Vlad Mihalcea
74d0fd0dbe
HHH-12469 - Add support for IN clause parameter padding to better reuse cached statements
2018-04-27 17:52:45 +03:00
Steve Ebersole
6c42a17210
HHH-12257 - Refreshing an entity clears the lock mode returned from EntityManager.getLockMode
...
(cherry picked from commit 12b79a5938
)
2018-04-26 12:53:14 -07:00
Gail Badner
771c8fdf82
HHH-12257 : Refreshing an entity clears the lock mode
...
(cherry picked from commit a286232da3
)
2018-04-26 12:37:51 -07:00
Andrea Boriero
3148816a60
Revert "HHH-12523 - Invoke CacheTransactionSynchronization.transactionCompleting"
...
This reverts commit 7c3a4b62f1
.
2018-04-26 10:10:36 +01:00
Sanne Grinovero
47b4298707
HHH-12509 Reduce memory usage of PreparedStatementSpyConnectionProvider
2018-04-26 09:53:18 +01:00
Radim Vansa
7c3a4b62f1
HHH-12523 - Invoke CacheTransactionSynchronization.transactionCompleting
2018-04-26 11:32:28 +03:00
Gail Badner
75c2a6d619
HHH-12508 : SessionFactoryOptions#isSecondLevelCacheEnabled returns true by default with NoCachingRegionFactory
2018-04-25 12:18:28 -07:00
Gail Badner
c2d98d78ea
HHH-12508 : test cases
...
(cherry picked from commit 66d7196168
)
2018-04-25 11:43:21 -07:00
Gail Badner
e06062d6f6
HHH-11766 : Pre-pend default cache prefix to entity names in tests
2018-04-20 16:31:01 -07:00
Gail Badner
e8929e6eec
HHH-11766 : Accessing lazy basic property on entity loaded from 2nd level cache throws exception
...
(cherry picked from commit 01ba7d9565
)
2018-04-20 16:02:52 -07:00
Gail Badner
180eca3e44
HHH-11766 : Fix test case to work in 5.2 branch
2018-04-20 15:57:55 -07:00
Gail Badner
ddfb486f15
HHH-11766 : test case
...
HHH-11766 : Renamed and updated test to be more comprehensive; added another test with a lazy basic value
(cherry picked from commit 1c151f956d
)
2018-04-20 15:41:04 -07:00
Gail Badner
1f70ef7494
HHH-12507 : InsertOrderingWithCompositeTypeAssociation test fails on Oracle due to reserved word
...
(cherry picked from commit c7ea49a0b3
)
2018-04-19 14:16:43 -07:00
Steve Ebersole
8510b6c0ef
HHH-12499 - SQLQuery (binary compatibility)
...
(cherry picked from commit e508d6bee8
)
2018-04-17 18:45:42 -05:00
Steve Ebersole
2263b1b4a6
HHH-12496 - ProcedureCallMemento (binary compatibility)
...
(cherry picked from commit d9cdd58068
)
2018-04-17 15:00:48 -05:00
Steve Ebersole
07560046f5
HHH-12494 - BasicQueryContract (binary compatability)
...
(cherry picked from commit 57543a447e
)
2018-04-17 14:12:02 -05:00
Christian Beikov
ba70924073
HHH-12485 - Avoid unnecessary exceptions during import class name lookup of metamodel
...
(cherry picked from commit 2bf323f01f
)
2018-04-16 10:16:59 -05:00