Commit Graph

2072 Commits

Author SHA1 Message Date
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
Steve Ebersole a2d45a2679 HHH-16962 - General documentation improvements
HHH-17141 - Prepare for 6.3.0 release

https://hibernate.atlassian.net/browse/HHH-16962
https://hibernate.atlassian.net/browse/HHH-17141
2023-08-29 13:20:19 -05:00
Steve Ebersole fd961cebb1 HHH-17082 - Improve documentation of configuration settings
https://hibernate.atlassian.net/browse/HHH-17082
2023-08-28 10:19:37 -05:00
sujl95 6ac0c24bb3 Fix typo in Caching.adoc 2023-08-22 11:11:32 +02:00
Sanne Grinovero 4e16d00a26 HHH-16073 Remove deprecated cfg property 'hibernate.bytecode.use_reflection_optimizer' 2023-08-22 11:06:28 +02:00
Gavin King bdd78fe39c document that duration addition/subtraction is legal 2023-08-21 22:14:21 +02:00
Jan Schatteman 7939bd8fce HHH-17107 - Add missing @CompositeType, @CompositeTypeRegistration and @CompositeTypeRegistrations to user guide
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-08-21 13:02:18 +02:00
Gavin King 8461ba2078 document a (possibly temporary) restriction 2023-08-18 15:36:20 +02:00
Gavin King 5bfe11fd27 document @Index and @UniqueConstraint
and clear up a mistake I made conflating "load scripts" with "create scripts"
2023-08-18 13:46:50 +02:00
Steve Ebersole e753da11f8 HHH-16962 - General documentation improvements
https://hibernate.atlassian.net/browse/HHH-16962
2023-08-16 11:22:42 -05:00
Steve Ebersole a6b43a6a45 HHH-17047 - Follow up tasks for Gradle 8.2 upgrade
- toolchains
- lazy Task creation
- documentation (documentation/ and release/) tasks
2023-08-14 07:57:49 -05:00
marko-bekhta ffa2ee1443 HHH-17047 - Follow up tasks for Gradle 8.2 upgrade
- tweak how see additional links section is rendered
- update external javadoc links
2023-08-14 07:57:49 -05:00
Steve Ebersole 9e2108e7d7 HHH-17047 - Follow up tasks for Gradle 8.2 upgrade
- toolchains
- lazy Task creation
- documentation (documentation/ and release/) tasks
2023-08-14 07:57:48 -05:00
Steve Ebersole d3a1bd70ae HHH-17047 - Follow up tasks for Gradle 8.2 upgrade
- toolchains
- lazy Task creation
- documentation (documentation/ and release/) tasks
2023-08-14 07:57:48 -05:00
Steve Ebersole d8d1113293 HHH-17047 - Follow up tasks for Gradle 8.2 upgrade
- toolchains
- lazy Task creation
- documentation (documentation/ and release/) tasks
2023-08-14 07:57:44 -05:00
Gavin King 599b064b8e fix errors in code examples and add subsection on pad() to HQL guide 2023-08-13 10:27:06 +02:00
Gavin King 09dd5daa73 HHH-16973 document optional 'from' clause and use it in @HQL examples 2023-08-10 20:20:02 +02:00
Gavin King c70b6946b1 mention Persistence.generateSchema() in doc 2023-08-09 19:58:03 +02:00
Cedomir Igaly 280ff719bb HHH-16591 - See documentation 2.2.21 - "By default, Hibernate maps Duration to the NUMERIC SQL type." 2023-08-09 09:33:27 +02:00
marko-bekhta c1ecd20850 HHH-16591 Update the docs to use `JdbcTypeCode` instead of `JdbcType` to override an SQL type for Duration 2023-08-09 09:33:27 +02:00
Gavin King ffbced83a9 HHH-17039 fix Session vs EntityManager confusion in doc code examples 2023-08-07 12:44:05 +02:00
Andrea Boriero 345598aab6 Fix documentation build error with Gradle 8 2023-08-04 14:49:21 +02:00
joohyukkim ba25ebbfb5 Update Database_Access.adoc 2023-07-31 07:21:28 -04:00
joohyukkim 9d4d728867 FIx typo 2023-07-31 07:21:28 -04:00