Steve Ebersole
9f2ae95397
Gradle task cache
...
Gradle 7 prep
2021-07-26 13:51:38 -05:00
Andrea Boriero
76df5a5f4b
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-07-26 15:15:29 +02:00
Yoann Rodière
e4199decb5
HHH-14707 Upgrade to Byte Buddy 1.11.8
2021-07-16 10:19:42 +01:00
Christian Beikov
6447ca9b26
HHH-14693, HHH-10668 Move non-supported dialects to the hibernate-community-dialects artifact and add the SQLite dialect originally contributed by Vlad Mihalcea which was adapted for Hibernate 6. Also add HSQLDB, MySQL and Sybase ASE configurations and a CI job config
2021-07-06 10:14:20 +02:00
Steve Ebersole
174b23001f
Fix Jakarta processing
2021-07-01 21:17:30 -05:00
Steve Ebersole
59f033194a
Improved build configuration to better leverage Gradle up-to-date handling;
...
Preparation for moving to Gradle 7.0
- Moved custom Antlr plugin to hibernate-orm-build module
- more deprecation clean ups
2021-06-28 15:59:35 -05:00
Steve Ebersole
172ddf8700
Improved build configuration to better leverage Gradle up-to-date handling;
...
Preparation for moving to Gradle 7.0
- Improve Jakarta transformation handling (tests are also actually run now as a bonus);
- Improved CacheableHbmXmlTest to not write "ser" file to `${buildDir}/resources/test`
- Improved DatabaseService(Plugin)
- Update a number of plugins which did not handle up-to-date-ness properly
2021-06-26 08:46:09 -05:00
Christian Beikov
69dc854d88
Get rid of some unnecessary classpath elements
2021-06-24 12:34:52 +02:00
Christian Beikov
3435189777
Add support for parallel gradle build
2021-06-24 12:16:29 +02:00
Andrea Boriero
6ced2f0aca
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-06-07 12:47:53 +02:00
Andrea Boriero
451568f322
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_7
2021-05-31 14:55:18 +02:00
Yoann Rodière
07eca3883d
HHH-14635 Upgrade to log4j 2
2021-05-26 09:05:56 +02:00
Andrea Boriero
ffae5474a6
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_6
2021-05-24 20:41:03 +02:00
Steve Ebersole
b51fb9fe03
Fixed problems with
...
- javadoc generation
- SourceForge distribution bundles
2021-05-19 16:15:57 -05:00
Steve Ebersole
c7e37dc1d7
HHH-14513 : Move publishing release and snapshot artifacts to Sonatype OSSRH
2021-05-14 15:06:15 -05:00
Yoann Rodière
0750c6784e
Only apply --add-opens to compiler JVM options when using JDK9+
2021-05-07 11:00:43 +02:00
Andrea Boriero
9bcf10fb3f
HHH-14513 Move publishing release artifacts from BinTray
2021-04-29 20:59:18 +02:00
Mark Rotteveel
e76da92b04
HHH-14484 Improve support for Firebird 4
...
Also includes:
- Some general Firebird improvements
- Tweak tests to run (or be skipped) against Firebird
- Fix to BooleanDecoder
- Add statistical/linear regression function definitions in CommonFunctionFactory
- Added the relevant functions to other dialects where I could verify they apply
- Fix for unions with parenthesized selects
- Add casts for parameters in functions
2021-03-22 19:08:05 +01:00
Andrea Boriero
005c4cea63
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-02-24 15:02:45 +01:00
Sanne Grinovero
e61eff2913
HHH-14463 Upgrade to ByteBuddy 1.10.21: OOB support for JDK17
2021-02-23 14:42:02 +01:00
Christian Beikov
4931c7e69f
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-02-10 12:00:37 +01:00
Christian Beikov
de1524df68
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-02-10 11:28:58 +01:00
Christian Beikov
15caff9cbc
Fix PostgreSQL cleanup wrt extensions, fix Oracle cleanup wrt sys objects, always drop id tables in tests, fix global temp table tests, add on commit delete rows for hana dialects
2021-02-10 09:30:48 +01:00
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
Andrea Boriero
6d124a7c6d
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-01-14 11:34:06 +01:00
Christian Beikov
4efffca23b
Add support for FETCH clause, CTEs and set operations
2021-01-13 17:24:45 +01: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
Andrea Boriero
1927d1aa33
Merge branch 'master' into wip/6.0
2020-11-17 12:40:43 +01: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
Andrea Boriero
4d8c89920a
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-27 14:24:37 +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
Andrea Boriero
8b938610cf
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge
2020-09-08 08:19:13 +01:00
Andrea Boriero
f07c26339b
HHH-14199 fix the error when running 'setDataBase' gradle task
2020-09-01 10:31:48 +01:00
Andrea Boriero
b1ba79105d
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-09-01 09:44:22 +01:00
Nathan Xu
517a0b9639
HHH-14199 fix the error when running 'setDataBase' gradle task
2020-09-01 08:35:39 +01:00
Andrea Boriero
de3359537f
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_49
2020-08-12 09:42:28 +01:00
Falko Modler
f270f688e6
HHH-14144 Explicitly set localization assumptions for the build and testsuite
2020-08-10 17:23:35 +02:00
Andrea Boriero
283c3fefb5
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-08-07 11:23:44 +01:00
Rafi Shamim
4655bdbe12
HHH-13724 Add CockroachDB dialects and configs for testing
2020-07-27 12:49:40 +01:00
Andrea Boriero
4550c70d15
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_47
2020-07-20 10:50:17 +01:00
Yoann Rodière
066c1d4ab7
HHH-14111 Upgrade to forbiddenapis 3.0.1
2020-07-20 10:25:15 +02:00
Andrea Boriero
5d572cc876
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_37
2020-05-05 09:21:34 +01:00
Sanne Grinovero
68e8ad641a
HHH-13972 Disable the ForbiddenAPI classloader cache
2020-04-23 12:13:28 +01:00
Andrea Boriero
a0b4566264
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_34
2020-04-20 12:17:22 +01:00
Sanne Grinovero
3f2a4947a7
HHH-13952 Remove dependency to Arquillian as its no longer used
2020-04-17 14:27:19 +01:00
Andrea Boriero
132a4121b5
Fix issues after merging master
2020-04-16 11:46:19 +01:00
Andrea Boriero
2ccf7fab9e
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_30
2020-04-16 11:03:49 +01: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
Andrea Boriero
5c86c4a805
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_29
2020-04-09 07:37:11 +01:00
Andrea Boriero
b897a36f2f
Fix issue with generated pom missing project description
2020-04-06 18:21:11 +01:00
Steve Ebersole
40d0c8580e
Merge remote-tracking branch 'upstream/master' into wip/6.0
...
- up to the point of upgrading Gradle version for wrapper to 5.6.3
2020-04-01 11:32:00 -05: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
Steve Ebersole
e43c5a3166
https://github.com/asciidoctor/asciidoclet/pull/91
...
- work in progress as the PR did not fix the problems
2020-02-19 08:30:57 -06:00
Steve Ebersole
50ba882b2d
temporarily include just the new tests so we can publish SNAPSHOTS for others to use
2019-09-16 08:51:39 +01:00
Steve Ebersole
26ff169db2
6 - SQM based on JPA type system
2019-09-12 10:42:27 +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
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
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
Sanne Grinovero
7fbcfe83b2
HHH-13275 Re-introduce usage of net.bytebuddy.experimental=true when testing on JDK > 11
2019-02-18 14:42:54 +00:00
Yoann Rodière
165cc74fb5
HHH-12990 Remove now unnecessary dependencies to JSR-250 when using jpamodelgen
...
The previous commit ensured we don't need them anymore.
2018-10-17 11:50:45 +02:00
Yoann Rodière
68e20f4f8b
HHH-12946 Target JDK11 instead of JDK10 in terms of JDK API compatibility
2018-10-17 11:43:03 +02:00
Yoann Rodière
0924138b75
HHH-12946 Upgrade to fobiddenapis 2.6 (compatible with JDK11)
2018-10-17 11:43:03 +02:00
Yoann Rodière
2daa3811c6
HHH-12946 Remove unnecessary dependencies when building with JDK9+
...
We don't need to depend on JAXB's compiler (XJC) in our modules,
we just need the dependency in specific tasks during the build.
In particular we don't want users to transitively depend on XJC.
Also, we don't need an explicit dependency to JAXB in every module,
having one in hibernate-core is enough.
2018-10-17 11:43:03 +02:00
Yoann Rodière
51ab9f744d
HHH-12946 Add explicit dependencies to JAXB APIs where relevant
2018-10-17 11:43:03 +02:00
Yoann Rodière
530ab1569e
HHH-12946 Use constants for JAXB dependencies instead of inline strings
...
We may have to update these dependencies, let's make it easy.
2018-10-17 11:43:03 +02:00
Sanne Grinovero
297690bb0d
HHH-13007 No longer use net.bytebuddy.experimental=true when testing on JDK11
2018-10-02 17:33:21 +02:00
Sanne Grinovero
4eb726ef4c
HHH-12950 Use the Annotation Processor specific scopes of Gradle
2018-09-04 23:02:26 +01:00
Guillaume Smet
2733a3cb09
HHH-12816 Enable the experimental features of ByteBuddy when building with JDK 11
2018-07-17 19:33:06 +02:00
Sanne Grinovero
f52e999690
HHH-12674 Avoid using deprecated Gradle methods
2018-06-13 10:40:38 +01:00
Sanne Grinovero
19d59dac71
HHH-12659 Configure ForbiddenAPIs for JDK10 as intended target compatibility
2018-06-01 22:58:31 +01:00
Vlad Mihalcea
964602557f
HHH-12656 - Document how contributors can run tests on different databases
2018-06-01 09:15:16 +03: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
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
Jonathan Bregler
69000ddc16
HHH-12462 - Use SAP HANA JDBC driver from Maven Central
2018-04-05 15:02:17 +03:00
Sanne Grinovero
0719c48540
Remove redundant copies of the license header
2018-03-08 00:22:44 +00:00
Sanne Grinovero
66d3232eb6
HHH-11253 Running all tests with Byte Buddy will require more memory
2018-03-02 14:15:18 +00:00
Andrea Boriero
9d335961b8
HHH-12246 - Gradle build fails with Java 9
2018-01-24 14:51:36 +00:00
Steve Ebersole
644c74d470
HHH-12190 - General tidying of Gradle scripts
2018-01-16 14:34:43 -06:00
Steve Ebersole
e1a970aa11
HHH-12190 - General tidying of Gradle scripts
2018-01-16 14:34:43 -06:00
Steve Ebersole
d806eff912
HHH-12190 - General tidying of Gradle scripts
2018-01-16 14:34:43 -06:00