Commit Graph

135 Commits

Author SHA1 Message Date
Steve Ebersole 4b8167c7fd PublishMigrationGuide task 2023-04-01 09:37:40 -05:00
Andrea Boriero 570ccae476 HHH-16097 Move all tests from documentation into hibernate-core 2023-03-24 07:43:13 -05:00
marko-bekhta 5d61b03b20 HHH-16217 Use only rendered Javadocs for collecting configuration properties 2023-03-01 13:26:49 -06:00
marko-bekhta 8fa8b23d63 Add tasks to process sources and collect config properties 2023-01-26 00:43:38 -06:00
Steve Ebersole 51a50bed43 Add a deprecated.txt report to published docs collecting union of `@Deprecated` and `@Remove` 2022-12-22 16:55:02 -06:00
Andrea Boriero e80fb85dae HHH-15420 Getting Started Guide Code does not build 2022-08-02 15:47:14 +02:00
Andrea Boriero e3d524fe5e HHH-15396 Quick Start guide, hibernate-tutorials.zip link is broken 2022-07-13 13:54:28 +02:00
Christian Beikov c18e611ed6 HHH-15200 Add support for the SQLXML type 2022-05-05 09:07:37 +02:00
Steve Ebersole 69e57404c6 HHH-15226 - Publish a Gradle platform (Maven Bom++) for Hibernate ORM
- plus use Gradle version catalogs as opposed to `libraries.gradle`
- dropped OSGi manifest entries for hibernate-envers - they were broken and we decided we no longer support OSGi
2022-04-26 14:41:04 -05:00
Steve Ebersole ad828a0a4a release announcement, doc artifacts 2022-03-31 11:01:06 -05:00
Christian Beikov a9d1035806 Do some renaming for consistency and update documentation for new SQL types 2022-03-29 19:31:53 +02:00
Steve Ebersole 6ab1cd3434 fix problem with release.gradle 2022-03-16 11:36:11 -05:00
Steve Ebersole f82d381fe3 Gradle build clean-ups
- re-organize release task definitions to avoid use of subproject iteration
2022-03-15 12:15:56 -05:00
Steve Ebersole 741b6b71f1 logging report 2022-03-11 14:45:43 -06:00
Steve Ebersole e16fbb6c31 report-tasks 2022-03-09 12:28:13 -06:00
Steve Ebersole ac4a792f84 render migration guide using asciidoctor and publish with docs 2022-03-08 11:26:55 -06:00
Steve Ebersole 5436f441ae move remaining tests from o.h.test to o.h.orm.test 2022-01-26 17:06:53 -06:00
Chris Dennis 55db51894f HHH-14837 : Re-enable hibernate-jcache module. 2021-11-29 11:44:16 -05:00
Andrea Boriero d2906c022e Upgrade org.asciidoctor.jvm.convert to 3.3.2 2021-10-19 16:23:42 +02:00
Steve Ebersole 7bc1d55cdd improved aggregated javadoc generation 2021-09-27 08:21:36 -05:00
Steve Ebersole 089a3f86ae HHH-14837 - Move to Jakarta EE
preliminary transformation;
only `javax.persistence.*` settings supported atm
2021-09-27 08:21:27 -05:00
Steve Ebersole bd2f8271bd fix aggregateJavadoc task config 2021-09-23 08:32:46 -05:00
Christian Beikov 1a3629a571 Fix some tests and config. Enable all documentation tests. Add profile for PG13 2021-08-31 14:52:59 +02:00
Christian Beikov c01734adca Rely on fetch of version attribute mapping instead of creating domain result for version mapping for entity initializers to allow overriding the selection expression 2021-08-30 17:18:02 +02:00
Andrea Boriero 64c331150b Re-enabled additional documentation tests 2021-08-23 18:57:28 +02:00
Steve Ebersole 07ec4f208d asciidoctor task config 2021-08-05 10:04:54 -05:00
Steve Ebersole be8be18bc0 minor asciidoctor task improvements + update plugin to 3.1 version 2021-08-02 18:04:41 -05:00
Steve Ebersole b26b00a358 Bump matrix testing plugin to 3.1.0 (prep for Gradle 7) 2021-07-14 11:44:35 -05: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 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
Hibernate-CI fe3b6690c1 fixes to in-line jakarta transformation tasks
- fix path replacements (test bundles)
- drop inaccurate attempts to access javadoc/sources jar tasks and outputs for jakarta projects - they are not producing them (alternatively, and eventually will have to, we could have them produce those artifacts)
- skip jakarta modules for aggregated javadoc building
2021-06-16 09:55:38 -05:00
Andrea Boriero 6ced2f0aca Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-06-07 12:47:53 +02:00
nathan.xu d828bfb086 HHH-14641 replace 'http://' reference with 'https://' 2021-06-04 12:09:45 +02:00
Steve Ebersole c7e37dc1d7 HHH-14513 : Move publishing release and snapshot artifacts to Sonatype OSSRH 2021-05-14 15:06:15 -05:00
Steve Ebersole 71515af5cc HHH-14589 - Make sure documentation examples regarding basic-types work and update the section
- re-enable the basic-type tests in the `documentation` module
- fix basic-type resolution in various cases from tests in both `hibernate-core` and `documentation`
- updated the basic_types.adoc user-guide section + moved much of the "legacy" discussion to an appendix
- fixed missing impls of the optional contract `org.hibernate.type.AdjustableBasicType`
- improved handling of `NationalizationSupport` offered by a Dialect

NOTE :
- changes to `ColumnTransformerTest` are related to "composite basics" not being supported, not problems with `ColumnTransformer`.
- final failure in `org.hibernate.userguide.mapping.basic` is `SubselectTest#testRefreshLifecycle` which actually fails because refresh is not working properly
2021-05-13 09:58:20 -05: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 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
Steve Ebersole 29848c49db ORM + Gradle
HHH-14285 - project template
HHH-14286 - Gradle plugin
2020-10-28 16:09:42 -05: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 a0b4566264 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_34 2020-04-20 12:17:22 +01:00
Sanne Grinovero 2b279c6a83 HHH-13952 Remove our ability to build the Wildfly feature pack and run integration tests on WildFly 2020-04-17 14:27: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
Sanne Grinovero 0b4bcce3fa HHH-13947 Switch the JPA Javadoc prefix URL to a build parameter
Applying the following script, and setting the current value as a
documentation parameter:

find . -type f -name '*.java' -o -name '*.adoc'  -o -name '.xml' | xargs sed -i 's/https:\/\/javaee\.github\.io\/javaee-spec\/javadocs\/javax\/persistence\//\{jpaJavadocUrlPrefix\}/g'

Having the script might help re-migrating existing documentation patches,
or forward porting subsequent improvements from previous branches.

The javadocs for JPA 3.0 have not been published yet at this point;
having a parameter will make it easier to leave this single task for
a later point in time.
2020-04-14 23:41:07 +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
Andrea Boriero c45108a2b6 6 - SQM based on JPA type system 2019-09-12 10:42:32 +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