Commit Graph

2095 Commits

Author SHA1 Message Date
Christian Beikov 1da18451ce Update asciidoctor plugins to 4.0.2 2024-07-15 19:27:12 +02:00
Gavin King 8ab4b177be mention @ConcreteProxy and the problem it solves in Introduction doc
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-07-11 13:59:44 +02:00
nathan.xu 714c7f010b HHH-18318 fix user guide bootstrap minor link text issue 2024-07-05 17:46:09 +02:00
Gavin a844019ba0 code examples of flush semantics in doc 2024-07-04 00:53:57 +02:00
Marco Belladelli 40544fad60 HHH-18285 Migration for emb-inheritance and annotated class validation
Also slight improvements to release notes and user guide.
2024-07-03 16:46:50 +02:00
nathan.xu 8878a19161 HHH-18320 fix some synatx errors in Locking user guide chapter 2024-07-01 09:35:08 +01:00
marko-bekhta bf3b7e09e7 Remove `DomesticCat` entity type name as it's not in the docs anymore 2024-06-25 17:44:37 +02:00
Andrea Boriero a567226a72 HHH-17956 Criteria multiselect ignores type of the criteria query and always returns list of Object[] 2024-06-13 11:21:54 +02:00
Christian Beikov e2f7d5d516 HHH-16830 Custom exception handling for applyToLoadByKey associations 2024-06-12 12:19:33 +02:00
Dmitrii Karmanov 4125902eea HHH-16830: change the naming 2024-06-12 12:19:33 +02:00
Dmitrii Karmanov e721a37691 HHH-16830: apply filters to find() method 2024-06-12 12:19:33 +02:00
Leonardo Nogueira Meireles f86bdf08c1 [Fixes] Table 19. Declaring entity associations - Documentation
URL: https://docs.jboss.org/hibernate/orm/6.5/introduction/html_single/Hibernate_Introduction.html#entities

@ManyToMany
Declare either side of a one-to-one association?

@ManyToMany
Declare either side of a --> [many-to-many] association?
2024-06-08 18:59:15 +02:00
LLEFEVRE 0705ffd3b1 HHH-18173 Document Oracle Universal Connection Pool 2024-05-27 14:52:36 +02:00
LLEFEVRE 5cdcb2c582 HHH-18157 Document 23ai new features where necessary 2024-05-23 12:46:32 +02:00
Marco Belladelli 2e9acf1ded HHH-18125 Support for `type()` and `treat()` operators for Embeddables 2024-05-22 15:59:03 +02:00
Gavin King 7a315b0d8d
fix description of type() function (#8401) 2024-05-18 16:18:08 +02:00
Gavin King 327399e801 add some javadoc links from Tuning chapter
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-14 14:32:38 +02:00
Gavin King 43a8851d51 some more documentation about lock modes
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-14 14:19:54 +02:00
Gavin King 8c3b68cd78 document what to do when no JDBC DatabaseMetaData
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-14 11:34:28 +02:00
Marco Belladelli 1c11dea006 HHH-1152 Discriminator based inheritance for embeddable types 2024-05-14 11:13:36 +02:00
Christian Beikov c8aa4f39da HHH-17375 Introduce array_includes() and INCLUDES predicate for checking if array contains all elements of subarray as replacement to array_contains() overload 2024-05-13 22:11:15 +02:00
Christian Beikov dcedc5cf18 HHH-17375 Support array on RHS of in predicate 2024-05-13 22:11:15 +02:00
Christian Beikov 5c6a2f4a7d HHH-17375 Introduce intersects predicate for easy array_intersects, the replacement of array_overlaps 2024-05-13 22:11:15 +02:00
Christian Beikov 6c34a0a4a6 HHH-17375 Introduce contains predicate for easy array containment checking 2024-05-13 22:11:15 +02:00
Christian Beikov 64dd9e657c HHH-17375 Support casting array to string and add optional third argument to array_to_string for null element handling 2024-05-13 22:11:15 +02:00
Christian Beikov 8ec90b8fb1 HHH-17375 Overload position function with array_position semantics on array input 2024-05-13 22:11:15 +02:00
Christian Beikov 35102836c7 HHH-17375 Overload length function with array_length semantics on array input 2024-05-13 22:11:15 +02:00
Christian Beikov b74992198c HHH-17375 Shorthand bracket syntax for array slicing 2024-05-13 22:11:15 +02:00
Christian Beikov 67d04577be HHH-17375 Shorthand bracket syntax for array construction 2024-05-13 22:11:15 +02:00
Dmitry Kryukov 0abc479118 HHH-18105 added missing semicolon in CSS file 2024-05-13 21:09:11 +02:00
Gavin King 3d09ac0fce add 'week' to the list of duration literal units in doc
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-06 14:35:12 +02:00
Gavin King 927b046f13 add a TIP about subqueries in filter conditions
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-03 23:14:58 +02:00
Gavin King 1bcc6295b5 document JPA compatibility of extract() field types
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-02 22:45:15 +02:00
Gavin King b1c69a24b6 update docs with all field types for HQL extract()
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-02 22:45:15 +02:00
Gavin King 07dc9f0a68 document that records can now be used as @IdClasses and @EmbeddableIds
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00
Gavin King f55f1c7a43 document implicit joins in 'delete'/'update' queries
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00
Gavin King 8eebf0bafb document changes to StatelessSession semantics
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00
Gavin King ec0810a646 document auto-enabled filters
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00
Gavin King fd2e1aca81 make the section on @Lob even more explicit
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-25 16:00:36 +02:00
Marco Belladelli 7adab31924 HHH-17818 Add a UG paragraph and examples for `@ConcreteProxy` 2024-04-23 15:37:22 +02:00
Gavin King 967a52fd1d mention where keyset pagination came from
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-22 16:09:22 +02:00
Gavin King 6bf9dbb051 fix a typo
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-21 23:02:18 +02:00
Gavin King 0c97bbdb47 talk about lack of lazy fetching in Jakarta Data
and about SS.fetch()

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-17 13:49:24 +02:00
Gavin King 431cf992ec
include the Repositories documentation in the docs build (#8185)
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-15 22:13:16 +02:00
Gavin King 9ba2803440
documentation for Hibernate Data Repositories (#8178)
documentation for Hibernate Data Repositories

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-15 21:22:27 +02:00
Gavin King 3cfec2fd91 HHH-17882 accept a list of warnings to suppress in addSuppressWarningsAnnotation
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-29 12:42:02 +01:00
Daninsky 866585d4b6 Fix typo 2024-03-25 18:39:11 +01:00
Gavin King 003c0d0960 mention that tuples can be compared to embeddables in doc 2024-03-22 14:43:10 +01:00
Gavin King 1d9f4fe55f fix a code example I rushed last night 2024-03-21 11:41:38 +01:00
Gregorio Palamà 527beb0bdb HHH-14968 - Support for auto-enabled filters 2024-03-20 16:08:11 -05:00
Gavin King b4974eb00f roughly document key-based pagination 2024-03-20 18:57:04 +01:00
Gavin King bcc3ea60de HHH-17868 introduce @Pattern annotation 2024-03-20 11:29:32 +01:00
Gavin King c60dab34d0 HHH-17859, HHH-17858 document function() and column() functions 2024-03-17 11:14:57 +01:00
Jeff Maxwell d78140d521 HHH-17839 remove reference to org.hibernate.envers.using_modified_flag 2024-03-14 12:17:57 +01:00
Gavin King d7ef693768 document new Expectation approach 2024-03-13 20:49:01 +01:00
Gavin King a1c26f54bf fix syntax error in HQL doc 2024-03-13 19:40:41 +01:00
Gavin King 237e339e2c improvements to HQL functions examples 2024-03-12 17:09:39 +01:00
Gavin King ef16d42c65 allow collation names to be quoted 2024-03-09 20:32:25 +01:00
Gavin King 0d7a7087ff document 'on conflict' in query language guide 2024-03-02 11:36:12 +01:00
Jeff Maxwell 12a93ce328 HHH-17775 Standardize spelling of "round-trip" and "roundtrip" to "round
trip"
2024-02-26 14:07:48 +01:00
Gavin King 1c0121a94d HHH-15519 document bitand(), bitor(), bitxor() 2024-02-20 09:11:44 +01:00
Gavin King 9bb15727e4 HHH-16931 document getResultCount() 2024-02-19 22:56:18 +01:00
Gavin King 45a3ed9565 HHH-17748 update HQL doc 2024-02-18 23:28:56 +01:00
Gavin King e732cddb09 HHH-17746 add typed setProperty() methods to Configuration
and fix handling of DEFAULT_NULL_ORDERING
2024-02-17 12:42:09 +01:00
Gavin King 50bbc803ba HHH-16048 add 'hibernate.query.hql.portable_integer_division'
update doc
2024-02-16 16:23:35 +01:00
Gavin King d61719acd5 minor clarification to docs on SQL array support 2024-02-14 20:35:40 +01:00
Gavin King b4b4112f75 add a TIP about @OneToOne mappings 2024-02-14 12:05:17 +01:00
Yanming Zhou c804ff3ac5 HHH-17719 Supports boolean as return type of mutation query method 2024-02-07 14:10:48 +01:00
Yanming Zhou af599d7d89 Fix typo 2024-02-07 09:48:19 +01:00
Gavin King 3274776acc document Transaction.setTimeout() 2024-02-06 20:39:32 +01:00
Yoann Rodière cd391b7359 HHH-17708 Fix formatting/anchor in documentation of @Struct 2024-02-05 14:53:48 +01:00
Gavin King 1f6564d345 improve preamble of Generator.adoc 2024-02-03 13:57:15 +01:00
Gavin King d96b5dfffc clarify use of Order and Page with @Find
[It's allowed!]
2024-02-02 18:12:27 +01:00
Christian Beikov 7ef13e1f91 HHH-15086 Introduce configurable query cache layout 2024-01-26 11:01:03 +01:00
Gavin King 2f60e08c64 add a NOTE to make something clearer 2024-01-22 18:30:20 +01:00
Jan Schatteman 355f5c8005 HHH-17616 - More work related to moving resources
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-01-10 12:12:46 +01:00
Christian Beikov 22e5fe06ae HHH-16138 Add documentation for joins in UPDATE/DELETE 2023-12-21 18:01:30 +01:00
Christian Beikov 81892127b3 HHH-17506 Add documentation for ON CONFLICT clause 2023-12-21 18:01:30 +01:00
Steve Ebersole ffbae4c736 Fix User Guide settings section 2023-12-20 19:49:08 -06:00
Marco Belladelli b44ff032c3 HHH-17528 Throw error for embedded result with collections 2023-12-15 19:46:33 +01:00
Gavin King 5ca64dba8b HHH-17555 don't use getClass() inside entity equals() 2023-12-12 16:40:43 +01:00
Gavin King 17854673e1 add lots more links to the Advanced chapter 2023-12-08 14:58:17 +01:00
Gavin King b9245ae64b add @SoftDelete to Guide 2023-12-08 14:58:17 +01:00
Gavin King c67ea33206
add a comment to example code (#7591) 2023-12-01 18:14:25 +01:00
Marco Belladelli ac637ea8af HHH-17425 Introduce some new dialect-specific config params 2023-11-23 14:33:40 +01:00
Andrea Boriero a9d77d2c70 HHH-17347 Add Monitoring with Java Flight Recorder appendix to the documentation 2023-11-17 08:17:15 -06:00
Andrea Boriero 1d2d72187b HHH-17347 Add Monitoring with Java Flight Recorder appendix to the documentation 2023-11-17 08:17:15 -06:00
Andrea Boriero a1249704de HHH-17347 Add Monitoring with Java Flight Recorder appendix to the documentation 2023-11-17 08:17:15 -06:00
Jan Schatteman fa5f0f75c2 HHH-17328 - Fix a couple of doc erratas
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-11-16 22:00:01 +01:00
宁培培 8daf0961d1 fix wrong groupId in Compatibility.adoc 2023-11-14 17:15:32 +01:00
Gavin King e6d5c72ec6
very minor doc fix (#7539) 2023-11-13 21:20:53 +01:00
Christian Beikov ea2c360eba HHH-17410 Add documentation for count query creation 2023-11-10 13:02:03 +01:00
Christian Beikov 5e5ba17d1d HHH-17357 Rename hibernate-types module to hibernate-vector 2023-11-08 18:55:41 +01:00
Christian Beikov eebb305837 HHH-17357 Add hibernate-types module with pgvector support 2023-11-07 18:55:31 +01:00
Jan Schatteman 029100651c HHH-17367 - Add links to the tutorial's example source code
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-11-07 16:26:57 +01:00
Christian Beikov d7bdb5c009 HHH-17355 Test array functions with NodeBuilder 2023-11-06 18:01:04 +01:00
Christian Beikov 79e3af5464 HHH-17355 Add array_to_string function 2023-11-06 18:01:04 +01:00
Christian Beikov c3e1815486 HHH-17355 Add array_positions and array_positions_list functions 2023-11-06 18:01:04 +01:00
Christian Beikov 1a5184e89b HHH-17355 Add array_fill function 2023-11-06 18:01:04 +01:00
Christian Beikov faf6345463 HHH-17355 Add array_trim function 2023-11-06 18:01:04 +01:00
Christian Beikov f2e6ad6741 HHH-17355 Add array_agg documentation and add it to NodeBuilder 2023-11-06 18:01:04 +01:00
Christian Beikov c986f6adb6 HHH-17355 Add array functions to NodeBuilder 2023-11-06 18:01:04 +01:00
Christian Beikov 5b69d751f5 HHH-17355 Support double-pipe operator for array concatenation 2023-11-06 18:01:04 +01:00
Christian Beikov bfb9fcc0f6 HHH-17355 Unify array_contains and array_contains_all as well as deprecate FunctionRenderingSupport in favor of new FunctionRenderer contract 2023-11-06 18:01:04 +01:00
Christian Beikov 5506714611 HHH-17355 Rename array_contains_any to array_overlaps 2023-11-06 18:01:04 +01:00
Steve Ebersole 3c2db8f78d HHH-17164 - Proper, first-class soft-delete support
HHH-17311 - Reversed soft delete support

https://hibernate.atlassian.net/browse/HHH-17164
https://hibernate.atlassian.net/browse/HHH-17311
2023-10-26 10:37:37 -05:00
Jan Schatteman c847036131 HHH-17162 - Add a note on the bulk mutation strategies to the user guide
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-10-25 18:57:35 -05:00
Steve Ebersole 5b49d5efba HHH-17164 - Proper, first-class soft-delete support
HHH-17311 - Reversed soft delete support

https://hibernate.atlassian.net/browse/HHH-17164
https://hibernate.atlassian.net/browse/HHH-17311
2023-10-25 15:30:54 -05:00
Christian Beikov ae3c88ab66 HHH-17335 Add array_prepend and array_append functions 2023-10-25 18:58:44 +02:00
Christian Beikov 24fa18f954 HHH-17335 Add array_replace function 2023-10-25 18:58:44 +02:00
Christian Beikov 937116ed8a HHH-17335 Add array_slice function 2023-10-25 18:58:44 +02:00
Christian Beikov 950423e7dd HHH-17335 Add array_remove_index function 2023-10-25 18:58:44 +02:00
Christian Beikov 865365e6ec HHH-17335 Add array_remove function 2023-10-25 18:58:44 +02:00
Christian Beikov b8b8a874fd HHH-17335 Add array_set function 2023-10-25 18:58:44 +02:00
Christian Beikov 8c4ed1ef48 HHH-17335 Add array_get function 2023-10-25 18:58:44 +02:00
Christian Beikov d5404fdd49 HHH-17335 Add array_contains quantified functions 2023-10-25 18:58:44 +02:00
Christian Beikov d46fcf1abe HHH-17335 Add array_concat function 2023-10-25 18:58:44 +02:00
Christian Beikov 36b7374ba8 HHH-17335 Add array_length function 2023-10-25 18:58:44 +02:00
Christian Beikov 7f10a48469 HHH-17335 Add array_position function 2023-10-25 18:58:44 +02:00
Christian Beikov 65fb449776 HHH-17335 Add array_contains function 2023-10-25 18:58:44 +02:00
Steve Ebersole 348217c899 HHH-17164 - Proper, first-class soft-delete support
HHH-17311 - Reversed soft delete support

https://hibernate.atlassian.net/browse/HHH-17164
https://hibernate.atlassian.net/browse/HHH-17311
2023-10-18 12:06:48 -05:00
Steve Ebersole 51f2f4f75d HHH-17164 - Proper, first-class soft-delete support
HHH-17311 - Reversed soft delete support

https://hibernate.atlassian.net/browse/HHH-17164
https://hibernate.atlassian.net/browse/HHH-17311
2023-10-18 12:06:48 -05:00
Steve Ebersole da522846d8 HHH-17157 - Some improvements to the metamodel generator documentation 2023-10-11 12:20:36 -05:00
The-Huginn b431029bff [HHH-17065] Unique Index on PrimaryKey orders primary key columns. 2023-10-11 16:45:57 +02:00
Albert Huzejrovic baa4141261 HHH-17304 Fix typos in Introduction guide 2023-10-10 22:23:19 +02:00
Christian Beikov 79fbee64d2 Update versions to 6.4 2023-10-06 16:32:26 +02:00
Jan Schatteman e24511f415 HHH-17157 - Some improvements to the metamodel generator documentation
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-10-03 18:00:37 -05:00
Christian Beikov 49cfb2a611 HHH-17259 Fix Gradle task dependency issue 2023-09-29 10:42:55 +02:00
Yoann Rodière 7f19de0332 HHH-17259 Add a "compatibility" section to the user guide 2023-09-26 14:46:16 +02:00
Steve Ebersole 6c2e04381d natural-id + not-found
https://hibernate.atlassian.net/browse/HHH-17197 - Add check for illegal combo of to-one + natural-id + not-found
https://hibernate.atlassian.net/browse/HHH-17196 - Documentation for @NaturalId should be more explicit about non-nullability
2023-09-26 07:44:09 -05:00
Gavin King b7bdcd100f very trivial doc changes 2023-09-20 15:55:31 +02:00
Gavin King 000b6fd427 add link to full HQL grammar to HQL doc 2023-09-20 15:29:32 +02:00
syeeuns 0722ea4f9d Fix typo in 'locking-follow-on-examples.sql' 2023-09-19 10:36:51 +02:00
syeeuns e747b3d9b7 Fix typo in '12.2.3. StalelessSession' 2023-09-19 10:34:54 +02:00
syeeuns 7974c0a842 Fix typo in '12.2. Session batching' 2023-09-19 10:34:54 +02:00
Gavin King 470b72deee document tuple constructors now they work reliably across all platforms! 2023-09-18 19:52:08 +02:00
Gavin King 9a48ce4040 add some links to doc 2023-09-11 19:25:27 +02:00
Gavin King 26ce9ea352 add section about denormalized data 2023-09-11 19:25:07 +02:00
Gavin King 1816940b21 add a couple of explanatory sentences to derived id section of doc 2023-09-11 17:09:25 +02:00
Gavin e099b06c6d new section on Derived Identity 2023-09-11 15:09:48 +02:00
Gavin King aced372844 add two more @HQL method examples to doc 2023-09-05 21:49:32 +02:00
Gavin King 6e4b4ace03 tiny fix to code example 2023-09-04 17:27:19 +02:00
Gavin King b73b4eb7e6 add links to javadoc 2023-09-04 17:23:56 +02:00
Gavin King 06ec85e829 add four code examples of list index/map key to H6 doc 2023-09-04 06:07:11 +02:00
Gavin King a7d57357d1 result of a proper proofread 2023-09-02 13:25:04 +02:00
Gavin King b54598312a minor change to table 2023-09-01 22:59:33 +02:00
Gavin King f9a0065976 minor language changes to HQL doc 2023-09-01 19:29:44 +02:00
Steve Ebersole 32f635e752 HHH-16962 - General documentation improvements
https://hibernate.atlassian.net/browse/HHH-16962
2023-09-01 11:40:43 -05:00
Gavin King b82d4c3c74 put Hibernate logo back in PDF QL doc 2023-08-31 19:53:44 +02:00
Steve Ebersole 60d8037ccd HHH-17014 - Complete "Mapping Maps" chapter of User Guide
https://hibernate.atlassian.net/browse/HHH-17014
2023-08-30 06:41:01 -05:00