Commit Graph

334 Commits

Author SHA1 Message Date
Christian Beikov d767d46d05 Fix most tests to work on all DBs and fix a bunch of connection leaks 2021-02-03 17:03:47 +01:00
Sanne Grinovero e820e4cdfb HHH-14415 Upgrade to Jandex 2.2.3.Final 2021-01-24 15:23:05 +00:00
Erin Schnabel 33ac4174c7 HHH-14337 Micrometer support 2020-12-14 15:03:55 +00:00
Yoann Rodière f6a9338f97 HHH-14371 Correctly set JVM args in the JVM running tests
Turns out getJvmArgs() returns a copy, so modifying that copy won't
change the JVM args.

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-12-14 14:02:18 +00:00
Yoann Rodière 2659e75271 HHH-14372 Upgrade to Weld 3.1.5.Final in tests
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-12-14 14:02:18 +00:00
Christian Beikov 234bfab1ac HHH-14336 Enable tests across databases in Github Actions 2020-11-26 16:15:15 +01:00
Christian Beikov d6564cb0b5 HHH-14158 Update Javassist to 3.27.0-GA 2020-11-10 19:35:10 +00:00
Yoann Rodière 85b84ef6bd HHH-14315 Force JVM options when using toolchains
Apparently Gradle won't just use the same options as in its own JVM.

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-10 11:02:08 +00:00
Yoann Rodière 9616e24c80 HHH-14315 Add optional support for toolchains to the Gradle build
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-10 11:02:08 +00:00
Yoann Rodière 5d36fd2c26 HHH-14315 Upgrade to Gradle 6.7
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-10 11:02:08 +00:00
Sanne Grinovero 2dd82d553f HHH-14303 Upgrade to JBoss Loging 3.4.1.Final 2020-10-31 06:46:05 +00:00
Sanne Grinovero ce9cd57340 HHH-14302 Upgrade to Agroal 1.9 2020-10-31 06:45:58 +00:00
Sanne Grinovero 1baa95edf5 HHH-14301 Upgrade to Byte Buddy 1.10.17 2020-10-31 06:45:51 +00:00
Sanne Grinovero f286c4912c HHH-14300 Update to Hibernate Validator 6.1.6.Final 2020-10-31 06:45:42 +00:00
Sanne Grinovero 9391768d5a HHH-14299 Upgrade to Hibernate Commons Annotations 5.1.2.Final 2020-10-30 17:17:28 +00:00
Sanne Grinovero 0544dba5bb HHH-14284 Update Oracle JDBC driver: one more case of the old driver being mentioned 2020-10-27 09:12:50 +00:00
Sanne Grinovero 75646309a7 HHH-14290 Upgrade to Hibernate Commons Annotations 5.1.1.Final 2020-10-27 06:27:57 +00:00
Sanne Grinovero 9fe61e1a22 HHH-14284 Introduce settings to make it easier to test with a local Oracle instance run via docker 2020-10-26 21:49:34 +00:00
Sanne Grinovero 2ef9451112 HHH-14284 Update Oracle JDBC driver configuration to test with version 19.8.0.0 2020-10-26 21:49:28 +00:00
Sanne Grinovero 37a77e695d HHH-14283 Review tuning of JVM parameters for the build 2020-10-26 10:13:50 +00:00
Sanne Grinovero e5a8282012 HHH-13895 Upgrade the PostgreSQL JDBC driver used for testing to v. 42.2.16 2020-10-01 20:28:36 +01:00
Falko Modler 1cf99c748a HHH-14031 Update h2 to 1.4.197
Notes:
- h2 1.4.197+ does not support ns precision by default anymore
- h2 DateTimeUtils.resetCalendar() is required for many tests to avoid failures due to h2 internal caching
2020-09-09 10:32:21 +01:00
Andrea Boriero f07c26339b HHH-14199 fix the error when running 'setDataBase' gradle task 2020-09-01 10:31:48 +01:00
Nathan Xu 517a0b9639 HHH-14199 fix the error when running 'setDataBase' gradle task 2020-09-01 08:35:39 +01:00
Sanne Grinovero fb6bb820f1 HHH-14150 Upgrade to Byteman 4.0.13 2020-08-12 10:21:34 +02:00
Falko Modler f270f688e6 HHH-14144 Explicitly set localization assumptions for the build and testsuite 2020-08-10 17:23:35 +02:00
Rafi Shamim 4655bdbe12 HHH-13724 Add CockroachDB dialects and configs for testing 2020-07-27 12:49:40 +01:00
Colm O hEigeartaigh 61ed4bf88d HHH-14100 - Update c3p0 to 0.9.5.5 2020-07-21 17:53:00 +02:00
Yoann Rodière 066c1d4ab7 HHH-14111 Upgrade to forbiddenapis 3.0.1 2020-07-20 10:25:15 +02:00
Yoann Rodière 86578a1698 HHH-14111 Upgrade to Gradle 6.5.1 2020-07-20 10:25:15 +02:00
Yoann Rodière 1fcef3a632 Enable automatic Maven Central sync when calling task bintrayPublish
Copied from https://github.com/hibernate/hibernate-reactive/pull/246

Note you need to call the bintrayPublish task after calling
bintrayUpload, otherwise it won't work.

So you will need to use something like this:

./gradlew bintrayUpload bintrayPublish -P PERSONAL_BINTRAY_USER=... -P PERSONAL_BINTRAY_API_KEY=... -P SONATYPE_OSSRH_USER=... -P SONATYPE_OSSRH_PASSWORD=...
2020-06-22 19:53:36 +01:00
Yoann Rodière 70721d80a7 Move the update to version.properties to a release task
This is necessary if we want to check that the working tree is empty as
part of the release process (see next commit).
2020-06-22 19:53:36 +01:00
Andrea Boriero cfeee5059b Add gradle task to automate the CI release 2020-06-22 19:53:36 +01:00
Sanne Grinovero 03d34ae84c HHH-14012 Upgrade to Hibernate Validator 6.1.5.Final 2020-05-11 18:38:37 +01:00
Sanne Grinovero bc12eee661 Revert "HHH-13950 Update to Bean Validation 3 preview: Hibernate Validator 7.0.0.Alpha1"
This reverts commit b9a24f458c.
2020-05-11 18:00:20 +01:00
Sanne Grinovero 438f6c950c HHH-13992 Upgrade to ByteBuddy 1.10.10 2020-04-30 12:13:37 +01:00
Sanne Grinovero ae4e6ef729 HHH-13981 Upgrade to Jandex 2.1.3.Final 2020-04-24 22:30:40 +01:00
Sanne Grinovero 035c0a37e6 HHH-13977 Upgrade to Agroal 1.8 2020-04-23 21:36:06 +01:00
Sanne Grinovero 68e8ad641a HHH-13972 Disable the ForbiddenAPI classloader cache 2020-04-23 12:13:28 +01:00
Sanne Grinovero cecaeb92b3 HHH-13963 Remove the JipiJapa fork 2020-04-21 22:55:54 +01:00
Sanne Grinovero b9a24f458c HHH-13950 Update to Bean Validation 3 preview: Hibernate Validator 7.0.0.Alpha1
We apply the update int two steps:
 - some hand-rolled changes, such as switching the dependency to the new Hibernate Validator preview build
 - running a replace-all scripts

This individual commit represents the first set of changes.
When porting this change to a different branch, this one should be cherry picked while the second change
is better ported by running the same script once again.
2020-04-20 12:14:24 +01:00
Sanne Grinovero 3f2a4947a7 HHH-13952 Remove dependency to Arquillian as its no longer used 2020-04-17 14:27:19 +01:00
Sanne Grinovero 1aa2e858ba HHH-13952 Remove all WildFly based integration tests 2020-04-17 14:27:19 +01:00
Jonathan Bregler 95c9526dda HHH-13917: Add support for HANA Cloud 2020-04-17 13:30:38 +01:00
Scott Marlow 1cd56964c6 HHH-13953 Upgrade dom4j to 2.1.3 2020-04-16 12:46:18 -04:00
Yoann Rodière 588115bb0a HHH-13682 Restore the system property net.bytebuddy.experimental=true in tests on JDK15+
Turns out it's necessary for JDKs with experimental support.
2020-04-16 10:12:00 +01:00
Yoann Rodière 5fab58bf76 HHH-13682 Upgrade to forbiddenapis 2.7
So that we can feed it Java 13/14 bytecode
2020-04-14 13:36:43 +01:00
Yoann Rodière b32ff5cd9c HHH-13682 Allow forcing the tested Java version in the Gradle build
... just in case we need that for some cutting-edge JDK, for example 15,
that would not be supported by Gradle yet.
2020-04-14 13:36:43 +01:00
Yoann Rodière 96f7870528 HHH-13682 Do not set net.bytebuddy.experimental=true in tests anymore
It's no longer necessary since we upgraded to byte-buddy 1.10.2,
and it causes bytecode to be converted from Java 14 to Java 12 in some
cases (I don't know why).
2020-04-14 13:36:43 +01:00
Yoann Rodière 0cdf4c19e3 HHH-13682 Generate Java 13/14 bytecode for tests when building with JDK13/14 2020-04-14 13:36:43 +01:00
Yoann Rodière c906989989 HHH-13682 Remove unnecessary checks around Java 8 compatibility
The build requires JDK8+, so we're alwways Java 8 compatible.
2020-04-14 13:36:43 +01:00
Sanne Grinovero 0069aa7be9 Switching version to 5.5.0-SNAPSHOT 2020-04-14 12:23:38 +01:00
Andrea Boriero ba0902d99a 5.4.14 2020-04-06 18:48:40 +01:00
Andrea Boriero b897a36f2f Fix issue with generated pom missing project description 2020-04-06 18:21:11 +01:00
Andrea Boriero 016f8ed285 5.4.14 2020-04-06 16:42:29 +01:00
Yoann Rodière 1cd9ad0efe HHH-13925 Disable Gradle module metadata publishing until we know what we want 2020-04-06 16:04:55 +02:00
Yoann Rodière 8168a5cfb3 HHH-13925 Upgrade to Gradle 6 2020-04-06 16:04:55 +02:00
Yoann Rodière 2f32169249 HHH-13689 Replace uses of the deprecated osgi plugin with the biz.aQute.bnd plugin
https://docs.gradle.org/5.0-milestone-1/release-notes.html#deprecated-osgi-plugin
2020-04-01 10:54:56 -05:00
Yoann Rodière 34e498fb3d HHH-13685 Upgrade to maven-repo-auth 3.0.2 2020-04-01 09:53:13 -05:00
Yoann Rodière cee0fce043 HHH-13685 Replace uses of deprecated classifier property in Jar tasks with archiveClassifier 2020-04-01 09:53:13 -05:00
Yoann Rodière 6921b02891 HHH-13685 Upgrade to Gradle 5.6.3 2020-04-01 09:53:13 -05:00
Yoann Rodière ae4bc5e55d HHH-13685 Remove uses of deprecated classesDir 2020-04-01 09:53:13 -05:00
Gail Badner 716a8bac20 5.4.13 2020-03-26 22:42:38 -07:00
Gail Badner 5104c4b7f3 5.4.13 2020-03-26 22:15:06 -07:00
Andrea Boriero 015d1e019f 5.4.12 2020-02-13 18:43:12 +00:00
Andrea Boriero f5fe63bf0c 5.4.12 2020-02-13 18:04:06 +00:00
Sanne Grinovero 7d37e9f878 HHH-13863 Introduce the hibernate-graalvm module to share some GraalVM native image metadata 2020-02-13 17:09:56 +00:00
Andrea Boriero 39091fc658 5.4.11 2020-02-07 17:52:54 +00:00
Andrea Boriero 878f75c6b5 5.4.11 2020-02-07 17:27:10 +00:00
Sanne Grinovero da019405b6 HHH-13821 Update to Byte Buddy 1.10.7 2020-01-21 12:22:46 +00:00
Nathan Xu bd472581a4 HHH-13802 add support of the various new tags so their warning won't show up 2020-01-06 07:14:17 -06:00
Andrea Boriero dba8d70e94 5.4.10 2019-12-05 17:52:29 +00:00
Andrea Boriero 1a1631b57b 5.4.10 2019-12-05 16:36:34 +00:00
Davide D'Alto 46170d9ffe HHH-13759 Add AssertJ in the list of libraries available
It's useful to test the bytecode enhancements and has a nicer
  fluent API.
2019-12-03 11:48:33 +00:00
Simeon 6acfd17548 HHH-13762 Update vibur-dbcp dependency to 25.0 2019-12-02 12:07:49 +00:00
Sanne Grinovero c9a373c180 HHH-13739 Upgrade to Agroal 1.7 2019-11-18 15:21:23 +00:00
Andrea Boriero 7a74e4dd8f 5.4.9 2019-11-14 17:18:14 +00:00
Andrea Boriero 5fb866403e 5.4.9 2019-11-14 15:42:14 +00:00
Sanne Grinovero f7c8ba8532 HHH-13733 Upgrade to Jandex 2.1.1.Final 2019-11-14 10:25:25 +00:00
Sanne Grinovero fcb8fdde3e HHH-13731 Upgrade to Classmate 1.5.1 2019-11-14 10:10:48 +00:00
Sanne Grinovero 19692c1301 HHH-13730 Upgrade to Classmate 1.4.0 2019-11-14 09:13:20 +00:00
Andrea Boriero b9924d1805 5.4.8 2019-10-28 19:17:14 +00:00
Andrea Boriero a50f2da6aa 5.4.8 2019-10-28 19:15:43 +00:00
Sanne Grinovero 97c300a6ad HHH-13686 Upgrade to Agroal 1.6 2019-10-21 18:50:29 +01:00
Andrea Boriero 4d0ec22411 5.4.7 2019-10-21 17:32:53 +01:00
Andrea Boriero 5c8045b422 5.4.7 2019-10-21 15:39:32 +01:00
Yoann Rodière d83acfa50f HHH-13681 Upgrade to Byteman 4.0.8 2019-10-21 12:59:29 +02:00
Yoann Rodière cacef1f466 HHH-13680 Upgrade to Byte-buddy 1.10.2 2019-10-21 12:59:29 +02:00
Andrea Boriero 5d4eb8004b 5.4.6 2019-09-30 13:28:19 +01:00
Andrea Boriero 39e576cea4 5.4.6 2019-09-30 11:51:40 +01:00
Andrea Boriero 9d171f364c 5.4.5 2019-09-17 15:42:36 +01:00
Andrea Boriero 568413a102 5.4.5 2019-09-17 14:08:29 +01:00
Sanne Grinovero 57dbfbb60e HHH-13622 Upgrade the WildFly Transaction Client to 1.1.7.Final 2019-09-16 16:34:36 +01:00
Yoann Rodière be7cc76556 HHH-13582 Upgrade MySQL Connector/J to 8.0.17
ConnectorJ 8 is the version used in WildFly integration tests.
ConnectorJ 5 is apparently no longer tested.

Note this solves most timezone-related issues we've been having.
2019-09-11 19:38:15 -05:00
Andrea Boriero f0218e82ad HHH-13616 Enable the hibernate-orm-modules test for JDK 11 2019-09-11 12:37:51 +01:00
Jonathan Bregler 6841012f78 HHH-13553 Fix test failures on SAP HANA
- Skip org.hibernate.test.annotations.query.QueryAndSQLTest.testNativeQueryWithFormulaAttributeWithoutAlias
- Update HANA JDBC driver to fix org.hibernate.test.type.LocalDateTimeTest
2019-08-09 17:58:17 +01:00
Andrea Boriero 83e2f68477 5.4.4.Final 2019-07-30 09:02:51 +01:00
Gail Badner 77155ea716 5.4.4.Final 2019-07-29 14:56:14 -07:00
Gail Badner 618f03565a HHH-13504 : Upgrade ByteBuddy to 1.9.11 2019-07-26 15:14:12 +01: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