Commit Graph

101 Commits

Author SHA1 Message Date
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
Vlad Mihalcea ba2e273e9e HHH-11886 - Elaborate Envers documentation and switch to actual source code examples 2017-07-24 17:41:45 +03:00
Vlad Mihalcea c87253575d HHH-11290 - Migrate all documentation snippets that derive the source code from extras instead of actual Unit Tests
Fixed in the OSGI chapter
2017-07-05 12:39:03 +03:00
Vlad Mihalcea 67b01b5004 HHH-11186 - Add examples for all Hibernate annotations
Document Hibernate @NativeQuery and @NamedNativeQuery annotation
2017-06-19 17:16:26 +03:00
Vlad Mihalcea 442bf225c4 HHH-11601 - Fix tests failing on Oracle 2017-04-12 12:15:27 +03:00
Vlad Mihalcea 7c06d003dc HHH-11457 - Add MariaDB specific Dialects 2017-02-15 12:08:34 +02:00
Sanne Grinovero f2728836af HHH-11489 Improve the documentation about upgrading WidFly with latest Hibernate ORM modules 2017-02-14 17:39:09 +00:00
Vlad Mihalcea 6a69f10f46 HHH-11186 - Add examples for all Hibernate annotations
Document more annotations:

- @Generated
2016-11-29 18:15:12 +02:00
Steve Ebersole e3bee9eede enable build scans;
removed bad project dependency on hibernate-gradle-plugin in documentation
2016-09-26 17:33:20 -05:00
Vlad Mihalcea dda90ef3d0 HHH-11108 - Add test to prove that @Basic( fetch = FetchType.LAZY ) really works as expected
Roll back changes since we already have the JpaRuntimeEnhancementTest to prove this works and it does not use build-time enhancement
2016-09-22 12:40:22 +03:00
Vlad Mihalcea cc21eeb1af Skip test failing on Java 1.9 using Gradle 2016-09-20 20:01:13 +03:00
Vlad Mihalcea bd8c3c226d Disable bytecode enhancement for documentation module as well as the test that makes use of this feature if the JDK version is 1.9 2016-09-20 18:23:45 +03:00