Commit Graph

8610 Commits

Author SHA1 Message Date
Jonathan Bregler 1915ba780f HHH-12357 - NamingHelper uses system default encoding
Fix failing tests on SAP HANA
2018-03-26 16:51:16 +03:00
Vlad Mihalcea c863d12fd2 HHH-12430 - Query Cache does not store eagerly fetched associations via JOIN FETCH
Add replicating test case
2018-03-26 12:41:59 +03:00
Gail Badner 9fe24e7e6d HHH-12226 : ObjectNotFoundException thrown when @NotFound(action = NotFoundAction.IGNORE) used with enhancement 2018-03-23 15:19:29 -07:00
Sanne Grinovero e7bd213c9e HHH-12427 Prevent classloader leak in ByteBuddy based BasicProxyFactoryImpl 2018-03-23 16:15:50 +00:00
Vlad Mihalcea 511a5a3618 HHH-12423 - SecondaryTable is not taking into account the schema while mapping the entity 2018-03-23 06:53:23 -05:00
Vlad Mihalcea a2a52c32e5 HHH-12357 - NamingHelper uses system default encoding
Fix issue by allowing an explicit charset to be used
2018-03-23 06:28:31 -05:00
Steve Ebersole 1ae38f27a7 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
HHH-12416 - set up relocation for hibernate-ehcache
HHH-12417 - default strategy based on registrations with StrategySelector

test failure
2018-03-22 23:25:08 -05:00
Steve Ebersole 7f12e2a161 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
HHH-12416 - set up relocation for hibernate-ehcache
HHH-12417 - default strategy based on registrations with StrategySelector

Basically reverted HHH-12416 and added basic support for Ehcache 2 again
2018-03-22 22:51:07 -05:00
Steve Ebersole 84897f0ad0 HHH-12424 - Fix unintended binary compatibility breaks between 5.1 and 5.3
checkstyle fixes
2018-03-22 13:53:17 -05:00
Steve Ebersole 1174cdad65 HHH-12417 - default strategy based on registrations with StrategySelector
ConnectionProviderInitiator and tests
2018-03-22 13:25:12 -05:00
Steve Ebersole 953f956989 HHH-12417 - default strategy based on registrations with StrategySelector 2018-03-22 13:25:12 -05:00
Steve Ebersole dae31640a8 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
HHH-12416 - set up relocation for hibernate-ehcache
2018-03-22 13:25:12 -05:00
Steve Ebersole eea22fad17 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

- initial work on migrating hibernate-jcache to new SPIs including a more template-style approach to writing a RegionFactory (o.h.cache.spi.support)
2018-03-22 13:25:12 -05:00
Steve Ebersole 638ebf01df 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

- initial work on migrating hibernate-jcache to new SPIs including a more template-style approach to writing a RegionFactory (o.h.cache.spi.support)
2018-03-22 13:25:12 -05:00
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