Commit Graph

151 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
Vlad Mihalcea 55e175ce31 HHH-11108 - Add test to prove that @Basic( fetch = FetchType.LAZY ) really works as expected 2016-09-15 14:42:06 +03:00
Vlad Mihalcea 310139dbdc HHH-11070 - Add the full Hibernate ORM version to the User Guide title 2016-08-30 10:05:15 +03:00
Steve Ebersole 1378708088 HHH-11019 - Extend DelayedPostInsertIdentifier support to include checks for FlushMode (EXTENDED PC) - support for testing inside WildFly leveraging Arquilian and hibernate-orm-modules 2016-08-05 10:09:35 -05:00
Vlad Mihalcea 7d14223531 HHH-11017 - Migrate Integration Guide to AsciiDoctor 2016-08-03 13:49:02 +03:00
Vlad Mihalcea e3bd5a56d2 HHH-11013 - The release task creates two documentation folders for UserGuide 2016-08-01 11:14:02 +03:00
Steve Ebersole 6cc9f6242a HHH-10899 - Provide module ZIP file for upgrading WildFly to latest Hibernate 2016-06-29 15:49:50 -05:00
Steve Ebersole 3040030bd8 HHH-10864 - Allow ORM to be built with Java 9 2016-06-17 19:15:08 -05:00
Vlad Mihalcea 5963183c4a HHH-10808 - Update documentation according to 5.2 changes 2016-06-07 16:14:34 +03:00
Vlad Mihalcea 231484662b HHH-10689 - Fix tests failing when switching to Oracle 2016-05-17 17:44:32 +03:00
Steve Ebersole 89e63ebc4f HHH-10664 - Prep 5.2 feature branch 2016-05-06 13:38:48 -05:00
Andrea Boriero 9ae57a6f7a remove hibernate-entitymanager project 2016-05-06 13:13:29 -05:00
Steve Ebersole 8a746b98a7 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (stored procedure queries) 2016-05-06 13:12:36 -05:00
Vlad Mihalcea 9608b3904a Apply the database configuration testing to the documentation module 2016-03-22 15:16:21 +02:00
Vlad Mihalcea 360d0abae8 Fix User Guide images that were missing after moving CSS files into css folder 2016-03-02 15:16:13 +02:00
Vlad Mihalcea 28199a8e66 DESIGN-737 - Asciidoctor styling for Hibernate outputs. 2016-03-02 14:40:27 +02:00
Vlad Mihalcea 5d1608717e HHH-10566 - linking to specific 'stable' doc urls from versioned docs 2016-02-29 14:22:34 +02:00
Vlad Mihalcea 19e035c788 Add Hibernate Spatial User Guide chapter 2016-02-25 10:48:45 +02:00
Vlad Mihalcea 6b79bde099 Add support for matrix testing for User Guide examples 2016-02-18 11:16:46 +02:00
Steve Ebersole 81b1baa8c4 HHH-10520 - Update doc publishing 2016-02-11 15:59:13 -06:00
Vlad Mihalcea 5eb4f1c834 Migrate User Guide Criteria chapter extras to test folder 2016-02-08 17:37:01 +02:00
Steve Ebersole 92bce3913b documentation improvements on top of Vlad's work - naming 2016-01-21 12:05:13 -06:00
vladmihalcea d769308785 Fill in the TODO sections for the Locking and Caching chapters 2016-01-21 16:50:53 +02:00
vladmihalcea 68446ca029 Move User Guide tests to the documentation folder, so the hibernate-entitymanager does not depend on Java 1.8 2016-01-14 17:16:27 +02:00
vladmihalcea c2ece0108e Migrate User Guide from Docbook to Asciidoctor 2016-01-11 18:07:58 +02:00
Steve Ebersole b0cf427c21 HHH-9998 - Continue documentation TLC 2015-08-05 08:00:32 -05:00
Steve Ebersole e2d681380a HHH-9986 - Fix reference manual inconsistencies for 5.0 2015-07-28 15:36:10 -05:00
Steve Ebersole 7990630ae4 HHH-9986 - Fix reference manual inconsistencies for 5.0;
HHH-9987 - HikariCPConnectionProvider TLC
2015-07-27 17:08:21 -05:00
Steve Ebersole 56448fafa2 HHH-9916 - Update quickstarts and tutorials for 5.0 + convert to asciidoc(tor) 2015-07-14 14:46:35 -05:00
Andrea Boriero 5c7360c69a HHH-9757 - Fix Incorrect image path generated in HTML rendering removing useRelativeImageUris = false from devguide task, fixing image urls 2015-06-10 15:24:51 +01:00
Steve Ebersole bd256e4783 HHH-9803 - Checkstyle fix ups - headers 2015-05-18 23:25:14 -05:00
Andrea Boriero 37b4aeb7c9 Fix javadoc for Java 8 2015-03-25 01:38:39 +00:00
Andrea Boriero 0f047187fd HHH-9251 Removed AsciiDoc from aggregateJavadocs gradle task 2014-07-26 12:13:24 +01:00
Steve Ebersole 055a750a53 HHH-8733 - General build cleanup 2013-12-02 20:57:57 -06:00
Steve Ebersole c1612fe004 HHH-8733 - General build cleanup 2013-11-22 14:53:24 -06:00
Steve Ebersole 6f25adcfd2 HHH-8734 - Update to Gradle 1.9 2013-11-21 13:46:40 -06:00
Steve Ebersole 475aba7c0f HHH-8720 - Create an index for the topical guides 2013-11-19 17:30:16 -06:00
Steve Ebersole da6ee1e5bc HHH-8693 - asciidoc is not integrated into release workflow 2013-11-18 14:48:10 -06:00
Hardy Ferentschik 0d643af4f5 HHH-8483 Adding creation of metamodelgen ascidoc to the build. Removing obsolete docbook files 2013-11-11 20:08:18 +08:00
Hardy Ferentschik f25ea58750 HHH-8483 Moving metamodelgen documentation into documentation module 2013-11-11 20:08:17 +08:00
Steve Ebersole 7df8873e87 HHH-8607 - Start Topical Guide - Service Registries 2013-10-14 20:12:47 -05:00
Strong Liu d476eb7e16 HHH-8601 remove slf4j infavor of log4j 2013-10-10 01:14:26 +08:00
Strong Liu 7a82349f75 HHH-7385 change to use gradle 1.1 2012-08-08 17:09:11 +08:00
Strong Liu 476fd2fca7 rollback org.jboss.pressgang: to 3.0.0 2012-03-15 22:04:57 +08:00
Strong Liu 2c85cbefa3 change org.jboss.pressgang:pressgang-jdocbook-style version to 3.0.1-SNAPSHOT, since there is no 3.0.0-SNAPSHOT available 2012-03-14 18:42:14 +08:00
Steve Ebersole 0e88fdd909 HHH-7153 - Update to newest jDocBook tool chain versions 2012-03-07 20:40:42 -06:00
Steve Ebersole 7861fdee44 HHH-7067 - Update build to work with Gradle m8 2012-02-15 16:33:45 -06:00
Steve Ebersole feba0bf949 HHH-7011 - Document multi-tenancy 2012-02-01 12:22:06 -06:00
Steve Ebersole f6dec69c8c HHH-6909 - "Getting Started Guide" example code cannot be run successfully 2011-12-30 12:15:23 -06:00
Steve Ebersole d02864bac6 HHH-6903 - add building of hem and manual docs 2011-12-16 09:13:45 -06:00
Steve Ebersole ba71fe0132 HHH-6036 - integration documentation generation 2011-03-29 15:14:09 -05:00