Commit Graph

1817 Commits

Author SHA1 Message Date
Gavin 23ed43f417 document @DialectOverride 2023-09-27 21:24:24 +02:00
Gavin 762cadec94 explain the usefulness of java.sql.Xlob 2023-09-27 21:24:24 +02:00
Gavin a8475e09a4 doc new feature Steve just added 2023-09-27 21:24:24 +02:00
Gavin 1f83862a90 add new section about bytecode enhancer to intro 2023-09-27 21:24:24 +02:00
Gavin b211e43852 minor clarifications to named queries section 2023-09-27 21:24:24 +02:00
Gavin cce8d0a65d first draft of "general advice" section 2023-09-27 21:24:24 +02:00
Gavin 43446d76a7 warnings about pc lifecycle in doc 2023-09-27 21:24:24 +02:00
Gavin edb0a27197 fix a diagram and add alt text 2023-09-27 21:24:24 +02:00
Gavin e846fd88d9 add discrete headings to section on compositional basic types 2023-09-27 21:24:24 +02:00
Gavin 1afafe95c4 fix two more doc issues for Steve 2023-09-27 21:24:24 +02:00
Gavin b4277119a0 three clarifications from Steve 2023-09-27 21:24:24 +02:00
Gavin e92919c9d1 improve section on versions 2023-09-27 21:24:24 +02:00
Gavin a41805d3c2 move custom id generators to Advanced + expand it
fix an ambiguity around "natural id" for Steve
2023-09-27 21:24:24 +02:00
Gavin 674aff1161 add new section on @Any to new doc
stolen str8 from the javadoc
2023-09-27 21:24:24 +02:00
Gavin f694a71dda minor improvement to text 2023-09-27 21:24:24 +02:00
Gavin 4dabbeb074 move sidebar and make it less verbose
so text flows much better in PDF
2023-09-27 21:24:24 +02:00
Gavin 4d6d35f132 improve a bit of flow by splitting a section 2023-09-27 21:24:24 +02:00
Gavin 56591c6ff1 fix confusing/wrong para spotted by Steve 2023-09-27 21:24:24 +02:00
Gavin f1f6f1645a mention dynamic models and Envers 2023-09-27 21:24:24 +02:00
Gavin 240abb3566 remove unnecessary FUD against enhancer 2023-09-27 21:24:24 +02:00
Gavin de32b73e4e easier links to user guide
as suggested by Steve
2023-09-27 21:24:24 +02:00
Gavin 66c788797c doc Filters 2023-09-27 21:24:24 +02:00
Gavin f357f41d94 some more tips 2023-09-27 21:24:24 +02:00
Gavin ecaa3f0d62 intro doc for CRUD SQL and @Generated 2023-09-27 21:24:24 +02:00
Gavin ccfb51c500 intro doc for Hibernate Spatial 2023-09-27 21:24:24 +02:00
Gavin 93e25a4b92 doc multi-tenancy and naming strategies 2023-09-27 21:24:24 +02:00
Gavin 3d489f3dcf quit using abbreviations
don't know quite what came over me...
2023-09-27 21:24:24 +02:00
Gavin King a066838955 more work on the preface to new doc 2023-09-27 21:24:24 +02:00
Gavin f40f4a3179 add some more marketing I mean information to doc 2023-09-27 21:24:24 +02:00
Gavin ab2b411dff give the document title some more room to breathe 2023-09-27 21:24:24 +02:00
Gavin 84663edb25 split out a separate file for the Introduction of the Introduction 2023-09-27 21:24:24 +02:00
Gavin 7d080fa2f3 use Noto Serif consistently in documentation
the combination of a serif body font with
sans serif headings just wasn't working for me
2023-09-27 21:24:24 +02:00
Gavin cf88699800 integrate rouge source highlighter into adoc build
this is needed because prettify does not seem to
work for the PDF output (I have not dug deep)
2023-09-27 21:24:24 +02:00
Gavin c74cb1399b push the fonts used for rendering the Introduction to Hibernate 6 PDF
I don't see any way to handle them as a regular dependency in Gradle

Not very happy about doing this but ¯\_(ツ)_/¯
2023-09-27 21:24:24 +02:00
Gavin 23070b2c8b add a diagram of entity lifecycle to new doc 2023-09-27 21:24:24 +02:00
Gavin 0cb64f6f42 fix fonts and formatting of tables in pdf 2023-09-27 21:24:24 +02:00
Gavin 24dd953569 mis minor fixes to doc 2023-09-27 21:24:24 +02:00
Gavin e2a430b840 decent-looking pdf output 2023-09-27 21:24:24 +02:00
Gavin 8dc9593dd8 add a summary section to the doc 2023-09-27 21:24:24 +02:00
Gavin 61d6b1ce4a note about embeddable types and polymorphism 2023-09-27 21:24:24 +02:00
Gavin 2998e97d41 add a very important admonition to docs 2023-09-27 21:24:24 +02:00
Gavin 42fcf306b9 using infinispan + improve section on cache config 2023-09-27 21:24:24 +02:00
Gavin c100674f32 document query cache 2023-09-27 21:24:24 +02:00
Gavin b23b8f983d improve the list of optional deps 2023-09-27 21:24:24 +02:00
Gavin 7cabbc0724 discuss mapping embeddables to UDTs or JSON 2023-09-27 21:24:24 +02:00
Gavin 86e40f619e add a diagram 2023-09-27 21:24:24 +02:00
Gavin 37e8218227 fix typo 2023-09-27 21:24:24 +02:00
Gavin 1c2c14ff70 fix section on getSingleResultOrNull() 2023-09-27 21:24:24 +02:00
Gavin 49af3f957e add some additional material to doc 2023-09-27 21:24:24 +02:00
Gavin 089d71c619 add some words 2023-09-27 21:24:24 +02:00
Gavin b298a2a185 Blob, Clob 2023-09-27 21:24:24 +02:00
Gavin f3fa777626 add rant 2023-09-27 21:24:24 +02:00
Gavin 65a500182f short section on named queries 2023-09-27 21:24:24 +02:00
Gavin 1e22d1bb3d short section on named queries 2023-09-27 21:24:24 +02:00
Gavin ec2cab572d improve discussion of FlushModes and CacheModes 2023-09-27 21:24:24 +02:00
Gavin dc99beebc0 improve section on not null 2023-09-27 21:24:24 +02:00
Gavin 7114aed4ed use Validator for @NotNull 2023-09-27 21:24:24 +02:00
Gavin 6d398db1fa calling jdbc 2023-09-27 21:24:24 +02:00
Gavin 8c2e83748a improve discussion of foreign key mappings 2023-09-27 21:24:24 +02:00
Gavin 2c141fd89b minor fixes 2023-09-27 21:24:24 +02:00
Gavin 1af21ded31 hello JPA world 2023-09-27 21:24:24 +02:00
Gavin ecb7846565 hello world 2023-09-27 21:24:24 +02:00
Gavin e0870fe3fe add a couple of links 2023-09-27 21:24:24 +02:00
Gavin 83c192caeb limits, pagination, and flush modes 2023-09-27 21:24:24 +02:00
Gavin 5eb11e8081 more presentation cleanups 2023-09-27 21:24:24 +02:00
Gavin 96b503454e more presentation cleanups 2023-09-27 21:24:24 +02:00
Gavin 59b6f702e5 get rid of useless titles on admonitions
failed experiment
2023-09-27 21:24:24 +02:00
Gavin 1e0fd15d13 get rid of useless titles on admonitions
failed experiment
2023-09-27 21:24:24 +02:00
Gavin ab688d3016 clean up more admonitions 2023-09-27 21:24:24 +02:00
Gavin d5f663b248 discover sidebars 2023-09-27 21:24:24 +02:00
Gavin 44e6d753f8 segues 2023-09-27 21:24:24 +02:00
Gavin 6201d0620a finish off the section on session operations 2023-09-27 21:24:24 +02:00
Gavin 99d4724a99 more explanation cribbed from my jdoc 2023-09-27 21:24:24 +02:00
Gavin 71d8b1afc5 pool configuration 2023-09-27 21:24:24 +02:00
Gavin 0312070e2c more about natural ids 2023-09-27 21:24:24 +02:00
Gavin e21ee9da13 native SQL queries and placeholders 2023-09-27 21:24:24 +02:00
Gavin c629aeacf9 executing queries 2023-09-27 21:24:24 +02:00
Gavin 1b0ae599f4 add diagram 2023-09-27 21:24:24 +02:00
Gavin 570be71c32 add rant about repositories 2023-09-27 21:24:24 +02:00
Gavin ef481fb2ab reuse the query language chapter by reference 2023-09-27 21:24:24 +02:00
Gavin 5c0434a7e0 start on queries 2023-09-27 21:24:24 +02:00
Gavin 40caeed1f2 flushing, flush modes, and cache modes 2023-09-27 21:24:24 +02:00
Gavin 085277be50 shill for HR 2023-09-27 21:24:24 +02:00
Gavin e1cdd99135 cannibalize some information from javadoc 2023-09-27 21:24:24 +02:00
Gavin ed04cae295 sq 2023-09-27 21:24:24 +02:00
Gavin c1b65ed779 discuss pesistence contexts 2023-09-27 21:24:24 +02:00
Gavin 5b298c19a0 compile introduction to PDF 2023-09-27 21:24:24 +02:00
Gavin d3f6fb5039 fix build 2023-09-27 21:24:24 +02:00
Gavin 9036184cc5 cannibalize good content from HR docs 2023-09-27 21:24:24 +02:00
Gavin 02b551464d mention constraints which Hibernate doesn't actually create due to bug 2023-09-27 21:24:24 +02:00
Gavin faa8e2bb9b diagram of associations 2023-09-27 21:24:24 +02:00
Gavin 218a58ebbc association table mappings 2023-09-27 21:24:24 +02:00
Gavin 0ed12f6869 column lengths and LOBs 2023-09-27 21:24:24 +02:00
Gavin a92f29f802 more about table mappings 2023-09-27 21:24:24 +02:00
Gavin 7e9081b448 join column mappings 2023-09-27 21:24:24 +02:00
Gavin da2542a01c mapping tables and columns 2023-09-27 21:24:24 +02:00
Gavin e59ba209da more impressive converter example 2023-09-27 21:24:24 +02:00
Gavin 4697630eb9 more on inheritance 2023-09-27 21:24:24 +02:00
Gavin 815e1d7ae3 start on inheritance mapping 2023-09-27 21:24:24 +02:00
Gavin d8001fbf7a missed one 2023-09-27 21:24:24 +02:00
Gavin 0ce1467bd9 mapped superclass, version, and summary 2023-09-27 21:24:24 +02:00
Gavin 62306d67e3 @ElementCollection mappings, etc 2023-09-27 21:24:24 +02:00
Gavin 09f7a363a9 enum and array mappings 2023-09-27 21:24:24 +02:00
Gavin 1c8adcde96 many to many 2023-09-27 21:24:24 +02:00
Gavin 51068f7931 one to one 2023-09-27 21:24:24 +02:00
Gavin e31ab80306 many to one 2023-09-27 21:24:24 +02:00
Gavin 74e7fa6f04 improve converters discussion 2023-09-27 21:24:24 +02:00
Gavin 13b7ebd2d6 add section on embeddables + and define "persistent identity" 2023-09-27 21:24:24 +02:00
Gavin 4726cafc42 much more about basic types 2023-09-27 21:24:24 +02:00
Gavin f66d5cd3d0 make start on basic types 2023-09-27 21:24:24 +02:00
Gavin e678018b6b finish section on ids 2023-09-27 21:24:24 +02:00
Gavin 2c2c061be7 make a start on Entities chapter 2023-09-27 21:24:24 +02:00
Gavin 8894e13414 revise what I have so far 2023-09-27 21:24:24 +02:00
Gavin 3c5ebc4a76 more on XxxxNamingStrategy 2023-09-27 21:24:24 +02:00
Gavin b77d5bd3b8 copy configuration section from HR intro 2023-09-27 21:24:24 +02:00
Gavin ce20e68c72 add history of Hibernate 2023-09-27 21:24:24 +02:00
Gavin King d5e40c97dd initial blurbs for Introduction document 2023-09-27 21:24:24 +02:00
Cedomir Igaly f34df04c11 HHH-16591 - See documentation 2.2.21 - "By default, Hibernate maps Duration to the NUMERIC SQL type." 2023-08-09 09:34:57 +02:00
marko-bekhta 2f16103708 HHH-16591 Update the docs to use `JdbcTypeCode` instead of `JdbcType` to override an SQL type for Duration 2023-08-09 09:34:57 +02:00
Andrea Boriero 9abb3b45de HHH-16820 updated userguide 2023-06-27 10:17:55 +02:00
Felix 34932f30a0 HHH-16652 fix the broken link: hql-string-functions 2023-05-22 13:43:13 +02:00
Andrea Boriero 64b4a94c88 Add to documentation drop-down selector links to 6.0 and 6.1 documentation pages 2023-05-02 09:21:18 +02:00
Karel Maesen 5483f403b1 HHH-15160 - Properly validate the arguments in the distance operators. 2023-04-28 13:51:42 +02:00
Karel Maesen 2a1aa73319 HHH-15160 - Adds the Postgis distance operators 2023-04-28 13:51:41 +02:00
Marco Belladelli 094f243413
HHH-16392 Fix where clause in collection cleanup subqueries 2023-04-28 10:11:43 +02:00
Steve Ebersole 506383a4ff Add a Dialect report
Also added
* H2Dialect#getMinimumSupportedVersion
* DerbyDialect#getMinimumSupportedVersion

(cherry picked from commit c6389efb1b)
2023-04-27 11:29:51 -05:00
Jan Schatteman e47f262f38 Add @EmbeddableInstantiator, @EmbeddableInstantiatorRegistration and @EmbeddableInstantiatorRegistrations to the annotations chapter of the user guide
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-04-13 23:58:32 +02:00
Steve Ebersole e93f44a7fd PublishMigrationGuide task 2023-04-01 09:36:48 -05:00
Andrea Boriero 5491bcd5d4 HHH-16097 Move all tests from documentation into hibernate-core 2023-03-24 07:59:56 -05:00
Christian Beikov e8a098ef1d HHH-16287 Consider hibernate.timezone.default_storage for OffsetTime typing and storage 2023-03-23 12:00:32 +01:00
Christian Beikov 4b1f56951b HHH-16333 Get rid of special Character[] and Byte[] handling 2023-03-22 17:27:48 +01:00
Christian Beikov a122641539 HHH-16316 Move version specific dialects of unsupported versions to hibernate-community-dialects 2023-03-17 10:12:59 +01:00
Steve Ebersole bab4be3d14 HHH-16132 - Dirty checking for collection-as-basic mappings 2023-03-16 12:28:08 -05:00
Yoann Rodière 20f4598cb2 HHH-16302 Clarify that the JDBC timezone is supposed to match the database timezone
See https://hibernate.zulipchat.com/#narrow/stream/132094-hibernate-orm-dev/topic/hibernate.2Etimezone.2Edefault_storage/near/341706032
2023-03-15 15:36:53 +01:00
Yoann Rodière 5b74011b7d HHH-16302 Document all TimeZoneStorageType values in reference documentation 2023-03-15 15:36:53 +01:00
Yoann Rodière b72d25ddbe
HHH-16310 Update reference documentation regarding multitenancy
* Remove mentions of 'hibernate.multiTenancy'. This setting no longer exists.
* Fix a few other inconsistencies.
2023-03-15 12:11:05 +01:00
Florian Hof 5faf479451 update maven dependency of hibernate-spatial
the new Maven group is org.hibernate.orm (and so referenced in Spring Boot 3)
2023-03-14 12:19:36 +01:00
Christian Beikov 713be8eba6 HHH-15664 Fix array section in documentation 2023-03-14 12:18:27 +01:00
Christian Beikov 18153d5f6b HHH-15802 - Fix some expression comparison type checks 2023-03-03 16:02:23 +01:00
Jan Schatteman 516d3eb405 Add a note w/ respect to native queries and inheritance
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-03-03 09:46:31 +01:00
Christian Beikov 6f5102ffd2 HHH-16182 Fix some tests for older databases and adapt assertion for boolean function 2023-03-03 09:39:39 +01:00
Christian Beikov 0b5e27d133 HHH-16179 Session.find should not apply filters 2023-03-02 20:38:38 +01:00
Steve Ebersole dbd979e0e8 HHH-16182 - Converted boolean values not always properly handled in predicates 2023-03-02 09:20:22 -06:00
Steve Ebersole e090480ea1 test cleanup 2023-03-01 17:21:52 -06:00
Steve Ebersole 4558b86bda HHH-16182 - Converted boolean values not always properly handled in predicates 2023-03-01 13:51:19 -06:00
Steve Ebersole 250b05f28d HHH-16182 - Converted boolean values not always properly handled in predicates 2023-03-01 13:51:19 -06:00
Steve Ebersole 0c20980be2 HHH-16182 - Converted boolean values not always properly handled in predicates 2023-03-01 13:51:18 -06:00
marko-bekhta 844a89a74c HHH-16217 Use only rendered Javadocs for collecting configuration properties 2023-03-01 13:27:34 -06:00
Marco Belladelli 546d145d88 HHH-16185 Custom trunc/truncate implementation that handles both numeric and datetimes 2023-02-27 17:02:30 +01:00
Jan Schatteman 88ed4fdb91 Fix broken doc link in native.adoc
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-02-23 16:49:42 +01:00