Steve Ebersole
f432ecea68
HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
...
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
2018-03-22 13:25:12 -05:00
Steve Ebersole
24a078732c
HHH-12424 - Fix unintended binary compatibility breaks between 5.1 and 5.3
2018-03-22 13:01:34 -05:00
Steve Ebersole
bf0741caf4
HHH-12424 - Fix unintended binary compatibility breaks between 5.1 and 5.3
2018-03-22 12:36:09 -05:00
Vlad Mihalcea
c22540ab65
HHH-12419 - Incorrect batch inserts example
2018-03-22 14:22:51 +02:00
Sanne Grinovero
a8a9bde70b
HHH-12415 Update Gradle wrapper to Gradle 4.6
2018-03-21 16:58:31 +00:00
Andrea Boriero
00be50331f
HHH-12392 - Caching SchemaResolver delegate with multiple data sources
2018-03-21 16:35:33 +00:00
Andrea Boriero
3a2ab40314
HHH-12375 - HHH-12383 - Remove path from AbstractPropertyMapping#typesByPropertyPath for imcompatible type properties
2018-03-21 15:46:27 +00:00
Andrea Boriero
3dd67f7d6a
HHH-12375 - Add more tests
2018-03-21 15:46:27 +00:00
Christian Beikov
56d3ce4c2f
HHH-12383 - Type check existing type to avoid class cast exceptions related to type incompatible same named attributes being used in subtypes
2018-03-21 15:46:27 +00:00
Christian Beikov
7dd640a65e
HHH-12375 Fix for eager loading same named properties with conflicting types
2018-03-21 15:46:27 +00:00
Andrea Boriero
f030e7f39f
HHH-11867 - @UpdateTimestamp not working with @Inheritance( strategy = JOINED )
2018-03-21 14:34:09 +00:00
Andrea Boriero
3f666feb44
HHH-11867 - Add test for issue
2018-03-21 14:34:09 +00:00
Roland Illig
5653262812
HHH-12357 - NamingHelper uses system default encoding
...
Add replicating test case
2018-03-20 19:06:15 +02:00
Vlad Mihalcea
b599c770af
HHH-12362 - Allow both SQL query hints and comments
...
Fix broken tests
2018-03-20 18:31:13 +02:00
Vlad Mihalcea
3ebb949dcc
HHH-12362 - Allow both SQL query hints and comments
2018-03-20 17:10:42 +02:00
asutosh936
6e912cec0f
HHH-12364 : Removed @MapKeyJoinColumn with name phone_id as its not needed
2018-03-20 01:08:52 -05:00
Gail Badner
83e95d7681
HHH-12406 : Add a test for HHH-11440
2018-03-19 19:11:42 -07:00
Etienne Miret
de2e4a829f
HHH-3813 Fix flush of the join table before a criteria query.
2018-03-19 19:00:39 +02:00
Sanne Grinovero
c6ea7fd359
HHH-12399 Re-introduce Environment#jvmHasTimestampBug as deprecated method
2018-03-16 23:25:25 +00:00
Sanne Grinovero
c8bd656461
HHH-12398 Upgrade to Byte Buddy 1.8.0 to support JDK10 and preliminary support for JDK11
2018-03-16 20:09:35 +00:00
Chris Cranford
748c521d71
HHH-12314 - Fix ClassCastException when using a NegatedPredicateWrapper on a Criteria Join.
2018-03-16 13:32:59 -04:00
Andrea Boriero
b0cd713ac7
HHH-12290 - Fix tests
2018-03-16 17:15:42 +00:00
Andrea Boriero
1ac6218f5d
HHH-12397: commit transactions in org.hibernate.jpa.test.query.QueryTest
2018-03-16 17:15:42 +00:00
Lars Storm
f9dc014a79
HHH-11924: ElementCollection ignore converter for XML mapping
2018-03-16 18:08:33 +02:00
Andrea Boriero
7a47be8d9b
Revert "HHH-12391 - attempt to create test reproducing error; no luck"
...
This reverts commit 6e82e4fd53
.
2018-03-16 15:57:07 +00:00
Steve Ebersole
6e82e4fd53
HHH-12391 - attempt to create test reproducing error; no luck
2018-03-15 14:09:56 -05:00
Dmitrii Bocharov
7358944b97
HHH-12221: incorrect formatting of SQL Server statements when escaping
2018-03-15 11:09:35 +02:00
Steve Ebersole
86da00d66f
HHH-12290 - Failure with JPQL positional queries with collection parameter (IN statement for example)
2018-03-14 11:14:25 -05:00
Guillaume Smet
4d9fb70114
HHH-12290 Expand ordinal parameters to ordinal parameters
...
They used to be expanded to named parameters which causes problem with
strict JPA compliance as named and positional parameters cannot be
mixed.
The first value is replaced by the very same initial parameter position to avoid
gaps (these are not supported), then we replace the other values with max position
+ increment.
2018-03-14 11:14:25 -05:00
Guillaume Smet
0c8779e1ee
HHH-12290 Be stricter in how we find the first occurrence of a parameter
...
Currently, when looking for ?1, if would find the ?1 in ?13 if ?13 is
placed before ?1 in the parameter list.
2018-03-14 11:14:25 -05:00
Dmitrii Bocharov
7e77a6032b
HHH-12290 Add jpa compliance check for parameters mixture
2018-03-14 11:14:25 -05:00
Laurent Almeras
2a0b8f24a9
HHH-12290 JPQL collection and positional broken
2018-03-14 11:14:24 -05:00
Andrea Boriero
07a0e1243a
HHH-12380 - Stackoverflow when order_inserts=true
2018-03-14 17:58:51 +02:00
Roland Illig
08fa07442b
HHH-12388 - User Guide and Javadoc typo fixes
...
Fix adoc typo in "Using table identifier generator" User Guide section.
2018-03-14 17:28:40 +02:00
Roland Illig
a17a8df9e3
HHH-12388 - User Guide and Javadoc typo fixes
...
Fix SQL for bidirectional OneToMany The documented SQL didn't match what the test actually produces.
2018-03-14 17:25:27 +02:00
Vlad Mihalcea
069222cf58
HHH-12388 - User Guide and Javadoc typo fixes
...
Fix inconsistency between User Guide content and the associatted test case
2018-03-14 14:22:57 +02:00
Roland Illig
8b11d5ecf9
HHH-12388 - User Guide and Javadoc typo fixes
...
Fix a/an grammar in code and documentation, and other typos
2018-03-14 14:17:55 +02:00
Kirill Marchuk
8b601072f3
HHH-12388 - User Guide typo fixes
...
Getting Started guide seems to be consistently using the term "Developer Guide", which is nowhere to be found in the "current" documentation, thus I propose this change.
2018-03-14 13:24:53 +02:00
Asier Lostalé
f44555fd6a
HHH-12388 - User Guide typo fixes
2018-03-14 13:14:19 +02:00
Réda Housni Alaoui
884569f9cc
HHH-12378 JDK 9 support: Remove javax.annotation.Generated usage
2018-03-13 23:17:40 +00:00
Steve Ebersole
0c7e29b4d3
HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
...
Adding tests on 5.2 branch asserting specific expectations of Cache and Statistics API and SPI to ensure we maintain seamless upgradeability to 5.3 in terms of region name expectations (region-name-prefix handling)
* RegionNameTest - old API/SPI methods expected prefixed region name - make sure we continue to support that
* ConcurrentStatisticsTest - added cache prefix
* RefreshUpdatedDataTest - removed inaccurate assertions
2018-03-13 17:51:33 -05:00
Vlad Mihalcea
097112353e
HHH-12374 - Order inserts sorting code gives up too soon
2018-03-13 15:28:06 +02:00
Sanne Grinovero
83760bb55a
HHH-12382 TypeTest is creating a Proxy which is not necessary
2018-03-12 22:50:06 +00:00
Sanne Grinovero
c1fbee79ae
HHH-12376 Apply some ThreadLocal optimisations made possible by new Java 8 API
2018-03-09 18:47:33 +00:00
Sanne Grinovero
0daa2400dd
Simplify SessionImpl code handling of ENTITY_MANAGER_SPECIFIC_PROPERTIES
2018-03-09 00:11:03 +00:00
Sanne Grinovero
0bc7aecb6c
HHH-12370 Lazily-initialized byte[] LOB gets turned into a String, resulting in poor performance
2018-03-08 01:03:28 +00:00
Sanne Grinovero
0719c48540
Remove redundant copies of the license header
2018-03-08 00:22:44 +00:00
Christian Beikov
58af371440
HHH-12369 Fix for integer overflow in limit handler when using Integer.MAX_VALUE for maxResults on DB2
2018-03-07 18:30:28 +00:00
Christian Beikov
5aaabb0f03
HHH-12369 Testcase that ensures the max rows don't overflow
2018-03-07 18:30:28 +00:00
Andrea Boriero
690fb6c334
HHH-12332 - Add more tests
2018-03-07 17:35:07 +00:00