Commit Graph

8896 Commits

Author SHA1 Message Date
Steve Ebersole 60f4645036 HHH-12558 - Lazy load EntityLoaders to improve memory usage 2018-05-14 16:01:56 -05:00
Steve Ebersole 7943fe3fc2 minor migration guide change 2018-05-14 16:01:56 -05:00
Guillaume Smet 98cab7aefb HHH-12558 Lazy load entity loaders for the less common lock modes 2018-05-14 16:01:56 -05:00
Sanne Grinovero d5d68dcec5 HHH-12316 Document usage of the new Feature Packs 2018-05-14 21:44:39 +01:00
Steve Ebersole 26bf33abdc HHH-12529 - Some StatisticsImpl methods throw an exception instead of returning null 2018-05-14 13:19:27 -05:00
Steve Ebersole e2ac4eb22f HHH-12565 - checkstyle 2018-05-14 12:25:27 -05:00
Christian Beikov f62cecc62b HHH-12565 Fix that returns the discriminator constant instead of column reference for leaf subtypes 2018-05-14 12:25:27 -05:00
Christian Beikov f972dd4d29 HHH-12565 Test showing TYPE for a TPC hierarchy leaf subtype fails 2018-05-14 12:25:27 -05:00
Andrea Boriero ecd6f503f8 HHH-12540 - Reusing same EntityTransaction with JTA enabled 2018-05-14 12:14:22 -05:00
Andrea Boriero ca86633370 HHH-12540 - Add test for issue 2018-05-14 12:14:22 -05:00
Steve Ebersole 9f4ff8ae90 HHH-8786 - find, refresh, lock should throw LockTimeoutException or PessimisticLockException when lock problems occur
HHH-12570 - MariaDB 10.3 adds support for lock timeouts via WAIT plus NOWAIT
2018-05-14 12:08:06 -05:00
Steve Ebersole 1570c71833 HHH-12472 - WildFly (IronJacamar) - EntityManager#find with roll-back-only leads to exception rather than return null 2018-05-14 07:52:40 -05:00
Chris Cranford f8ffbd03ff HHH-12011 - Fix JDK9 compatibility with TYPE_USE on array primitive-based fields. 2018-05-13 15:33:37 -04:00
Steve Ebersole 9f293b113b HHH-12519 - Use Forbidden APIs library (Gradle plugin) to check our use of APIs
- fixing failures in non-core projects
2018-05-12 21:22:42 -05:00
Steve Ebersole ad5f63bf64 HHH-12519 - Use Forbidden APIs library (Gradle plugin) to check our use of APIs
- linked `forbiddenApis` task with the `check` task
2018-05-12 20:38:00 -05:00
Steve Ebersole 56f44399a4 HHH-12519 - Use Forbidden APIs library (Gradle plugin) to check our use of APIs
- minor cleanup
2018-05-12 20:31:05 -05:00
Steve Ebersole 0695b3ff6e HHH-12519 - Use Forbidden APIs library (Gradle plugin) to check our use of APIs
- initial support; implicit usage of default Locale is a major problem
2018-05-12 20:29:50 -05:00
Steve Ebersole 4208ca0a2f HHH-12463 - Delegate CustomType#equals/hashCode to wrapped UserType 2018-05-12 17:58:40 -05:00
Steve Ebersole 1a4577d1f0 HHH-12560 - Make sure only one Service registration (initiator/provided) exists per role
- additional test - this one needed a minor change.. all tests implicitly use values defined in `hibernate.properties`, which hibernate-core has.  This lead to `#getFallback` being called, which was the intended solution.  The fix for that was simply the next point.
- added the ability to clear the settings contained on StandardServiceRegistryBuilder.  This is used in the test to make sure that no explicit RegionFactory is set.
2018-05-11 15:38:47 -05:00
Steve Ebersole 87c7915a5c HHH-12560 - Make sure only one Service registration (initiator/provided) exists per role
- added test (passed without changes)
- added "graceful shutdown" of services already bound during construction of a registry
2018-05-11 15:00:27 -05:00
Chris Cranford 2ad6bf6724 HHH-12011 - Use TypeVisitor rather than string parsing for array types. 2018-05-11 12:51:37 -04:00
Chris Cranford 67096ce547 HHH-12011 - Fix metamodel generation with TYPE_USE targeted annotations. 2018-05-11 12:48:20 -04:00
Chris Cranford 7162bf26ec HHH-12011 - Added test case. 2018-05-11 12:48:20 -04:00
Gail Badner 9b98e61e7f HHH-12562 : Remove DefaultSchemaNameResolver#delegate since the value should not be cached 2018-05-10 16:05:56 -07:00
Guillaume Smet 8eeeb19119 Travis - Raise the travis_wait timeout to 45 minutes 2018-05-10 20:37:25 +02:00
Andrea Boriero c283349f3f HHH-12539 - Fix PostgreSql test failure 2018-05-10 12:08:47 +01:00
Guillaume Smet 6e3f9629c9 Travis - Delete more files before caching 2018-05-10 12:07:58 +02:00
Andrea Boriero fdb31045b9 HHH-12539 - NPE in AbstractPropertyMapping.getCommonPersistentClass when creating UnionSubclassEntityPersister for dynamic-map 2018-05-10 10:56:40 +01:00
Andrea Boriero 118e7dc1f2 HHH-12539 - Add test for issue 2018-05-10 10:56:40 +01:00
Guillaume Smet a93d6d9854 Try stabilizing the Travis build with travis_wait 2018-05-10 00:30:34 +02:00
Guillaume Smet 3834c4d149 HHH-12556 Share data structures between similar LoadPlan based EntityLoaders 2018-05-09 15:30:03 +02:00
Vlad Mihalcea 1c1cd47c08 HHH-12470 - Batching statements fails for delete 2018-05-08 22:03:25 +03:00
David M. Lloyd d3ee9c6ca1 HHH-10435 Create class loaders in a privileged block 2018-05-08 17:19:36 +01:00
Sanne Grinovero 207a8f03af HHH-12554 Make EnhancerImpl more closely match the semantics described in Enhancer javadoc 2018-05-08 17:14:36 +01:00
Sanne Grinovero 2fa5d3ccb8 HHH-12545 ByteBuddy based enhancer not accepting special character in description names 2018-05-08 17:14:36 +01:00
Steve Ebersole ed136d5f52 HHH-12544 - Add jipijapa hook to plug in specialized caching and transaction services 2018-05-08 10:55:26 -05:00
Steve Ebersole 350d330159 HHH-12544 - Add jipijapa hook to plug in specialized caching and transaction services 2018-05-08 10:40:15 -05:00
Rodrigo Turini 14a9c0a56d HHH-12090 - PropertyAccessBuildingException: Could not locate setter for property named XXX for Java 8 default methods 2018-05-07 17:54:53 +03:00
Jonathan Bregler db259df457 HHH-12546: locate function doesn't work on SAP HANA 2018-05-07 17:20:33 +03:00
Jonathan Bregler a01c282288 HHH-12541: Test for SAP HANA calculation views 2018-05-07 16:01:46 +03:00
Jonathan Bregler 8816c5afb2 HHH-12537: Query hint test for SAP HANA
- add org.hibernate.test.queryhint.QueryHintHANATest
2018-05-07 12:44:54 +03:00
Jonathan Bregler f17513f8c5 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:46:18 +03:00
Jonathan Bregler da14797ba8 HHH-12534: SAP HANA dialects use unqualified dummy table in queries 2018-05-07 09:16:46 +03:00
Jonathan Bregler 2b18e0efa5 HHH-12535: SAP HANA dialect doesn't support circular cascade delete constraints 2018-05-07 08:34:12 +03:00
Vlad Mihalcea 8b190dbbd0 HHH-12470 - Batching statements fails for delete
Add replicating test case
2018-05-03 08:24:02 +03:00
Steve Ebersole 82f2aa0d5d HHH-12474 - Make sure the JPA version is defined by a single property across build files
added HibernateVersion following pattern of JpaVersion
2018-04-30 10:38:34 -05:00
Chris Cranford 7938918518 HHH-12530 - Fix checkstyle concerns. 2018-04-30 09:36:00 -04:00
Chris Cranford f4e83e3a10 HHH-12530 - Fix checkstyle concerns. 2018-04-30 09:34:37 -04:00
Sergey Chernolyas db1d2d177b HHH-12530 add processing of unknown hints 2018-04-30 09:34:37 -04:00
Petteri Pitkänen 15791a84fb HHH-12505 - Add tests 2018-04-30 09:11:30 -04:00