Commit Graph

1122 Commits

Author SHA1 Message Date
Christian Beikov ed3feeacad HHH-14310 Document hibernate.query.in_clause_parameter_padding and some other missing config properties 2020-11-16 10:29:04 +00: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
tscz 761a55b31d HHH-14260: Fix dead and obsolete links in user guide 2020-10-23 11:20:34 +01:00
Jan Schatteman c81401cd67 HHH-14275 Broken link to Infinispan User Guide in Hibernate 5.3 User Guide
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2020-10-22 16:06:04 +01:00
Yanming Zhou 88acc9511b HHH-14253 support ConstraintMode.PROVIDER_DEFAULT
Provide an option to skip foreign key creation for ConstraintMode.PROVIDER_DEFAULT
2020-10-14 09:20:17 +02:00
Gavin King cf995a1571 HHH-14217 Add syntax highlighting to the logged SQL
Using ANSI escape codes

Must be explicitly enabled using hibernate.highlight_sql
2020-09-30 16:39:12 +01:00
Nathan Xu 97ea1d853d HHH-14208 simplify example naming strategy code in user guide 2020-09-09 07:58:18 +02:00
Vishavjeet Thakur f9abbaf29d Update basic-enums-Enumerated-ordinal-persistence-example.sql
as stated in https://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html
after example 18  that
 0
For the LAND_LINE enum
1
For the MOBILE enum
hence it should be 1
2020-08-21 15:48:49 +02:00
Nathan Xu 4e868f0372 HHH-14159 update 'hibernate.cache.query_cache_factory' config 2020-08-20 15:47:09 +02:00
Andrea Boriero 509db7cc79 HHH-14126 Add CockroachDB to DefaultDialectSelector and update documentation to mention the new dialect 2020-08-10 15:20:53 +02:00
Nathan Xu 84b3167f26 HHH-14133 fix obvious example code error for 'second level cache' in user guide 2020-08-10 11:10:53 +01:00
Rafi Shamim 4655bdbe12 HHH-13724 Add CockroachDB dialects and configs for testing 2020-07-27 12:49:40 +01:00
Nathan Xu 5952c0abc3 HHH-14097 fix bug that redundant SQLs might be issued for 'FETCH' entity graph 2020-07-09 14:08:30 +01:00
Emmanuel Duchastenier d17f19d364 HHH-14098 Query plan cache query-level statistics Documentation, used getQueryPlanCacheMissCount instead of getPlanCompilationTotalMicroseconds 2020-07-06 12:19:25 +01:00
Martin Vietz 180656e9f3 HHH-14064 - Fix documentation for schema-generation 2020-06-09 14:38:55 +01:00
Jonathan Bregler fa4ead1baa HHH-13996: Update documentation for HANA Cloud 2020-05-11 22:39:04 +01:00
Sanne Grinovero 6dd7d09ba0 Revert "HHH-13950 Apply the mass replace script to switch to Jakarta Validation API"
This reverts commit 60abc8aa76.
2020-05-11 18:00:07 +01:00
Sanne Grinovero 60abc8aa76 HHH-13950 Apply the mass replace script to switch to Jakarta Validation API
For reference, this is the script being applied:
find . -type f -name '*\..java' -o -name '*.\.adoc' -o -name '*.\.gradle' | xargs sed -i 's/javax\.validation/jakarta\.validation/g'
2020-04-20 12:16:36 +01:00
Sanne Grinovero c1423c9cb1 HHH-13952 Amend the WildFly integration documentation to warn the feature is gone 2020-04-17 14:27:19 +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
Jonathan Bregler 95c9526dda HHH-13917: Add support for HANA Cloud 2020-04-17 13:30:38 +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
Vlad Mihalcea d9a335c429 HHH-13872 - Make the Java Stream close the underlying ScrollableResultsIterator upon calling a terminal operation 2020-02-21 06:03:42 -06:00
Arend v. Reinersdorff 3c67d521e1 Fix typo "fare more" -> "far more" 2020-02-20 16:03:52 +00:00
Sanne Grinovero eb524aa3a4 HHH-13809 On more fix in basic_types.adoc 2020-01-31 10:00:43 +00:00
Nathan Xu 19e35b86cc HHH-13809 Various improvements in the user guidesw 2020-01-31 09:30:28 +00:00
Nathan Xu f3cfff5cee HHH-8776 fix 'fetch graph' semantic 2020-01-29 20:52:33 +01:00
Chris Cranford ea170f4dca HHH-6615 Document throwing AuditException when revision number overflows 2020-01-27 12:53:27 +00:00
Pierrick Rouxel 622978b725 HHH-12856 Fix DB2400V7R3 dialect in documentation 2020-01-24 11:29:01 +00:00
Pierrick Rouxel 1c3b8a1c28 HHH-12856 Support of sequences on DB2400 2020-01-24 11:29:01 +00:00
Davide D'Alto ca782f64b2 HHH-13755 Update Hibernate Gradle plugin in the documentation 2019-12-04 19:48:41 +00:00
Marco Behler 6dc5f37827 Link to Marco Behler's guide to "data access in Java" from the Getting Started Guide preface 2019-11-05 14:21:32 -06:00
Chris Cranford 3ecdd860a3 HHH-10398 Allow MOD column naming to be driven by a strategy
In the past the MOD columns were constructed based on the property name,
therefore if users specified a @Column/@JoinColumn like annotation and
changed the underlying schema column, the MOD column would continue to
be derived based on the property name.

This enhancement introduces a new ModifiedColumnNamingStrategy SPI that
comes with two implementations, a default/legacy mode that maintains
the prior naming model and an improved mode that will derive the MOD
name based on the naming strategy ORM used to derive the column name.
2019-10-01 10:38:57 -04:00
Mahmoud Anouti a3cccca66d Fix typo in user guide explicit polymorphism section 2019-09-24 11:02:09 +01:00
Steve Ebersole 5c9cf4d0d8 HHH-13130 - Provide Gradle-based bytecode enhancement as a task separate from the compileJava task 2019-09-18 12:05:39 -05:00
Elena Felder 952bf6f9c0 HHH-13412 Added link for predefined properties, warning that not all settings apply to all situations 2019-08-23 12:59:58 +01:00
Elena Felder ba1f15553c HHH-13412 Remove stray newlines 2019-08-23 12:59:52 +01:00
Elena Felder 13afce9afb HHH-13412 Move custom driver properties into their own section 2019-08-23 12:59:46 +01:00
Esteban Gehring be0ef0291c Update identifiers.adoc 2019-07-23 12:16:29 -05:00
Chris Cranford 14f7b49b79 HHH-13500 Fix audit strategy sub-query return incorrect results
In order to maintain backward compatibility with long-standing behavior,
this introduces a new configuration option which can be toggled to have
AuditReader#find implementations adhere to returning an exact match on
revision-number rather than one which is less-than or equal-to the
provided argument.

So a new configuration option org.hibernate.envers.find_by_revision_exact_match
provides users with the ability to be able to force this new behavior
while allowing legacy behavior to remain the default.
2019-07-22 16:34:19 -04:00
asutosh936 74b4c97552 HHH-13226 : Corrected Typo 2019-07-12 10:33:47 +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
Sanne Grinovero 182e5dd56f HHH-13428 Use https in documentation too 2019-06-07 20:19:17 +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
wonwoo 69af6caa95 HHH-13265 - Remove double semicolon 2019-02-14 09:00:08 +02:00
Vlad Mihalcea 180df5199e HHH-6190 - Leverage JmxService to expose management and monitoring capabilities. 2019-02-05 15:37:22 +02:00
John Lin 103629ee87 HHH-13219 - The sentence "The chapter 6 (e.g. Criteria API)" should be "The chapter 6 (i.e., Criteria API)" 2019-01-22 15:39:04 +02:00