Commit Graph

2015 Commits

Author SHA1 Message Date
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
Gavin King f161386b36 add a HINT and mention an alternative API 2023-07-25 20:54:15 +02:00
Gavin King 147cf6b112 remove CAUTION from doc because actually this is safe enough 2023-07-25 18:47:49 +02:00
Gavin King 1994a5d14b remove unnecessary spacing in doc 2023-07-21 20:04:32 +02:00
Steve Ebersole db90880661 HHH-16598 - Add new documentation artifacts to release upload
https://hibernate.atlassian.net/browse/HHH-16598
2023-07-20 14:12:43 -05:00
Steve Ebersole 787244b988 HHH-16598 - Add new documentation artifacts to release upload
https://hibernate.atlassian.net/browse/HHH-16598
2023-07-20 13:41:26 -05:00
Steve Ebersole 4726bf016e HHH-16598 - Add Introduction to Hibernate 6 to the website
https://hibernate.atlassian.net/browse/HHH-16598
2023-07-20 11:42:02 -05:00
Steve Ebersole d80e27a17d HHH-16598 - Add Introduction to Hibernate 6 to the website
https://hibernate.atlassian.net/browse/HHH-16598
2023-07-20 11:23:45 -05:00
Gavin King 58aff00957 update doc about query method return types 2023-07-16 19:13:13 +02:00
Gavin King 7634795f83 improved reasoning around nullability of finder method parameters 2023-07-16 09:10:40 +02:00
Gavin King 7f003150da mention schema validation, and the need for @Entity etc annotations 2023-07-15 13:40:52 +02:00
Gavin King 06ed2072ce mention path-based matching in section on @Find methods 2023-07-15 00:18:23 +02:00
Gavin King 57e47e0ba1 very minor improvements first doc chapter 2023-07-14 23:23:09 +02:00
Gavin King be75adbec8 aesthetic improvements to pdf docs 2023-07-14 22:28:29 +02:00
Gavin King 781cdc8804 more improvements to the new chapter 2023-07-14 17:50:22 +02:00
Gavin King a80224f921 improvements to Generator doc chapter 2023-07-14 15:08:17 +02:00
Gavin King dc22773a9f document CriteriaDefinition 2023-07-13 20:38:01 +02:00
Gavin King 8031952d86 document Query Validator, and add a TIP about Metamodel 2023-07-13 14:03:30 +02:00
Gavin King 69e0809bf4 new documentation chapter for @HQL, @SQL, and @Find methods 2023-07-12 21:41:24 +02:00
Gavin King 3e8e9dd219 new doc section on slow queries and SQL comments 2023-07-07 13:25:00 +02:00
Gavin King 84714ed585 more information about query methods and testing for first chapter of new doc 2023-07-06 22:58:46 +02:00
Gavin King 1f30de0ba2 fix typo 2023-07-05 15:06:11 +02:00
Gavin King 5591423756 update doc to latest work in 6.3 2023-07-05 14:45:40 +02:00
Gavin King 1e46146b54 HHH-16815 more convenient pagination via Query API
- add Page convenience class
- add Query.paginate(int, int)
- add Query.paginate(Page)
2023-07-05 13:23:15 +02:00
Gavin King 58006ddf31 improvements to second half of entities chapter of new doc 2023-06-29 10:13:28 +02:00
Gavin King bdbff50dc2 add a tip about @ManyToMany 2023-06-29 03:05:01 +02:00
Gavin King e76d1e5752 document some more things about criteria queries and names queries 2023-06-27 16:38:26 +02:00
Andrea Boriero 6328af32a9 HHH-16820 updated userguide 2023-06-27 10:18:20 +02:00
ats1999 3eb7e7aea9 HHH-16842 Fixed typo - changed tye to type 2023-06-26 12:39:40 +02:00
Gavin King e15bee589f fix a couple of mistakes in operator precedence list 2023-06-25 16:51:06 +02:00
Gavin King d1bb2f4402 HHH-16801 doc precedence of 'is true', 'is false' 2023-06-25 16:29:09 +02:00
Gavin King 0126d96d03 HHH-16801 document 'is true', 'is not true', 'is false', 'is not false' operators 2023-06-25 15:18:27 +02:00
Gavin King f32f6b5515 document hibernate.properties in intro doc 2023-06-24 13:58:07 +02:00
Gavin King a851f1cf8b new doc section on testing, and simpler REST example 2023-06-24 13:58:07 +02:00
Yoann Rodière 1797a9196e Add some missing names in the user guide credits
I tried to filter out contributors who only fixed typos,
hopefully I didn't forget anyone.
2023-06-23 11:48:29 -05:00
Yoann Rodière 1c1c6bf06b Move credits to a dedicated section of the user guide 2023-06-23 11:48:29 -05:00
Gavin King 2f1f766097 document ascending()/descending() 2023-06-21 22:27:10 +02:00
Gavin e051613637 two better words 2023-06-21 21:44:17 +02:00
Gavin 550417be12 more work on the Introduction of the Introduction
it's finally starting to come together
2023-06-21 21:33:23 +02:00
Gavin King 88e07652c9 more work on architecture session of doc 2023-06-21 17:43:55 +02:00
Gavin King 8a82f0e63b add an image 2023-06-21 01:16:27 +02:00
Gavin King c29837366a discuss how to make use of query methods on first section of Introduction.adoc doc 2023-06-20 21:26:02 +02:00
Gavin King e2714627d6 mention Envers in optional deps 2023-06-16 16:01:05 +02:00
Gavin King 7bec00cc86 (finally) document sorted/ordered collections and map keys 2023-06-16 13:58:28 +02:00
Gavin King 8b86cb1cdf add sidebar discussing Envers to Introduction 2023-06-16 12:29:40 +02:00
Gavin King 8761d6abb7 very minor "you" to "we" 2023-06-16 08:00:43 +02:00
Gavin King c937ac6f9d mention upsert() in the doc 2023-06-16 07:56:22 +02:00
Gavin King 7cf4fd0626
update the QuickStart guide (#6807)
* update the code examples in the quickstart

* update the quickstart document

* slightly restructure the quickstart document
2023-06-15 23:52:49 +02:00
Gavin King 13dcc0721e add a TIP and whitespace in some code fragments 2023-06-14 13:31:18 +02:00
Gavin King 70d8b8b10d fix section title 2023-06-14 01:24:28 +02:00
Gavin King 9c4dc02b96 fix up flow of section on join fetching
fix a link
2023-06-14 01:18:33 +02:00
Gavin 95d3dfb85b more use of typesafe metamodel gen refs 2023-06-13 22:50:49 +02:00
Gavin fbb9df37bf mention alternative APIs in doc 2023-06-13 22:50:49 +02:00
Gavin 781b19d136 document new features for typesafety 2023-06-13 22:50:49 +02:00
Gavin 2e5a2143fb refs to companion docs in preface 2023-06-12 13:28:28 +02:00
Gavin 0f8a7f83bd minor improvs to section on join fetching, and a nice TIP 2023-06-12 13:27:01 +02:00
Gavin 069a28970b fix ambiguity in wording 2023-06-12 12:08:05 +02:00
Gavin 4317215ee1 nice tip and segue into caching 2023-06-11 15:01:01 +02:00