Commit Graph

9635 Commits

Author SHA1 Message Date
Gail Badner 668253b364 HHH-11147 - Add back assertions to BatchFetchProxyTest checking that batches are
initialized as expected. Also add a test that ensures that entities
            loaded from a batch can be modified.
2019-06-27 15:47:25 -07:00
Sebastian Nohn 7e71843a50 HHH-13463 - updated plexus-utils to 3.0.24 to avoid being vulnerable to CVE-2017-1000487 2019-06-27 20:06:02 +01:00
Sebastian Nohn c10832a740 HHH-13463 - updated plexus-utils to 3.0.24 to avoid being vulnerable to CVE-2017-1000487 2019-06-27 20:06:02 +01:00
Sanne Grinovero 41f155fcd9 HHH-13467 Make average BatchFetchQueue consume less memory 2019-06-27 19:56:37 +01:00
Sanne Grinovero 6aebd26167 HHH-11147 Avoid allocating a BatchFetchQueue if batching was not enabled 2019-06-27 18:55:58 +01:00
Sanne Grinovero 5d0d134df3 HHH-11147 micro optimisation: avoid looking up the same object multiple times 2019-06-27 15:28:15 +01:00
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
Yoann Rodière 87bab83361
Fix JavaModulePathIT when testing with javassist 2019-06-26 16:24:39 +02: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 d6cb72ee0d HHH-13409 Add integration tests for running Hibernate ORM in the module path in Java 11+ 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
Yoann Rodière d6bd291934 Force the use of Ubuntu Trusty in the Travis build
If we don't force it, Travis will pick a release at random,
either Trusty or Xenial at the moment.

Using Oracle JDK 8 on Xenial is not easy, for some reason.

See:

* https://travis-ci.community/t/oracle-jdk-11-and-10-are-pre-installed-not-the-openjdk-builds/785/15
* https://github.com/travis-ci/travis-ci/issues/10289
2019-06-13 12:51:43 -05:00
Yoann Rodière ae5023cf53 Do not log test progress by default, but provide a build option and enable it for Travis
So that the build isn't too verbose when running it locally.
2019-06-13 04:49:08 -05:00
Sanne Grinovero 29d5548160 HHH-13429 Upgrade WildFly provisioning plugin to version 0.0.11 2019-06-08 14:53:03 +01:00
Sanne Grinovero a72d5e3d1e HHH-13428 No longer allow fetching snapshot dependencies from JBoss Nexus 2019-06-07 23:06:27 +01:00
Yoann Rodière 8e439b01b0 HHH-13428 Remove an unnecessary test dependency to woodstox
It has split packages and won't work when running tests in the module
path. But more importantly we just don't use it.
2019-06-07 20:22:21 +01:00
Sanne Grinovero 2689dd141b HHH-13428 Upgrade to Microsoft SQL Server JDBC 7.2.1 2019-06-07 20:19:33 +01:00
Sanne Grinovero 73a29867f5 HHH-13428 Remove more unused repositories 2019-06-07 20:19:26 +01:00
Sanne Grinovero 182e5dd56f HHH-13428 Use https in documentation too 2019-06-07 20:19:17 +01:00
Sanne Grinovero 7cc1ea88df HHH-13428 Remove unused repository URLs 2019-06-07 20:19:12 +01:00
Yoann Rodière 8f344af218 Get rid of travis_wait in .travis.yml
... so that we get actionable logs when something fails.
2019-05-31 18:53:06 +02:00