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