Commit Graph

1143 Commits

Author SHA1 Message Date
nathan.xu c3631970a5 HHH-14927 fix other obvious defects in user guide 2021-11-17 10:52:56 +01:00
nathan.xu f54f6bdf4e HHH-14927 bump current hibernate version from 5.5 to 5.6 in user guide 2021-11-17 10:52:56 +01:00
Maciej Walkowiak 3845d2f97f Refer correct entity in "Composite identifiers with associations" section
Code sample uses `Book` entity instead of `PersonAddress`.
2021-11-16 08:47:03 +01:00
Björn Kautler fa3a364b79 Fix dead link in documentation 2021-11-16 08:46:07 +01:00
nathan.xu ead2447524 HHH-14891 update JTS package name in user guide (Hibernate Spatial BasicTypes table in 'Domain Model' chapter) 2021-10-20 10:05:11 +02:00
nathan.xu 8cf51a601b HHH-14883 Fix an Asciidoc defect and other verbiage issues in 'spatial' chapter in user guide 2021-10-18 09:47:52 +01:00
Steve Ebersole 48068e0311 HHH-14857 Deprecations in preparation for 6 2021-10-11 19:36:23 +01:00
Sanne Grinovero 9267c5e6a6 HHH-14792 Remove support for bytecode enhancement via Javassist 2021-08-26 15:22:30 +01:00
Andrea Boriero 8fc45a9004 HHH-11817 Allow schema-export commands written to file to truncate in addition to current appending 2021-06-21 08:44:46 +02:00
Sanne Grinovero 5b2289e883 HHH-14667 Avoid triggering the load of sequence metadata when not required
Also introduce SequenceMismatchStrategy#NONE, which allows to fully disable the checks
performed by SequenceMismatchStrategy on initialization; combining these two
changes, users have the option to fully skip loading the details about existing
sequences from the DB.
2021-06-11 11:55:46 +01:00
Christian Beikov 10cba26bda HHH-14665 Use semi-colon as the default statement delimiter for scripts 2021-06-08 20:49:39 +02:00
nathan.xu d828bfb086 HHH-14641 replace 'http://' reference with 'https://' 2021-06-04 12:09:45 +02:00
Yoann Rodière 07eca3883d HHH-14635 Upgrade to log4j 2 2021-05-26 09:05:56 +02:00
Nathan Xu 40851fc50d HHH-14406 fix Architecture svg image in user guide 2021-05-13 09:32:12 +02:00
Yoann Rodière 7144af5990 HHH-12445 Auto-detect when discriminator columns are nullable 2021-05-04 09:18:55 +02:00
Yoann Rodière fcc63d9ab0 HHH-14529 Stop using two separate BootstrapServiceRegistries for the same SessionFactory in BaseCoreFunctionalTestCase 2021-04-15 14:01:28 +02:00
sajad 298b1f87b7 HHH-14545 Fix typo "Generator" -> "GeneratorType" 2021-04-06 10:01:47 +02:00
Karel Maesen aba49ced1f HHH-14454 Add SpatialDialect for CockroachDB 2021-03-16 23:25:22 +01:00
Sanne Grinovero f7c85fad4a HHH-14477 Log warnings about the use of Javassist as BytecodeProvider being deprecated 2021-03-03 10:57:35 +00:00
Christian Beikov 9135f69c91 HHH-14433 Add possibility to drop local temporary tables to enable connection pooling in tests 2021-02-03 17:03:47 +01:00
Christian Beikov d767d46d05 Fix most tests to work on all DBs and fix a bunch of connection leaks 2021-02-03 17:03:47 +01:00
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