Commit Graph

4913 Commits

Author SHA1 Message Date
Steve Ebersole d983e29e87 HHH-11147 - Integrate enhanced-proxy support with BatchFetchQueue 2019-06-27 08:46:16 -05:00
Steve Ebersole b5d845c89d HHH-11147 - Integrate enhanced-proxy support with BatchFetchQueue 2019-06-27 08:32:40 -05:00
Steve Ebersole 409ba5709b HHH-11147 - Integrate enhanced-proxy support with BatchFetchQueue 2019-06-27 08:27:51 -05:00
Sanne Grinovero 2ea0505e47 HHH-13453 Optimise CascadingActions for the most likely case 2019-06-25 20:17:33 +01:00
Sanne Grinovero cf1b7c3c12 HHH-13452 Missing log level guard on formatting in DefaultPersistEventListener#entityIsDeleted 2019-06-25 20:12:20 +01:00
Sanne Grinovero 3ba72c8b13 HHH-13461 Style and formatting fixes: CollectionEntry 2019-06-25 18:49:01 +01:00
Andrea Boriero 1aa6ce9b12 HHH-13460 - FetchGraphTest is failing on MariaDB 2019-06-25 18:33:09 +01:00
Andrea Boriero cb343567e6 HHH-13459 - Unit test lock up when they run on PostgreSQL 2019-06-25 16:42:47 +01:00
Andrea Boriero beac486533 HHH-13455 - Enabling Enhancement as a Proxy causes IllegalStateException when using Javassist 2019-06-25 13:33:26 +01:00
Andrea Boriero db2e8382d5 HHH-13454 - org.hibernate.orm.test.query.criteria.BasicCriteriaExecutionTests fails on Oracle 2019-06-25 12:13:16 +01:00
Sanne Grinovero 9367f01162 HHH-13451 Logging typo in CascadingActions causing significant allocations 2019-06-23 19:13:13 +01:00
Sanne Grinovero 44c13af23b HHH-13450 Do not compute the full role name of a collection unless necessary 2019-06-23 19:08:12 +01:00
Andrea Boriero 3cc9e8f284 HHH-13442 - CollectionType#getCollection() method improvements 2019-06-21 11:10:17 +01:00
Sanne Grinovero 417a982b7b HHH-13448 Avoid retrieving PRE_LOAD and POST_LOAD Event listeners within the inner loops of TwoPhaseLoad 2019-06-20 23:38:58 +01:00
Sanne Grinovero d1a617a0dc HHH-13448 Optimise implementation of TwoPhaseLoad#doInitializeEntity 2019-06-20 23:38:49 +01:00
Sanne Grinovero 33f02f411f HHH-13447 Minimize number of EventListenerRegistry lookups within a Session use 2019-06-20 22:53:48 +01:00
Sanne Grinovero e476a99250 HHH-13443 Remove unnecessary calls to StringHelper 2019-06-20 22:25:06 +01:00
MD. Mohiuddin Ahmed 084c91c3d0 HHH-13443 Build failing to parse *.properties file attributes containing trailing space 2019-06-20 21:41:10 +01:00
Yoann Rodière e7cefd8ddd HHH-13409 Rework AggregatedServiceLoader to minimize the risk of regression
In particular:

* Keep the old behavior when retrieving services on JDK8
* On JDK9+, query the AggregatedClassLoader first (before individual
class loaders) when retrieving services.
* On JDK9+, use ServiceLoader.Provider to avoid instantiating services
a second time if we know we already instantiated them with another class
loader.
2019-06-20 21:07:03 +01:00
Yoann Rodière 9b34fc69a3 HHH-13409 Make AggregatedServiceLoader compatible with the module path (JDK9+) 2019-06-20 21:07:03 +01:00
Yoann Rodière fc52db5cb4 HHH-13409 Move aggregated service loading to a dedicated component
So that we can provide a different implementation for Java 9+.
2019-06-20 21:07:03 +01:00
Yoann Rodière b7e5106358 HHH-13409 Remove unnecessary "public" keywords in ClassLoaderService 2019-06-20 21:07:03 +01:00
Yoann Rodière 6b199d2e52 HHH-13154 Add support for JPA criteria on stateless sessions 2019-06-20 13:13:17 +02:00
Yoann Rodière fd1963a6a2 HHH-13154 Backport BasicCriteriaExecutionTests from ORM 6 2019-06-20 13:13:17 +02:00
Sanne Grinovero ae1016a1c4 HHH-13444 Remove ignored EntityMode field from CollectionKey 2019-06-19 21:49:40 +01:00
Andrea Boriero 7f326b163b HHH-13442 - CollectionType#getCollection() method improvements 2019-06-19 16:00:24 +01:00
Andrea Boriero e8993eb688 HHH-11147 - Fix Oracle failing test 2019-06-17 13:18:19 +01:00
Andrea Boriero e6401ca4c4 HHH-11147 - Add test case LazyCollectionDeletedAllowProxyTest 2019-06-17 13:18:19 +01:00
Andrea Boriero 2e1d602f68 HHH-11147 - Allow enhanced entities to be returned in a completely uninitialized state
- Add test using IdClass
2019-06-14 09:31:29 -05:00
Steve Ebersole 94c49aaaa6 HHH-11147 - Allow enhanced entities to be returned in a completely uninitialized state 2019-06-14 08:22:07 -05:00
Andrea Boriero 48d88cfef6 HHH-11147 - Add failing test 2019-06-14 12:43:14 +01:00
Steve Ebersole cc01f2561d HHH-11147 - Allow enhanced entities to be returned in a completely uninitialized state
HHH-11161 - do not force initialize collection at all
2019-06-13 12:52:38 -05:00
John OHara 313f5f7186 HHH-13418 : Revert log level caching 2019-05-29 10:29:12 +02:00
Sanne Grinovero 4be05af86d HHH-13416 Unguarded debug message being rendered in org.hibernate.engine.internal.Collections.processReachableCollection 2019-05-27 16:13:03 +01:00
Gail Badner b7b8f44298 HHH-13266 HHH-13357 : Skip OffsetTimeTest#nativeWriteThenRead and #writeThenRead in some cases due to HHH-13357
when Time is remapped as Timestamp and default JVM is not GMT
2019-05-01 11:22:16 -07:00
Gail Badner 800b60e648 HHH-13364 : Added a test using a named query 2019-04-17 11:13:23 -07:00
Gail Badner f62913ba1c HHH-13364 : Query.getSingleResult and getResultList() throw PessimisticLockException when pessimistic lock fails with timeout 2019-04-17 11:13:23 -07:00
Gail Badner 288afa35e0 HHH-13364 : Added test cases 2019-04-17 11:13:23 -07:00
Steve Ebersole 4d79ffb62f HHH-13152 - managed/cached entities and fetching (test case) 2019-04-16 13:45:38 -05:00
Steve Ebersole 73e5688c35 HHH-11223 - minor logging additions plus a test case 2019-04-15 16:11:58 -05:00
Gail Badner 0506b4aa46 HHH-13343 : Bytecode enhancement using ByteBuddy fails when the class is not available from the provided ClassLoader 2019-04-05 13:01:37 -07:00
Gail Badner a2a5799a13 HHH-13343 : Bytecode enhancement using ByteBuddy fails when the class is not available from the provided ClassLoader 2019-04-05 13:01:37 -07:00
Gail Badner a2cb264a27 HHH-13343 : test case 2019-04-05 13:01:37 -07:00
Gail Badner b28dc488a1 HHH-13241 : Fix regression with an uninitialized null many-to-one association 2019-03-20 22:30:42 -07:00
Gail Badner 65eebbb96b HHH-13241 : Added test case with a lazy null many-to-one association 2019-03-20 22:30:42 -07:00
Gail Badner 883465f525 HHH-13326 : Transaction passed to Hibernate Interceptor methods is null when JTA is used 2019-03-20 17:22:43 +01:00
Gail Badner 705ecec94f HHH-13326 : test cases 2019-03-20 17:22:43 +01:00
Guillaume Smet eca8816ec3 HHH-13324 Install the security manager check layer once and for all
If the security manager is defined later, the checks won't be installed.

The security manager should be defined when starting the JVM.
2019-03-20 14:58:49 +01:00
Johannes Kümmel 3420ac9754 HHH-13330: Fix a minor typo in ManagedBeanRegistryInitiator 2019-03-20 12:12:52 +01:00
Guillaume Smet 9885e2f595 HHH-13312 Add a test case 2019-03-20 00:10:36 -07:00