Commit Graph

1385 Commits

Author SHA1 Message Date
Gavin King d193a9409a simply remove @Tuplizer completely 2021-03-25 18:54:41 +01:00
Gavin King bbf4619fcd remove deprecated Sort annotation 2021-03-25 18:54:41 +01:00
Gavin King 3b3487a74e remove deprecated @Entity annotation 2021-03-25 18:54:41 +01:00
Gavin King c89319f3e9 remove AccessType annotation 2021-03-25 18:54:41 +01:00
gavin af84daa416 remove some deprecated code
- OptimisticLockException
- MappingNotFoundException
- BasicQueryContract

these types were already deprecated in 5.
2021-03-25 17:30:24 +01: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 c3df793dbe HHH-14509 : Git master -> main branch renaming 2021-03-22 12:38:00 +01:00
Andrea Boriero 96d103215c Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-03-22 12:26:31 +01:00
Karel Maesen aba49ced1f HHH-14454 Add SpatialDialect for CockroachDB 2021-03-16 23:25:22 +01:00
Andrea Boriero 6250942e7f Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-03-05 11:18:14 +01:00
Gavin King b3aa7d0794 remove Serializable id from the Tuplizer stuff 2021-03-04 15:24:02 +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 6643e9f4bc Use java.lang.reflect.Type instead of java.lang.Class for JavaTypeDescriptor#getJavaType to support parameterized types 2021-02-23 12:22:54 +01:00
Christian Beikov de1524df68 Merge remote-tracking branch 'upstream/master' into wip/6.0 2021-02-10 11:28:58 +01: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 cb7c65e49d Use new parent PostgreSQLDialect for @RequiresDialect rather than subclass 2020-12-17 17:44:25 +01:00
Christian Beikov a57f93b14a Use processing stack during parsing to access query spec, fix lots of db2 issues 2020-12-08 11:27:27 +01:00
Andrea Boriero e3947b3b1c Re-enabled additional tests and fix issues with IdClass 2020-11-25 15:15:34 +01:00
Andrea Boriero dc5894db42 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-11-17 18:25:33 +01:00
Andrea Boriero 1927d1aa33 Merge branch 'master' into wip/6.0 2020-11-17 12:40:43 +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
Steve Ebersole 29848c49db ORM + Gradle
HHH-14285 - project template
HHH-14286 - Gradle plugin
2020-10-28 16:09:42 -05:00
Andrea Boriero 9cf4edfbee Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-26 08:14:01 +00:00
tscz 761a55b31d HHH-14260: Fix dead and obsolete links in user guide 2020-10-23 11:20:34 +01:00
Andrea Boriero 4e22c5cabc Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-23 10:31:29 +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
Andrea Boriero 731cbbc739 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-19 15:06:49 +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
Andrea Boriero 0bd2c32f76 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-10-02 12:39:41 +01: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
Andrea Boriero 140fbb45d6 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-09-22 11:43:55 +01:00
Nathan Xu 97ea1d853d HHH-14208 simplify example naming strategy code in user guide 2020-09-09 07:58:18 +02:00
Andrea Boriero 062a462b0c Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_51 2020-08-25 08:38:06 +01: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 de3359537f Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_49 2020-08-12 09:42:28 +01: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
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 4550c70d15 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_47 2020-07-20 10:50:17 +01:00
Nathan Xu 3d4cd3f7b3 port entity graph legacy testing cases 2020-07-20 09:37:15 +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
Andrea Boriero 9ba18b8c5d Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_46 2020-07-07 15:43:17 +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
Nathan Xu 233b8daffb import entity graph parsing test cases 2020-06-23 10:11:16 -05:00
Andrea Boriero cfc1de9de6 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_44 2020-06-16 08:23:55 +01:00
Martin Vietz 180656e9f3 HHH-14064 - Fix documentation for schema-generation 2020-06-09 14:38:55 +01:00
Andrea Boriero 257e479e92 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_39 2020-05-14 10:00:59 +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
Andrea Boriero 3bc33221f0 Revert "HHH-13950 Apply the mass replace script to switch to Jakarta Validation API"
This reverts commit 60abc8aa76.
2020-04-24 13:26:37 +01:00
Nathan Xu 686a519680 implement @Filter for HQL/Criteria 2020-04-21 17:08:19 -05:00
Steve Ebersole ced4f5e602 Various changes around how basic values are handled in terms of mapping consumption for annotations and how value conversions happen
* Split BasicType "resolution" into 2 - one used for reading (mapping model) versus one used from writing (legacy persister model)
* @SqlTypeCode, @SqlType, @SqlTypeRegistration
* @JavaType, @JavaTypeRegistration
* @Mutability
* jdbc_mappings.adoc section for DomainModel chapter

[*] At the moment, neither @SqlTypeRegistration nor @JavaTypeRegistration support has been implemented
[*] Still need to make sure @Mutability is propogated properly in all the cases
[*] jdbc_mappings.adoc still needs a lot of attention
2020-04-21 16:09:46 -05:00
Andrea Boriero 88d65adafb Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_35 2020-04-20 13:44:39 +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 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
Andrea Boriero 7ced01d303 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_32 2020-04-17 14:39: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
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
Nathan Xu c23ded50ba update user guide regarding the new feature of `@SortNatural` by default 2020-04-14 10:48:32 +01:00
Nathan Xu 11c5a1019f renaming and some legacy code fixing 2020-04-14 10:22:55 +01:00
Andrea Boriero abe1e656f7 Merge remote-tracking branch 'upstream/master' into wip/6.0 2020-03-03 16:59:30 +00: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
Andrea Boriero f77fb75639 Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_23 2020-02-05 11:37:36 +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
gavinking 95930820af Support for timezones
- add TimestampWithTimeZoneDescriptor and use it in OffsetDateTimeJD
  and ZonedDateTimeJD
- add ZoneOffsetJavaDescriptor for ZoneOffset attributes
- clean up string rendering for temporal types using ISO formats;
  note that they do not need to implement objectToSQLString()
  since they cannot be discriminators

Note that at this time very few databases have meaningful support
for the ANSI-standard TIMESTAMP WITH TIME ZONE type. This limits
the usefulness of TimestampWithTimeZoneDescriptor for now.

Also add in some missing but needed type mappings for temporal types
2020-01-30 14:01:34 -06:00
gavinking 9565d499af Big merge of my branch with new Hibernate 6 codebase
Lots of new functionality here related to HQL functions, SQL
dialects, and date/time handling.
2020-01-30 14:01:33 -06: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
Steve Ebersole ba5b4e7c02 HHH-13785 : HQL/Criteria function support
- tests
- Dialect changes
2019-12-21 21:52:04 -06:00
Steve Ebersole a39fa09650 HHH-13785 : HQL/Criteria function support
- tests
- Dialect changes
2019-12-21 19:38:22 -06:00
Andrea Boriero 79c83cf8ba Merge remote-tracking branch 'upstream/master' into wip/6.0 2019-12-09 12:07:23 +00:00
Davide D'Alto ca782f64b2 HHH-13755 Update Hibernate Gradle plugin in the documentation 2019-12-04 19:48:41 +00:00
Steve Ebersole 0a41ac8466 HHH-13763 : Update all load-by-key handling to use SQL AST
* dropped `org.hibernate.loader.plan`
* dropped `org.hibernate.loader.custom` (*)
* dropped `org.hibernate.loader.collection`
* dropped `org.hibernate.loader.entity`
* dropped `org.hibernate.loader.hql`
* cleaned-up `org.hibernate.loader`
2019-12-03 11:31:45 -06:00
Andrea Boriero 4b0da2444b Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_11 2019-11-08 14:24:48 +00:00
Steve Ebersole 92391ec3e6 change expected type of entity identifier values from Serializable to Object - fixed all related compile problems in all modules 2019-11-07 13:42:57 -06: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
Andrea Boriero 4b6777cde2 Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_4 2019-10-02 10:24:59 +01: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
Andrea Boriero 726dbeef34 Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_4 2019-09-30 16:45:27 +01:00
Mahmoud Anouti a3cccca66d Fix typo in user guide explicit polymorphism section 2019-09-24 11:02:09 +01:00
Andrea Boriero 18c8495bab Merge branch 'master' into wip/6.0_merged2 2019-09-20 08:09:34 +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
Steve Ebersole 0acd11fae3 6 - SQM based on JPA type system
Completed rebase on master (from the point just after HHH-11147 work) - fixed compilation failures
2019-09-12 10:42:33 +01:00
Andrea Boriero c45108a2b6 6 - SQM based on JPA type system 2019-09-12 10:42:32 +01:00
Steve Ebersole b39d9d22bd 6 - SQM based on JPA type system
- focus on reducing compilation errors
2019-09-12 10:42:29 +01:00
Steve Ebersole c6a11d99fd 6 - SQM based on JPA type system
- focus on reducing compilation errors
2019-09-12 10:42:29 +01:00
Steve Ebersole f8a75994e1 6 - SQM based on JPA type system
- work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work related to `org.hibernate.metamodel.model.mapping.spi.ValueMapping` - including "sketching in" the hooks with `org.hibernate.persister.walking`
2019-09-12 10:42:29 +01: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
Vlad Mihalcea 070c14e149 HHH-13165 - Don't use confusing "this" in the User Guide admonition blocks 2019-01-15 16:15:05 +02:00
Vlad Mihalcea 7358893eac HHH-13160 - Polymorphic query for InheritanceType.TABLE_PER_CLASS is not using UNION ALL 2018-12-18 12:09:26 +02:00
Vlad Mihalcea 55f5c9c5bd HHH-13153 - No content in 15.1. Query API of User Guide 2018-12-18 12:03:24 +02:00
John Lin 0d2fa6e94b HHH-13156 - Enhance the @AnyMetaDef annotation section with more details about the optimal placement 2018-12-12 14:03:32 +02:00
Vlad Mihalcea dc89e7199d HHH-13095 - Document how to use arithmetic expressions in CASE statements
Fix tests failing on MariaDB and MySQL
2018-12-06 15:54:22 +02:00
Vlad Mihalcea 1a5cee7c0c HHH-13095 - Document how to use arithmetic expressions in CASE statements 2018-12-06 10:08:30 +02:00
Vlad Mihalcea f4e36a1bea HHH-13096 - Document that composite identifier cannot use auto-generated properties 2018-12-06 09:46:58 +02:00
Guillaume Smet 21fa1ab54b HHH-13127 Update a few things in the metamodel generator documentation 2018-11-29 17:04:47 +01:00
Guillaume Smet e528eb7ee9 HHH-13127 Document that JAXB jars are needed if using JDK 11 2018-11-29 17:04:47 +01:00
Vlad Mihalcea d48307d5fa HHH-13125 - Remove the Javadoc links in the User Guide pointing internal classes 2018-11-29 11:10:10 +01:00
Vlad Mihalcea 1b53969359 HHH-13102 - Document how catalog and schema attributes need to be applied based on the underlying DB capabilities 2018-11-29 11:06:25 +01:00
Vlad Mihalcea c9356ce9b4 HHH-13115 - Document how to define timezone per tenant when using Multitenant Database 2018-11-29 10:51:11 +01:00
Vlad Mihalcea 39d9f84920 HHH-13124 - The CachingRegionFactory resolution algorithm has changed 2018-11-27 18:17:45 +01:00
Chris Cranford 805aec32b3 HHH-13101 - Document `hibernate.id.disable_delayed_identity_inserts` config setting. 2018-11-14 11:38:12 -05:00
Guillaume Smet e67f3dfa82 HHH-13069 Go back to non-SSL links for our JBoss Nexus repositories
Using SSL repositories with JDK 11 ends up with the error below:
javax.net.ssl.SSLHandshakeException: extension (10) should not be presented in server_hello

This is a bug in JDK 11 that will apparently be fixed in the next update
(planned for January 2019).

Until then, we need to use non-SSL links.

For more information:
https://stackoverflow.com/questions/52016415/jdk-11-ssl-error-on-valid-certificate-working-in-previous-versions
https://bugs.openjdk.java.net/browse/JDK-8209965 - JDK 12 issue
https://bugs.openjdk.java.net/browse/JDK-8210005 - JDK 11 issue
2018-11-05 11:38:30 +01:00
Sanne Grinovero d16e7211e0 HHH-13069 Update the links to JBoss Nexus to use the direct repository over https 2018-11-02 17:53:45 +01:00
Barnaby Court 512dfa574d HHH-12944 - MultiIdentifierLoadAccess ignores the 2nd level cache 2018-10-31 19:43:24 +02:00
Vlad Mihalcea 3bf530d5e8 HHH-13062 - Migrate User Guide links from Java EE 7 to 8 2018-10-26 09:22:35 +03:00
Guillaume Smet 2517fbfe6f HHH-13064 Fix Lock and LockModeType table 2018-10-25 19:10:41 +02:00
Vlad Mihalcea 817e463764 HHH-13060 - Throw an exception when two entities are declared with the same name 2018-10-25 17:34:36 +03:00
John Lin fecb12cff7 HHH-13041 - Move @Any and other association mappings to the association chapter 2018-10-25 08:43:03 +03:00
John Lin fb2fd3ed4b HHH-13056 Fix typo in documentation: "listner" should be "listener" 2018-10-22 16:05:54 +08:00
Steve Ebersole c49ebe888a HHH-12713 - Make EntityGraph creation more convenient
- documentation tests only run on H2Dialect
2018-10-21 16:15:37 -05:00
Steve Ebersole 5e8781f8fa HHH-12713 - Make EntityGraph creation more convenient 2018-10-19 12:10:15 -05:00
Aleks 526ebb4e0b HHH-12713 - Make EntityGraph creation more convenient 2018-10-19 12:02:15 -05:00
Vlad Mihalcea b46a277619 HHH-13012 - JDBC default connection release mode does not match documentation 2018-10-17 12:30:54 +02:00
Gail Badner aa586c117f HHH-13011 : Document hibernate.use_entity_where_clause_for_collections in the user guide 2018-10-16 15:12:06 +02:00
Vlad Mihalcea 656b2737f9 HHH-13009 - No documentation for "hibernate.javax.cache.cache_manager" 2018-10-12 07:59:30 +03:00
Sanne Grinovero ddac470a2c HHH-13026 Documentation: fixing link to Infinispan documentation section regarding Hibernate 2LC 2018-10-11 17:41:38 +01:00
Vlad Mihalcea ceb83264fc HHH-12934 - Exception handling documentation does not apply only to "Session-per-application anti-pattern"
Fix section placement
2018-10-10 17:45:34 +03:00
Vlad Mihalcea b1b6e52441 HHH-12934 - Correct documention about hibernate.native_exception_handling_51_compliance 2018-10-01 08:25:34 +03:00
Guillaume Smet 362630624f HHH-12962 Fix a typo in the documentation 2018-09-24 18:28:24 +02:00
Guillaume Smet 912225a766 HHH-12974 Fix a typo in the documentation 2018-09-24 18:25:53 +02:00
Vlad Mihalcea 519905b99b HHH-12962 - Document how to tune the query plan cache size 2018-09-20 11:54:27 +03:00
Vlad Mihalcea 48909896b6 HHH-12974 - Document @OnDelete behavior in regards to disabling the Persistence Context entity removal cascading event 2018-09-20 11:33:26 +03:00
Karel Maesen b3e56a5db7 HHH-12144 - Upgrade JTS spatial library to 1.16 2018-09-19 20:09:44 +02:00
Vlad Mihalcea 4bafeeecae HHH-12957 - Calling custom functions in JPQL with the function() is missing in the documentation 2018-09-10 13:56:24 +03:00
Vlad Mihalcea 83191633ec HHH-12855 - Add query plan compilation statistics 2018-09-07 11:17:48 +03:00
Vlad Mihalcea eab5fb2868 HHH-12952 - Document the hibernate.statistics.query_max_size behavior and explain its implications 2018-09-06 14:36:42 +03:00
Sanne Grinovero 4eb726ef4c HHH-12950 Use the Annotation Processor specific scopes of Gradle 2018-09-04 23:02:26 +01:00
Vlad Mihalcea 440a2ef490 HHH-12929 - Add AtomikosJtaPlatform implementation 2018-09-03 17:17:09 +03:00
Vlad Mihalcea 35b4d81cf4 HHH-12892 - Fix spelling issues in the User Guide 2018-08-13 17:42:44 +02:00
Fernando Guardiola 0ab6c1178b HHH-12770 - Document @NotFound(action = NotFoundAction.IGNORE) and FetchType.LAZY behavior 2018-08-13 08:36:51 +03:00
Vlad Mihalcea 6c5e172609 HHH-12892 - Fix spelling issues in the User Guide 2018-08-13 06:49:11 +03:00
Vlad Mihalcea 870a033a52 HHH-12361 - In the User Guide, omit constructors and equals/hashCode for brevity 2018-08-08 10:20:07 +03:00
Emmanuel Bernard d26eeabbea HHH-12890 Fix link to JPA metamodel generator documentation 2018-08-07 16:25:57 +02:00
Gail Badner a790096965 HHH-12666 : Add documentation 2018-07-20 10:08:34 +02:00
Guillaume Smet f8964847dd HHH-12829 Update the Ehcache documentation to use the new short names 2018-07-19 10:23:07 +02: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
Vlad Mihalcea 5b4f18390e HHH-12349 - User Guide documentation for @Filter is too verbose 2018-07-12 14:35:28 +03:00
Diego Lovison 535a33ea5d HHH-12797 Fix cache modes relationships table layout 2018-07-12 10:45:40 +02:00
Vlad Mihalcea f708a75c4f HHH-12200 - Docs mention outdated APIs 2018-07-09 14:13:01 +03:00
Vlad Mihalcea aeb2f9e0b0 HHH-12716 - Sample code is required for documentation of disabling polymorphism in queries
Fix typo
2018-07-05 12:19:03 +03:00
Yoann Rodière 3883abf087 HHH-12649 Use the 'create-warn' missing cache strategy by default in hibernate-jcache
In order to be consistent with hibernate-ehcache.
2018-07-04 12:12:00 +02:00
Yoann Rodière 63cc63b386 HHH-12531 Use short, simple names for the query result and update timestamps caching regions 2018-07-04 10:03:23 +02:00
Yoann Rodière 033203abc7 HHH-12649 Document the behavior on missing caches 2018-07-04 09:44:50 +02:00
Vlad Mihalcea 58613cba73 HHH-12350 - User Guide documentation for @Any is too verbose 2018-07-03 15:49:38 +03:00
Vlad Mihalcea 5b40dfca26 HHH-12716 - Sample code is required for documentation of disabling polymorphism in queries 2018-07-03 14:50:01 +03:00
Vlad Mihalcea 6c49f8ef5c HHH-12351 - User Guide: document why Subselect always requires Synchronize 2018-07-03 14:27:17 +03:00
Vlad Mihalcea 5716cecb55 HHH-12353 - Document that Session.getReference not always returns a T
Change to lowercase noun
2018-07-02 17:42:42 +03:00
Vlad Mihalcea 75d65542a1 HHH-12353 - Document that Session.getReference not always returns a T 2018-07-02 17:17:22 +03:00
Vlad Mihalcea c69038d476 HHH-12341 - Documentation refers to nonexistent "image clob" 2018-06-29 10:48:47 +03:00
Vlad Mihalcea 723e0289e9 HHH-12660 - Missing verb in reference documentation
HHH-12715 - Error in documentation sample code about JPQL and HQL
HHH-12691 - Code block is broken in documentation about AUTO flushing
2018-06-28 18:17:47 +03:00
Vlad Mihalcea 4539be09c2 HHH-12697 - Headings problem in Hibernate Documentation 5.3.1 - Proxool configuration
HHH-12698 - Headings problem in Hibernate Documentation 5.3.1 - Transation Patterns
2018-06-28 14:47:51 +03: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 bee6ed5c37 HHH-12731 Do not hide the TOC when not using jstree 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
Chris Cranford 39cd150ae5 HHH-12683 - Add note about CriteriaUpdate/CriteriaDelete not captured by Envers. 2018-06-18 13:04:54 -04:00
Vlad Mihalcea d4861fed9f HHH-12700 - Missing property in sample code in documentation of bulk-id strategies 2018-06-18 16:55:36 +03:00
Sanne Grinovero dab7616db2 HHH-12677 One more javadoc link still pointing to Java SE 7 javadocs 2018-06-18 12:03:18 +01:00
Vlad Mihalcea 30fec4be79 HHH-12662 - JPQL queries fail when using the Java attribute type which has an associated AttributeConverter (only the DB column type works) 2018-06-14 09:29:18 +03:00
Sanne Grinovero 7f983adb50 HHH-12677 Update javadoc API links from EE7 to EE8 - more links 2018-06-13 19:40:52 +01:00
Sanne Grinovero fe38c5aaee HHH-12677 Update javadoc API links from EE7 to EE8 2018-06-11 12:00:03 +01:00
Vlad Mihalcea 0ed516e113 HHH-12348 - Hibernate ORM Document user guide, architecture of Hibernate class is out of date 2018-06-07 15:14:47 +03:00
Andrea Boriero 80bf92e32a HHH-12620 fix test dependencies 2018-05-25 11:56:00 -04:00
Vlad Mihalcea 1a91a38cbd HHH-12602 - Bytecode Enhancement documentation refers to removed property hibernate.ejb.use_class_enhancer 2018-05-22 17:56:10 +03:00
Vlad Mihalcea 4a8951a6b4 HHH-12589 - Add support for registering custom SQL functions when bootstrapping via JPA 2018-05-21 17:49:56 +03:00
Sanne Grinovero d5d68dcec5 HHH-12316 Document usage of the new Feature Packs 2018-05-14 21:44:39 +01: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
Sanne Grinovero 432d3a29fa HHH-12384 Introduce new hibernate.bytecode.enforce_legacy_proxy_classnames configuration property 2018-04-18 13:05:34 +01:00
Rodrigo Turini 6d853b582e HHH-12451 - Fixing JDBC and Java Type order for CurrencyType 2018-04-17 12:47:48 +03:00
Rodrigo Turini 84614aa405 HHH-12365 - User Guide: call_key should change to call_timestamp_epoch 2018-04-17 12:06:14 +03: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
Andrea Boriero 6cefa865b0 HHH-12454 - Offer flag to consider id generator with local scope (legacy non JPA behavior) 2018-04-16 09:47:09 -05:00
Vlad Mihalcea e11d09d1dd HHH-12479 - Document the converted:: prefix for HBM type mappings 2018-04-12 16:37:43 +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 638ebf01df 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

- initial work on migrating hibernate-jcache to new SPIs including a more template-style approach to writing a RegionFactory (o.h.cache.spi.support)
2018-03-22 13:25:12 -05:00
Steve Ebersole f432ecea68 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
2018-03-22 13:25:12 -05:00
Vlad Mihalcea c22540ab65 HHH-12419 - Incorrect batch inserts example 2018-03-22 14:22:51 +02:00
asutosh936 6e912cec0f HHH-12364 : Removed @MapKeyJoinColumn with name phone_id as its not needed 2018-03-20 01:08:52 -05:00
Roland Illig 08fa07442b HHH-12388 - User Guide and Javadoc typo fixes
Fix adoc typo in "Using table identifier generator" User Guide section.
2018-03-14 17:28:40 +02:00
Roland Illig a17a8df9e3 HHH-12388 - User Guide and Javadoc typo fixes
Fix SQL for bidirectional OneToMany The documented SQL didn't match what the test actually produces.
2018-03-14 17:25:27 +02:00
Vlad Mihalcea 069222cf58 HHH-12388 - User Guide and Javadoc typo fixes
Fix inconsistency between User Guide content and the associatted test case
2018-03-14 14:22:57 +02:00
Roland Illig 8b11d5ecf9 HHH-12388 - User Guide and Javadoc typo fixes
Fix a/an grammar in code and documentation, and other typos
2018-03-14 14:17:55 +02:00
Kirill Marchuk 8b601072f3 HHH-12388 - User Guide typo fixes
Getting Started guide seems to be consistently using the term "Developer Guide", which is nowhere to be found in the "current" documentation, thus I propose this change.
2018-03-14 13:24:53 +02:00
Chris Cranford 33159c13a6 HHH-8058 - Document enable querying entity revisions with property change indicators. 2018-03-06 13:09:46 -05:00
Chris Cranford 79354bab9f HHH-7555 - Update documentation to document the new revision information entity query api.
(backport from wip/6.0)
2018-03-06 12:23:16 -05:00
Sanne Grinovero 0f5c3a0abc HHH-11253 Make Byte Buddy BytecodeProvider impl the default 2018-03-02 12:19:18 +00:00
Sanne Grinovero 4e484af398 HHH-12336 Avoid unnecessary invocations of fillInStackTrace() in the tests 2018-03-01 17:58:30 +00:00
Karel Maesen 2072ac0d0d HHH-11790 - Documenting DB2 Spatial Extender support 2018-02-21 20:43:20 +01:00
Vlad Mihalcea 993a229586 HHH-12236 - Document 5.3 changes
- add missing configuration properties
2018-02-12 11:20:42 +02:00
barreiro 1b2424c211 HHH-12252 - Add Agroal to ConnectionProviderInitiator 2018-01-30 10:19:09 +02: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
simeonmalchev 0d9b1c54cd HHH-10541 - Create Vibur DBCP connection pool module 2018-01-15 11:55:01 +02:00
Vlad Mihalcea 510f91ff30 Update documentation link to match new URL structure 2018-01-08 18:47:35 +02: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
Chris Cranford 735da4347d HHH-12169 - Document support for dependency injection for Envers revision listeners. 2017-12-14 13:40:41 -05:00
Vlad Mihalcea b0c27562f4 Fix User Guide tests failing and triggereing other 2nd-level cache tests to fail as well 2017-12-13 20:39:45 +02: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
Steve Ebersole 447f3d57c7 HHH-12146 - Support enabling caching at any level within a mapped hierarchy 2017-12-13 09:15:12 -06:00
Steve Ebersole d454ab0edc HHH-12146 - Support enabling caching at any level within a mapped hierarchy 2017-12-13 07:40:20 -06:00
Vlad Mihalcea da8e13c453 HHH-12155 - Update documentation regarding limitation of defining caching on just root entity 2017-12-13 06:19:32 -06:00
Andrea Boriero 9af5655100 HHH-12148 - Add setting indicating if the value stored in the table used by the @TableGenerator is the last value used or the next value to be used 2017-12-13 06:19:32 -06:00
Steve Ebersole 5e0274adbb HHH-12116 - Positional parameters report position as name
HHH-12101 - Remove support for legacy HQL-style positional parameters
2017-12-13 06:19:30 -06:00
Vlad Mihalcea 7f70dccc71 HHH-12108 - Fix tests failing on Oracle 2017-11-21 16:47:16 +02:00
Vlad Mihalcea 779dcc4078 Change log file to log.txt because otherwise it's ingored by git 2017-11-20 19:21:09 +02:00
shen dongsheng 0b04430fdd HHH-12082 - Fix some errors and formatting issues in the User Guide 2017-11-07 13:51:27 +02:00
Vlad Mihalcea 164178330a HHH-12073 - Change BaseUnitTestCase Logger to protected 2017-11-01 19:04:07 +02:00
Sanne Grinovero 401936f94e HHH-12055 Revert to using the Javassist version included in WildFly 11 2017-10-24 16:42:49 +01:00
Chris Cranford 4cf7f6e406 HHH-12010 - Improve Envers documentation on computeAggregationInInstanceContext. 2017-10-18 23:35:40 -04:00
marko-bekhta b51dac6e39 HHH-12026 Setting correct font family for search input in TOC. Fixing a typo 2017-10-16 14:58:29 +03:00
Jonathan Bregler 1fc4ce23ac HHH-12020 - Add SAP HANA to the list of provided dialects
- Update documentation
- Update org.hibernate.boot.registry.selector.internal.StrategySelectorBuilder
2017-10-09 13:30:41 +03:00
Chris Cranford 7b04a0238b HHH-11999 - Correct Envers documentation problems. 2017-09-29 12:52:31 -04:00
Vlad Mihalcea 5e132a46eb HHH-12006 - Make User Guide sections bookmark-able 2017-09-26 18:37:39 +03:00
Vlad Mihalcea f9ec55d56b HHH-9576 - Use JDBC bind variables for handling JPA Criteria query numeric literals
Document the new setting in the Configurations chapter
2017-09-26 12:42:13 +03: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 0b046885c5 Fix tests faiiling on Jenkins 2017-09-14 12:39:43 +03:00
Vlad Mihalcea bd4908449f HHH-11984 - Add support for navigating between different doc versions 2017-09-14 12:01:37 +03:00
Vlad Mihalcea 0148ede638 HHH-11411 - Two column navigation and search box for documentation 2017-09-13 15:55:36 +03:00
Vlad Mihalcea c7e5174786 HHH-11884 - wrong class in returnedClass() in UserType example 2017-09-12 14:22:36 +03:00