Commit Graph

9720 Commits

Author SHA1 Message Date
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
Yoann Rodière eacbe616d4 HHH-13415 Run Travis tests on JDK11 too
Use OpenJDK 11.0.3 instead of OracleJDK 11.0.2 in the Travis build,
because 11.0.2 just fails because of a bug in javadoc generation.
2019-05-31 14:11:47 +02:00
Yoann Rodière 00c697780e HHH-13415 Clean up the places where we fix fix javadoc generation for JDK11 2019-05-31 14:11:47 +02:00
Yoann Rodière a7006fa226 HHH-13415 Add more comments where we disable OSGi tests with JDK11
Karaf or Pax Exam (don't know which) has serious issues with JDK 11.0.3.
2019-05-31 14:11:47 +02:00
Guillaume Smet d5a1d24116 Prepare next development iteration 2019-05-30 17:22:10 +02:00
Guillaume Smet 9508e65485 5.4.3.Final 2019-05-30 16:15:34 +02:00
Guillaume Smet c6671d504b HHH-13421 Disable OSGi testing for JDK 11+ 2019-05-29 22:57:52 +02:00
Guillaume Smet e376fe0aef HHH-13419 Support building javadoc with JDK 11.0.3+ 2019-05-29 22:57:52 +02: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