Commit Graph

1251 Commits

Author SHA1 Message Date
Gavin 8ddbb033cd document EntityGraphs 2023-05-19 15:48:53 +02:00
Gavin 56ffbc104c document @DialectOverride 2023-05-19 12:36:25 +02:00
Gavin 79d2e208a6 explain the usefulness of java.sql.Xlob 2023-05-19 11:26:47 +02:00
Gavin f0a17e98b9 doc new feature Steve just added 2023-05-19 10:19:46 +02:00
Gavin e4b31c192e add new section about bytecode enhancer to intro 2023-05-19 00:14:01 +02:00
Gavin 172b1c4d39 minor clarifications to named queries section 2023-05-18 22:11:57 +02:00
Gavin 03e6c74737 first draft of "general advice" section 2023-05-18 15:02:45 +02:00
Gavin 84a1f22799 warnings about pc lifecycle in doc 2023-05-18 15:02:45 +02:00
Gavin 96a291058b fix a diagram and add alt text 2023-05-18 12:59:11 +02:00
Gavin fbade45e7a add discrete headings to section on compositional basic types 2023-05-18 12:09:08 +02:00
Gavin 15be098de7 fix two more doc issues for Steve 2023-05-18 11:47:13 +02:00
Gavin 75e387e81b three clarifications from Steve 2023-05-18 11:26:34 +02:00
Gavin 15422ea13b improve section on versions 2023-05-18 11:26:34 +02:00
Gavin bb1f5bf8e3 move custom id generators to Advanced + expand it
fix an ambiguity around "natural id" for Steve
2023-05-18 11:26:33 +02:00
Gavin 787ba8532d add new section on @Any to new doc
stolen str8 from the javadoc
2023-05-17 21:44:25 +02:00
Gavin 2e921f7968 minor improvement to text 2023-05-17 21:22:44 +02:00
Gavin f800c3dbfc move sidebar and make it less verbose
so text flows much better in PDF
2023-05-17 21:18:18 +02:00
Gavin e4b14b9460 improve a bit of flow by splitting a section 2023-05-17 21:06:47 +02:00
Gavin d9a1980ee0 fix confusing/wrong para spotted by Steve 2023-05-17 21:01:04 +02:00
Gavin 23de8a5e5d mention dynamic models and Envers 2023-05-17 20:56:42 +02:00
Gavin eb21b1e052 remove unnecessary FUD against enhancer 2023-05-17 20:56:26 +02:00
Gavin 0d014be034 easier links to user guide
as suggested by Steve
2023-05-17 20:14:44 +02:00
Gavin da03293cef doc Filters 2023-05-17 18:15:04 +02:00
Gavin 491c02f935 some more tips 2023-05-17 18:15:04 +02:00
Gavin 7372d6dc08 intro doc for CRUD SQL and @Generated 2023-05-17 12:57:22 +02:00
Gavin 2d833133b6 intro doc for Hibernate Spatial 2023-05-17 11:34:01 +02:00
Gavin a498e4d501 doc multi-tenancy and naming strategies 2023-05-17 02:08:09 +02:00
Gavin e4539d9b44 quit using abbreviations
don't know quite what came over me...
2023-05-16 22:52:28 +02:00
Gavin King 6078e4792d more work on the preface to new doc 2023-05-16 22:29:21 +02:00
Gavin 8298a27bf9 add some more marketing I mean information to doc 2023-05-16 22:17:17 +02:00
Gavin f26b52c0c6 give the document title some more room to breathe 2023-05-16 20:39:24 +02:00
Gavin e2e834c05f split out a separate file for the Introduction of the Introduction 2023-05-16 20:27:19 +02:00
Gavin 362922512a use Noto Serif consistently in documentation
the combination of a serif body font with
sans serif headings just wasn't working for me
2023-05-16 20:16:38 +02:00
Gavin 03352d4857 customize the css for rouge highlighter 2023-05-16 20:16:38 +02:00
Gavin 2276e2049d 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-05-16 20:16:38 +02:00
Gavin bdc5d2fc60 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-05-16 17:24:48 +02:00
Gavin 8a1938d1e2 add a diagram of entity lifecycle to new doc 2023-05-16 14:15:49 +02:00
Gavin f080a724a8 fix fonts and formatting of tables in pdf 2023-05-16 13:47:17 +02:00
Gavin 9ae78dd178 mis minor fixes to doc 2023-05-16 01:54:11 +02:00
Gavin 289a43c5b5 decent-looking pdf output 2023-05-15 23:24:37 +02:00
Gavin 47915cfe5f add a summary section to the doc 2023-05-15 16:50:05 +02:00
Gavin 43fd8a7ced note about embeddable types and polymorphism 2023-05-15 13:28:52 +02:00
Gavin c35b229ba2 add a very important admonition to docs 2023-05-15 13:14:14 +02:00
Gavin 3368c0c3ea using infinispan + improve section on cache config 2023-05-15 13:04:29 +02:00
Gavin 9aa6441212 document query cache 2023-05-15 10:56:18 +02:00
Gavin 32e13654c6 improve the list of optional deps 2023-05-15 00:38:31 +02:00
Gavin a4d9c85ba3 discuss mapping embeddables to UDTs or JSON 2023-05-15 00:27:06 +02:00
Gavin c76a36a1f2 add a diagram 2023-05-14 17:50:51 +02:00
Gavin 864d7ed39e fix typo 2023-05-14 13:03:22 +02:00
Gavin f84c533a6f fix section on getSingleResultOrNull() 2023-05-14 12:48:48 +02:00
Gavin 31574081b8 add some additional material to doc 2023-05-14 12:36:17 +02:00
Gavin bf580b9e72 add some words 2023-05-14 05:08:11 +02:00
Gavin 941fd14874 Blob, Clob 2023-05-13 21:08:47 +02:00
Gavin cc43b1fd1f add rant 2023-05-13 21:08:47 +02:00
Gavin c2fe18796f short section on named queries 2023-05-13 21:08:47 +02:00
Gavin 032fc0753f short section on named queries 2023-05-13 21:08:47 +02:00
Gavin f424a4b2f2 improve discussion of FlushModes and CacheModes 2023-05-13 21:08:47 +02:00
Gavin 99ba5cba1e improve section on not null 2023-05-13 21:08:47 +02:00
Gavin 12a380c6ea use Validator for @NotNull 2023-05-13 21:08:47 +02:00
Gavin a4392fdf2f calling jdbc 2023-05-13 21:08:47 +02:00
Gavin 5fd441df70 improve discussion of foreign key mappings 2023-05-13 21:08:47 +02:00
Gavin bb0acd2956 minor fixes 2023-05-13 21:08:47 +02:00
Gavin 53fb19e170 hello JPA world 2023-05-13 21:08:47 +02:00
Gavin b2509bbab6 hello world 2023-05-13 21:08:47 +02:00
Gavin fa25afad0f add a couple of links 2023-05-13 21:08:47 +02:00
Gavin f602b65b4f limits, pagination, and flush modes 2023-05-13 21:08:47 +02:00
Gavin d182331cc4 more presentation cleanups 2023-05-13 21:08:47 +02:00
Gavin 95b4829e08 more presentation cleanups 2023-05-13 21:08:47 +02:00
Gavin ccca560a91 get rid of useless titles on admonitions
failed experiment
2023-05-13 21:08:47 +02:00
Gavin 6369f29f1a get rid of useless titles on admonitions
failed experiment
2023-05-13 21:08:47 +02:00
Gavin 843cc499d1 clean up more admonitions 2023-05-13 21:08:47 +02:00
Gavin 259d86a4a2 discover sidebars 2023-05-13 21:08:47 +02:00
Gavin 48e5cfbf28 segues 2023-05-13 21:08:47 +02:00
Gavin 24334d1dff finish off the section on session operations 2023-05-13 21:08:47 +02:00
Gavin c2c7d4166b more explanation cribbed from my jdoc 2023-05-13 21:08:47 +02:00
Gavin b7a8f4940e pool configuration 2023-05-13 21:08:47 +02:00
Gavin 7b0e473358 more about natural ids 2023-05-13 21:08:47 +02:00
Gavin d14f3f011a native SQL queries and placeholders 2023-05-13 21:08:47 +02:00
Gavin 18e88b7358 executing queries 2023-05-13 21:08:47 +02:00
Gavin 5881da56c8 add diagram 2023-05-13 21:08:47 +02:00
Gavin 71d8002c1b add rant about repositories 2023-05-13 21:08:47 +02:00
Gavin 5c24af1ed6 reuse the query language chapter by reference 2023-05-13 21:08:47 +02:00
Gavin c6b63693c6 start on queries 2023-05-13 21:08:47 +02:00
Gavin 02c179d07f flushing, flush modes, and cache modes 2023-05-13 21:08:47 +02:00
Gavin 05f4ac6483 shill for HR 2023-05-13 21:08:47 +02:00
Gavin 85a156fd99 cannibalize some information from javadoc 2023-05-13 21:08:47 +02:00
Gavin f8fd02d5f9 sq 2023-05-13 21:08:47 +02:00
Gavin db4c0d02ec discuss pesistence contexts 2023-05-13 21:08:47 +02:00
Gavin bc85a250ef compile introduction to PDF 2023-05-13 21:08:47 +02:00
Gavin 5747725e02 cannibalize good content from HR docs 2023-05-13 21:08:47 +02:00
Gavin 7fd70a0284 mention constraints which Hibernate doesn't actually create due to bug 2023-05-13 21:08:47 +02:00
Gavin 1d3f4f47f1 diagram of associations 2023-05-13 21:08:47 +02:00
Gavin 3e187ad82a association table mappings 2023-05-13 21:08:47 +02:00
Gavin 6edefe6f4d column lengths and LOBs 2023-05-13 21:08:47 +02:00
Gavin e1160fec91 more about table mappings 2023-05-13 21:08:47 +02:00
Gavin 189951db10 join column mappings 2023-05-13 21:08:47 +02:00
Gavin f9e9c9db86 mapping tables and columns 2023-05-13 21:08:47 +02:00
Gavin 77a48de89c more impressive converter example 2023-05-13 21:08:47 +02:00
Gavin 16a1322974 more on inheritance 2023-05-13 21:08:47 +02:00
Gavin 25d341f297 start on inheritance mapping 2023-05-13 21:08:47 +02:00
Gavin eaa12db032 missed one 2023-05-13 21:08:47 +02:00
Gavin 349ecee462 mapped superclass, version, and summary 2023-05-13 21:08:47 +02:00
Gavin 7b5f66c292 @ElementCollection mappings, etc 2023-05-13 21:08:47 +02:00
Gavin fad5d6ee5b enum and array mappings 2023-05-13 21:08:47 +02:00
Gavin 7619313d2f many to many 2023-05-13 21:08:47 +02:00
Gavin 33a3af7abc one to one 2023-05-13 21:08:47 +02:00
Gavin f012afe95f many to one 2023-05-13 21:08:47 +02:00
Gavin d9fae9454c improve converters discussion 2023-05-13 21:08:47 +02:00
Gavin cf8aa0b02a add section on embeddables + and define "persistent identity" 2023-05-13 21:08:47 +02:00
Gavin 5a036069fb much more about basic types 2023-05-13 21:08:47 +02:00
Gavin 1f5a8c0f1b make start on basic types 2023-05-13 21:08:47 +02:00
Gavin 7a28b3caed finish section on ids 2023-05-13 21:08:47 +02:00
Gavin 50373633d6 make a start on Entities chapter 2023-05-13 21:08:47 +02:00
Gavin 9a726936e7 revise what I have so far 2023-05-13 21:08:47 +02:00
Gavin 01dcf0687d more on XxxxNamingStrategy 2023-05-13 21:08:47 +02:00
Gavin deb19d02d0 copy configuration section from HR intro 2023-05-13 21:08:47 +02:00
Gavin 42819dd6f9 add history of Hibernate 2023-05-13 21:08:47 +02:00
Gavin King 46ac4c07cf initial blurbs for Introduction document 2023-05-13 21:08:47 +02:00
Andrea Boriero cd0504ceda Add to documentation drop-down selector links to 6.0 and 6.1 documentation pages 2023-05-02 09:16:08 +02:00
Karel Maesen 174a9a7005 HHH-15160 - Properly validate the arguments in the distance operators. 2023-04-28 13:50:36 +02:00
Karel Maesen b46bc13813 HHH-15160 - Adds the Postgis distance operators 2023-04-28 13:50:36 +02:00
Marco Belladelli a9080f5f7d HHH-16392 Fix where clause in collection cleanup subqueries 2023-04-28 10:22:26 +02:00
Gavin 0674300d87 fix outdated section of user guide relating to Dialects 2023-04-18 18:01:13 +02:00
Jan Schatteman 81d1d95e4c 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:13 +02:00
Gavin 511399c152 update the docs to reflect the new @SQL annotations 2023-04-09 19:32:59 +02:00
Andrea Boriero 570ccae476 HHH-16097 Move all tests from documentation into hibernate-core 2023-03-24 07:43:13 -05:00
Christian Beikov e632981e4b HHH-16333 Get rid of special Character[] and Byte[] handling 2023-03-22 17:27:26 +01:00
Christian Beikov 39f4fdda5e HHH-16316 Move version specific dialects of unsupported versions to hibernate-community-dialects 2023-03-17 10:12:34 +01:00
Yoann Rodière d09640fe36 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:47 +01:00
Yoann Rodière fa53e6da98 HHH-16302 Document all TimeZoneStorageType values in reference documentation 2023-03-15 15:36:47 +01:00
Yoann Rodière cc8f1f1020 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:05:51 +01:00
Florian Hof cc01f2da3f 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:21 +01:00
Christian Beikov a32d741bbc HHH-15664 Fix array section in documentation 2023-03-14 12:17:56 +01:00
Jan Schatteman 02b7c5afb5 Add a note w/ respect to native queries and inheritance
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-03-03 09:46:17 +01:00
Christian Beikov 1ff682438d HHH-16179 Session.find should not apply filters 2023-03-02 20:38:18 +01:00
Christian Beikov f5741e9b7e Revert "HHH-14772: Fix filter direct fetching documentation"
This reverts commit 446908f643.
2023-03-02 20:38:18 +01:00
marko-bekhta 5d61b03b20 HHH-16217 Use only rendered Javadocs for collecting configuration properties 2023-03-01 13:26:49 -06:00
Marco Belladelli b16ad226ba HHH-16185 Custom trunc/truncate implementation that handles both numeric and datetimes 2023-02-27 17:01:45 +01:00
Jan Schatteman 0d729feb6a Fix broken doc link in native.adoc
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-02-22 21:10:32 +01:00
Gavin King f3833e71a9 HHH-16174 support for extract(epoch from ...) in HQL 2023-02-13 15:40:24 +01:00
Steve Ebersole 973434c8f1 HHH-16148 - Introduce Immutability (MutabilityPlan) for use with @Mutability
HHH-16141 - Support @Mutability and @Immutable on UserType
HHH-16147 - Support @Mutability and @Immutable on AttributeConverter
HHH-16146 - Improve User Guide documentation for (im)mutability
2023-02-10 08:38:40 -06:00
Christian Beikov 2de37ed5e3 HHH-16143 Documentation for composite aggregates 2023-02-09 10:54:19 +01:00
Christian Beikov 0b4b52b08a HHH-16152 Documentation for @PartitionKey 2023-02-08 17:49:44 +01:00
Steve Ebersole fd3670bbeb Unify example includes in terms of well-defined asciidoc attributes
preparation step for moving tests out of `documentation` and into the proper projects (core, envers and spatial)
2023-01-27 17:25:22 -06:00
marko-bekhta 8fa8b23d63 Add tasks to process sources and collect config properties 2023-01-26 00:43:38 -06:00
Gavin 6ca9643c72 HHH-16035 document Duration -> NUMERIC mapping 2023-01-13 16:34:46 +01:00
Jan Schatteman 74689f26a5 Get rid of a bunch of deprecated api usages
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-01-06 14:02:43 +01:00
Steve Ebersole d7201815d5 HHH-15977 - Deprecate @Persister 2023-01-04 13:36:04 -06:00
Akshit Agarwal 446908f643 HHH-14772: Fix filter direct fetching documentation 2023-01-04 10:00:27 +01:00
Steve Ebersole 263768d5c5 HHH-15930 - Support scalar resultClass in @NamedNativeQuery 2022-12-22 15:48:37 -06:00
Gavin 023e73cb46 promote trunc() / truncate() to the list of standard HQL functions
also support the single-argument form of round() for consistency
2022-12-21 14:25:35 +01:00
Gavin 3ad3c5a509 change default event timing for @Generated to event = INSERT
- this makes sense if @Generated con now be used on @Id properties
- but it's also convenient with @ColumnDefault
2022-12-20 01:38:55 +01:00
Marco Belladelli caaaa71ffd HHH-15550 New global and persistent temporary `create_tables` params 2022-12-16 08:25:41 +01:00
Gavin 7f72696fff HHH-15788 deprecate GenerationTime since it is a dupe of GenerationTiming
...and it was not even being consistently used in its own package!

(@CurrentTimestamp was already using GenerationTiming.)

What a mess.
2022-12-01 00:02:18 +01:00
Gavin 366a89ae71 reimplement @Source in an elegant way using the ValueGeneration machinery
... and finally delete two of my least-favorite classes!
2022-11-28 22:49:57 +01:00
Gavin 993aae6095 HHH-15774 @CurrentTimestamp takes over from @Source
... and make value generation work better with version properties.
2022-11-28 22:49:57 +01:00
Jan Schatteman 07274cd2ce HHH-15715 - Fix broken links in docs
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-11-28 18:03:26 +01:00
Marco Belladelli f38dd28043 HHH-15760 mass replace self-closing tags in javadoc 2022-11-26 09:49:56 +01:00
Gavin 5b5721f64b HHH-15739 deprecate @LazyToOne and @LazyCollection
and add some docs and cleanups
2022-11-25 02:42:58 +01:00
Sanne Grinovero d648adfd59 HHH-15692 Remove references to hibernate.query.factory_class config property 2022-11-17 13:39:56 +00:00
Christian Beikov 7a14e5c07f HHH-15631 Enable reflection optimizer by default Christian Beikov 2022-11-10 16:42:17 +01:00
Gavin King f1a5314e70 remove a big scary warning from docs because situation has been fixed in 6 2022-11-10 14:03:51 +01:00
Christian Beikov 90a752a0ee HHH-15328 Add support for CTE WITH clause 2022-11-10 13:25:21 +01:00
Jan Schatteman 85836fbcf8 Correction to the native sql queries section
Correction of broken link in Schema.adoc

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-11-08 17:21:57 +01:00
Christian Beikov 0b733d4ba2 HHH-15641 Enable inlineDirtyChecking and lazyLoading for enhancement by default and deprecate the setting 2022-11-07 09:19:26 +01:00
Gavin King aef9ab2425 HHH-15570 allow @SqlInsert, @SqlUpdate, @SqlDelete for secondary tables 2022-11-04 17:51:00 +01:00
Andrea Boriero 20183269ad HHH-14544 Document Ehcache Performance degradation when the default cache is used 2022-10-27 17:08:57 +02:00
Gavin King 8f23e16a35 explain wtf 'join lateral' means
and that it's the same thing as 'cross apply'
2022-10-19 13:59:04 +02:00
Gavin King 4453af984b minor improvement to table in doc 2022-10-09 11:45:04 +02:00
Gavin King f324204514 HHH-15589 document var_xxx() and stddev_xxx() 2022-10-08 22:20:03 +02:00
Gavin King 477f1e7af6 HHH-15588 promote sinh(), cosh(), and tanh() 2022-10-08 18:58:42 +02:00
Gavin King 6ea6359638 add a couple of crosslinks to HQL chapter of doc 2022-10-08 14:09:10 +02:00
Gavin King 4451611311 HHH-15518 bless degrees() and radians() as standard
- add a test
- emulate them on HANA and Oracle
2022-10-06 23:20:02 +02:00
Gavin King 6de92c4f90 document window functions in HQL
thanks to @beikov who collected + wrote up most of the information here
2022-10-06 18:03:58 +02:00
Gavin King be4934d17d reorg the documentation of HQL functions 2022-10-06 14:37:46 +02:00
Gavin King f70d09175a update the HQL chapter to acknowledge changes in JPA 3.1 2022-10-05 17:12:52 +02:00
Gavin King a7bb19a2ea clarify semantics of query with no 'select' in documentation 2022-10-05 14:05:53 +02:00
Gavin King 3ddfa3f47c HHH-15516 add two-arg form of log() to HQL 2022-09-16 13:21:44 +02:00
Gavin King 1b5935e66d HHH-15515 make pi a portable HQL function 2022-09-16 13:21:44 +02:00
Jan Schatteman 3dec1ca4dc HHH-15447 - Remove references to deprecated dialects
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-12 16:05:00 +02:00
Andrea Boriero 6507ac4f88 HHH-15455 User Guide Contains a reference to hibernate-ehcache, no longer supported 2022-08-22 15:28:43 +02:00
Yoann Rodière 8c33056d93 Fix dead link in documentation section "Java API for HQL and JPQL"
See the link "next chapter" at the beginning of this section:

https://docs.jboss.org/hibernate/orm/current/userguide/html_single/Hibernate_User_Guide.html#hql
2022-08-17 08:56:29 +02:00
Andrea Boriero e80fb85dae HHH-15420 Getting Started Guide Code does not build 2022-08-02 15:47:14 +02:00
Jan Schatteman d6f9b0b683 HHH-15401 - Update the topical guide
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-07-18 12:04:45 +01:00
Gavin King 6588d2db46 somewhat improve the documentation of StatelessSession
mention fetch()
2022-07-04 21:05:14 +02:00
Gavin King 7b8bf8b98e minor changes to HQL docs 2022-07-02 20:53:03 +02:00
Gavin King c3e0bc44ba document right/full join syntax 2022-07-02 20:50:13 +02:00
Gavin King bb29e3b060 document root joins 2022-06-24 17:14:13 +02:00
Gavin King 1eb75e22ef improve language and formatting in new HQL doc sections 2022-06-18 00:22:17 +02:00
Gavin King 58da5f24f9 "sub query" -> "subquery"
The word "sub" means "submarine", "submissive", or "substitute".
It's never an adjective.
2022-06-18 00:22:17 +02:00
Gavin King c163e1f2ed minor clarifications to HQL chapter 2022-06-17 18:14:30 +02:00
Gavin King c60fbc20ec documentation for hibernate.enable_lazy_load_no_trans 2022-06-10 17:00:29 +02:00
Christian Beikov 341267b133 HHH-3356 Support for normal and lateral subquery in from clause 2022-06-04 19:07:43 +02:00
Steve Ebersole a488e1a269 minor doc fix-up 2022-05-31 06:31:55 -05:00
Christian Beikov 497c09cddb HHH-10999 Remove configuration setting for configuring the JDBC type for arrays 2022-05-30 19:52:39 +02:00
Christian Beikov 45fc49314e HHH-10999 Add support for SQL array types mapped as Java arrays and collections 2022-05-30 19:52:39 +02:00
Nathan Xu 087b9d83ff HHH-15010 - update Java type list for '@CreationTimestamp' and '@UpdateTimestamp' in user guide 2022-05-23 15:37:18 +02:00
Christian Beikov a961ba45ac Add documentation for CompositeUserType 2022-05-05 09:18:19 +02:00
Christian Beikov c18e611ed6 HHH-15200 Add support for the SQLXML type 2022-05-05 09:07:37 +02:00
Nathan Xu 79adc41918 HHH-15224 update the module list in "getting started guide" 2022-05-03 10:20:40 +02:00
Nathan Xu 8af615386f HHH-15154 tweak verbiage in user guide on FetchMode.SUBSELECT 2022-05-03 10:15:06 +02:00
Hirosato Hano ef443b11ad HHH-15238 - Documentation: update JDBC logging configuration for 6.0 2022-05-02 13:10:04 +02:00
Nathan Xu 049a61479b HHH-15239 add 5.6 link in user guide after v6 became the new "current" 2022-05-02 09:13:56 +02:00
Jan Schatteman eab669f04e Some minor corrections to the docs
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-04-27 17:39:52 +02:00
Steve Ebersole 84cf4524ea HHH-15170 - Dedicated chapter for "Build Tool Support"
HHH-15171 - Add discussion of the Ant Plugin
2022-04-05 16:13:03 -05:00
Steve Ebersole 17bb4aa066 HHH-15170 - Dedicated chapter for "Build Tool Support"
HHH-15171 - Add discussion of the Ant Plugin
2022-04-05 15:25:34 -05:00
Steve Ebersole 9d3726e39d HHH-15170 - Dedicated chapter for "Build Tool Support" 2022-04-04 19:15:15 -05:00
Steve Ebersole 8d20c033b1 Address test failures in Gradle plugin module
- I was not able to figure this out, so simply disabled the TestKit related tests
- unfortunately, this means we have no automated functional testing of the plugin in the build
2022-03-31 07:49:28 -05:00
Christian Beikov 4334b46376 Update the bulk section of the batching documentation chapter for the new mutation strategies. Also implement the missing InlineUpdateHandler 2022-03-30 18:21:27 +02:00
Christian Beikov 111fe26ccc Fix some issues in the legacy type resolution documentation and raw types issues for UserType 2022-03-30 18:21:27 +02:00
Christian Beikov 29d457b16a Add documentation for the sql function 2022-03-30 18:21:27 +02:00
Christian Beikov 117e62195a Allow configuring the preferred JDBC type for Instant 2022-03-29 19:31:53 +02:00
Christian Beikov a9d1035806 Do some renaming for consistency and update documentation for new SQL types 2022-03-29 19:31:53 +02:00
Steve Ebersole 814c164c81 HHH-14672 - Allow specifying CHAR-based storage for UUID mappings 2022-03-29 16:53:35 +02:00
Christian Beikov b4a1b149fb Add support for specifying the SqlTypes field name when a type code is expected 2022-03-26 00:02:18 +01:00
Christian Beikov f2aa533dfc Switch back to numeric(21) with nanosecond resolution as fallback for mapping Duration to retain backwards compatibility 2022-03-25 20:20:28 +01:00
Christian Beikov 6801ff0f26 Introduce option to configure how to store java.time.Duration 2022-03-25 20:20:28 +01:00
Christian Beikov 4b48dd31f6 Get rid of MVCC JDBC connection parameter 2022-03-24 09:15:11 +01:00
Steve Ebersole 7a1d6f13dd doc fix-ups 2022-03-09 13:45:11 -06:00
Steve Ebersole b8c416744d not-found and fk() docs 2022-03-08 18:11:07 -06:00
Christian Beikov 964e72f536 Implement support for TimeZoneStorageType.COLUMN 2022-03-08 23:05:09 +01:00
Steve Ebersole d52ebfb41d HHH-15099 - Improve handling of associations marked with @NotFound
- Keep track of NotFoundAction into mapping model
- Fix tests with erroneous assertions about `@NotFound` associations allowed to be lazy
2022-03-05 08:59:31 -06:00
Christian Beikov 8183901cfe Add documentation notes about LIST semantics for mappedBy mappings 2022-03-02 17:02:53 +01:00
Christian Beikov 7aaeebe3af Switch back to bag by default for list semantics 2022-03-02 17:02:53 +01:00
Christian Beikov 5bfbc466eb Rename JPA copy compliance setting to `hibernate.criteria.copy_tree` 2022-02-10 18:24:23 +01:00
Gavin King 4d024fde8b update documentation to explain implicit collection joins 2022-02-09 22:05:21 +01:00
Gavin King 9ebac67737 change the new syntax for HQL collection-aggregates
this feels more consistent to me, and avoids introducing "new" syntax
2022-02-09 22:05:21 +01:00
Gavin King a25758f519 don't write @SuppressWarnings({ "unchecked" }) 2022-02-05 20:03:50 +01:00
Steve Ebersole 86cdf67016 HHH-15055 - Document SelectionQuery and MutationQuery 2022-02-05 10:50:13 -06:00
Gavin King f9392406b7 mention ordered set functions in documentation 2022-02-02 20:00:58 +01:00
Jan Schatteman d2b740ce5b
Jrenaat 6.0 deprecation removals (#4718)
* Removed deprecated org.hibernate.boot.jaxb.internal.stax.LocalSchema

Signed-off-by: Jan Schatteman <jschatte@redhat.com>

* Remove some deprecations from org.hibernate.engine.jdbc

Signed-off-by: Jan Schatteman <jschatte@redhat.com>

* Remove deprecated misspelled method in PostActionEventListener

Signed-off-by: Jan Schatteman <jschatte@redhat.com>

* Remove deprecated getSource() from AbstractPreDatabaseOperationEvent

Signed-off-by: Jan Schatteman <jschatte@redhat.com>

* Privatize deprecated buildOptimizer method in OptimizerFactory

Signed-off-by: Jan Schatteman <jschatte@redhat.com>

* Remove deprecated ServiceContributingIntegrator

Signed-off-by: Jan Schatteman <jschatte@redhat.com>

* Remove some more deprecated features

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-01-31 19:14:48 +01:00
Christian Beikov 0ad5796ffd Implement SQM copying for JPA Criteria API uses 2022-01-31 19:04:37 +01:00
Gavin King 6f3592ac25 Streams are no longer closed by terminal operations
This is no longer true, according to H6 migration guide, so undocument it
2022-01-30 18:35:08 +01:00
Gavin King 99e43537c1 fix a couple of minor errors in doc 2022-01-30 06:21:53 +01:00
Gavin King 1188c6e628 Use a table instead of a list 2022-01-29 20:01:20 +01:00
Gavin King b2a929a46e fix quoting 2022-01-29 19:42:59 +01:00
Gavin King 475d028981 remove @TimeZoneColumn for now because it's unimplemented
and there's no plan to implement it for 6.0

(we can put it back later if someone gets around to implementing it)
2022-01-28 16:01:58 +01:00
Gavin King e80892b77f fix typo 2022-01-27 20:31:05 +01:00
Steve Ebersole 3f879dc3db User Guide - collection mapping docs 2022-01-24 19:52:41 -06:00
Steve Ebersole a332d9191e Work on the User Guide section on @NotFound 2022-01-24 13:28:07 -06:00
Gavin King 766483e46d remove hibernate.query.omit_join_of_superclass_tables 2022-01-22 20:01:17 +01:00
Gavin King 2df71bb7ab remove some more deprecated stuff from Environment
and refresh its Javadoc
2022-01-21 16:52:09 +01:00
Gavin King 329b2fc9c4 remove hibernate.jdbc.use_streams_for_binary config property
this should be handled by the Dialects
2022-01-21 16:52:09 +01:00
Gavin King d385cc8825 remove hibernate.query.validate_parameters
in H6 we're going to always validate them
2022-01-20 23:20:16 +01:00
Gavin King a59bf70ccf remove hibernate.query.conventional_java_constants
this was apparently a sorta nasty bandaid to a performance problem in query compilation
and it caused problems for some users, breaking interpretation of enum values
2022-01-20 23:20:16 +01:00
Gavin King 846af92b54 remove JACC and JMX stuff from docs
it got left over somehow
2022-01-20 18:03:51 +01:00
Gavin King e7acffef15 remove some legacy config properties
the following are gone:

hibernate.ejb.resource_scanner
hibernate.query.substitutions
hibernate.jdbc.sql_exception_converter
hibernate.native_exception_handling_51_compliance
hibernate.legacy_limit_handler
hibernate.jdbc.wrap_result_sets
2022-01-20 18:03:51 +01:00
Steve Ebersole d2584730f3 Document @IdGeneratorType;
Some work to clean up User Guide sections on id-generators
2022-01-10 09:54:06 -06:00
Gavin King 64d25f16d1 make 'element' and 'value' synonyms in doc 2022-01-10 15:48:34 +01:00
Gavin King e6128551b3 document new collection aggregate function syntax
and fix some other problems I found in the examples
2022-01-10 15:48:34 +01:00