162 Commits

Author SHA1 Message Date
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
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
Guillaume Smet
e376fe0aef HHH-13419 Support building javadoc with JDK 11.0.3+ 2019-05-29 22:57:52 +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
2b564d4046 HHH-12809 Use an HTTP link for the Javadoc link to our Bean Validation documentation 2018-07-14 19:36:38 +02:00
Guillaume Smet
7ead344f0b HHH-12732 Remove an out of date task
The mapping guide has been injected into the user guide.
2018-06-26 12:01:06 +02:00
Guillaume Smet
b45e921b5c HHH-12732 Only generate the main document for each guide 2018-06-26 12:01:06 +02:00
Guillaume Smet
8ee24ee8d5 HHH-12725 Upgrade the Asciidoctor plugin to 1.5.7 for JDK 9 compatibility 2018-06-26 12:01:06 +02:00
Sanne Grinovero
fe38c5aaee HHH-12677 Update javadoc API links from EE7 to EE8 2018-06-11 12:00:03 +01:00
Andrea Boriero
80bf92e32a HHH-12620 fix test dependencies 2018-05-25 11:56:00 -04:00
Steve Ebersole
82f2aa0d5d HHH-12474 - Make sure the JPA version is defined by a single property across build files
added HibernateVersion following pattern of JpaVersion
2018-04-30 10:38:34 -05:00
Anthony Richir
2bb1c8419c HHH-12491 - Document the usage of the maven-compiler-plugin for hibernate-jpamodelgen 2018-04-17 11:35:54 +03:00
Jonathan Bregler
69000ddc16 HHH-12462 - Use SAP HANA JDBC driver from Maven Central 2018-04-05 15:02:17 +03:00
Steve Ebersole
dae31640a8 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
HHH-12416 - set up relocation for hibernate-ehcache
2018-03-22 13:25:12 -05:00
Steve Ebersole
9e20eece55 HHH-12190 - General tidying of Gradle scripts
- adding `ciBuild` task, standardizing `release` task
2018-01-22 11:44:46 -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
Steve Ebersole
a625452fe9 HHH-9641 - Resume uploading Javadoc JARs to Maven
HHH-12187 - Drop custom javadoc css

- dropped "package groups"
2018-01-03 11:23:37 -06:00
Steve Ebersole
8c13488c5d HHH-9641 - Resume uploading Javadoc JARs to Maven
HHH-12187 - Drop custom javadoc css

- delay package group calculations until execution (doFirst)
- exclude internal packages from javadoc
2017-12-27 08:41:17 -06:00
Steve Ebersole
6ccbd98bc3 HHH-12187 - Drop custom javadoc css;
HHH-9641 - Resume uploading Javadoc JARs to Maven
2017-12-27 08:41:17 -06:00
Andrea Boriero
84eec71ba6 exclude document userguide/model from checkstyle 2017-12-13 17:38:25 +00:00
Steve Ebersole
d5d3b080f9 HHH-12098 - prep 5.3 2017-12-13 09:15:22 -06:00
Jonathan Bregler
3aad752b04 Improved Hibernate support for SAP HANA
- Identity column support
- Spatial support
- Various minor improvements in HANA dialects
2017-09-21 12:05:19 -05:00
Vlad Mihalcea
0148ede638 HHH-11411 - Two column navigation and search box for documentation 2017-09-13 15:55:36 +03:00