Commit Graph

8527 Commits

Author SHA1 Message Date
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
Christian Beikov 2f4fa36f9b HHH-12332 - Test and fix for unrelated same named singular attributes in subtypes 2018-03-07 14:57:17 +00:00
Christian Beikov 95464bd21a HHH-12332 - Test and fix for unrelated same named collection attributes in subtypes 2018-03-07 14:57:17 +00:00
Guillaume Smet 0577033193 HHH-12332 Fix a couple of formatting issues 2018-03-07 14:57:17 +00:00
Christian Beikov 1e5a8d3c43 HHH-12332 - Fix for NPE in AbstractPropertyMapping.getSuperCollection 2018-03-07 14:57:17 +00:00
Christian Beikov 249f847acd HHH-12332 - Testcase for reproducing NPE in AbstractPropertyMapping.getSuperCollection 2018-03-07 14:57:17 +00:00
Sanne Grinovero 1272403369 HHH-12367 Create a separate JBoss Module for Hibernate Envers 2018-03-07 13:02:09 +00:00
Arturas Sirvinskas dc272128a1 HHH-7119 - Hibernate filter's parameters are not populated when an entity's Collection is populated using a fetch mode of subselect 2018-03-07 12:35:17 +00:00
Andrea Boriero 020dd7f9da HHH-7119 - Add test for issue 2018-03-07 12:35:17 +00:00
Sanne Grinovero 15fc1aa697 HHH-11528 Rename the core feature pack to hibernate-orm-jbossmodules 2018-03-06 23:05:21 +00:00
Sanne Grinovero fdde4d7060 HHH-12366 Enable EE8 preview mode on WildFly 12 for integration tests 2018-03-06 22:47:59 +00:00
Chris Cranford 676784d281 HHH-8382 - Fix ordering of lob columns when using HBM mappings. 2018-03-06 13:22:15 -05:00
Chris Cranford a0b94f057a HHH-8382 - Added test case. 2018-03-06 13:22:15 -05:00
Chris Cranford 33159c13a6 HHH-8058 - Document enable querying entity revisions with property change indicators. 2018-03-06 13:09:46 -05:00
Chris Cranford 664c652a25 HHH-8058 - Enable querying entity revisions with property change indicators.
(backport from wip/6.0)
2018-03-06 12:42:43 -05:00
Chris Cranford 79354bab9f HHH-7555 - Update documentation to document the new revision information entity query api.
(backport from wip/6.0)
2018-03-06 12:23:16 -05:00
Chris Cranford fea7f348ee HHH-7555 - Add ability to query revision entity instances of an entity class without instantiating the entity instances.
(backport from wip/6.0)
2018-03-06 12:23:16 -05:00
Chris Cranford 4a3f7c19c0 HHH-12327 - Remove the Envers dependency on Javassist. 2018-03-06 12:18:36 -05:00
Chris Cranford 493c968141 HHH-12355 - Fix ordered insert failures with composite types having associations. 2018-03-06 10:40:47 -05:00
barreiro ebfab7cb07 HHH-12358 Upgrade Agroal dependency to 0.4 2018-03-05 23:09:33 +01:00