1598 Commits

Author SHA1 Message Date
Gavin King
b9a040effb switch to inconsolata for monospace font 2022-01-03 21:26:03 +01:00
Gavin King
b72e2620c6 remove a strange statement that was simply wrong from the docs 2022-01-03 21:25:50 +01:00
Gavin King
0e55930c75 use more standard whitespace in example code in docs 2022-01-03 21:25:16 +01:00
Gavin King
0f9faf85e5 minor improvements to the beginning part of HQL chapter 2022-01-03 19:39:14 +01:00
Gavin
b55ccabba1 slightly nicer css 2022-01-03 18:39:58 +01:00
Gavin
49d9155f4e do a much better job of explaining query language concepts
and add an example of a union query
2022-01-03 18:39:58 +01:00
Gavin
cf4d2d4338 undocument a fixed limitation 2022-01-03 17:09:18 +01:00
Gavin King
948eaf7210 more comments on 'fetch join'
- and improve a table
- and add BNF for limit/offset and order by
2022-01-02 18:56:07 +01:00
Gavin King
6c28a133dd enum + Java constant examples
+ minor fixes
2022-01-02 16:51:50 +01:00
Gavin King
72889fe861 add some missing functions to docs 2022-01-02 16:10:33 +01:00
Gavin King
c48be75d3b
add an examples with treat() (#4552)
and slightly reorg doc
2022-01-02 15:45:48 +01:00
Gavin King
5ae55d7bfb
redesign 'collate' and add tests
* and add tests and documentation for 'collate'
* much better and less-ambiguous syntax for collate(), consistent with cast() and treat()
* reimplement collate() using the function infrastructure
* implement collate() for HSQLDB

This feature was previously untested and at least partially broken, and was making a mess 
of the HQL grammar.
2022-01-02 13:39:33 +01:00
Gavin King
4509cad315 at least *mention* treat() 2022-01-02 03:33:08 +01:00
Gavin King
648dac628f minor fixes to docs 2022-01-02 03:33:08 +01:00
Gavin King
de7aaa88dc clean up sample BNFs 2022-01-01 23:52:27 +01:00
Gavin King
9edcf6b0c0 moar tables 2022-01-01 23:52:27 +01:00
Gavin King
cb787e87a8 mention OffsetDateTime in lterals 2022-01-01 23:52:27 +01:00
Gavin King
ec6540ea56 get rid of useless headings on sample code fragments 2022-01-01 23:52:27 +01:00
Gavin King
0966c7be1d more HQL doc rewriting
much better documentation for HQL statement types
rewrite section on predicates and logical operators
rewrite from/join section
stop shouting so much
document that H6 auto-removes non-distinct entity results
document limit/offset
document set operators and 'cross join'
slight reorg of Query API chapter, and new title
use "ordinal" instead of "positional" for parameters
2022-01-01 23:52:27 +01:00
Steve Ebersole
7599d3b2dd Re-write of Collections domain model section
preliminary work
2021-12-31 16:37:55 -06:00
Steve Ebersole
7c475c8ac0 migration-guide 2021-12-31 16:21:32 -06:00
Fabio Massimo Ercoli
f5fdb653a8 Remove not used examples from documentation 2021-12-31 11:46:10 -06:00
Gavin King
3f8a0b6776 HQL doc rewrite/restructure
- document new features of HQL (literals, functions, filter, rollup)
- rewrite parts of the section dealing with the Query API + execution
- split out a new chapter about the query language, and reorder sections
- remove material about deprecated/removed features
- get rid of use of java.sql.Timestamp from the code!
- make use of repeatable annotations in code examples
2021-12-31 18:35:14 +01:00
Steve Ebersole
9beab38716 Re-write of Collections domain model section
preliminary work
2021-12-31 11:32:44 -06:00
Steve Ebersole
4ea949d93d Re-write of Collections domain model section
preliminary work
2021-12-31 11:08:25 -06:00
Gavin King
5bcf691d2b mention @GeneratedColumn in the docs 2021-12-31 16:01:32 +01:00
Christian Beikov
1184a5963b Re-add AvailableSettings.JPA_METAMODEL_GENERATION and re-enable metamodel tests 2021-12-23 10:01:07 +01:00
Christian Beikov
29bfb799aa Fix some test issues with HANA and emulate derived table column naming on HANA 2021-12-21 18:59:08 +01:00
Chris Cranford
99c13e5965 HHH-11595 Introduce CollectionAuditTable support 2021-12-18 22:53:42 -05:00
Steve Ebersole
fe5a7466cf slightly expand the documentation for Boolean - minor fix-ups 2021-12-18 07:22:13 -06:00
Gavin King
7a81ec78ff slightly expand the documentation for Boolean 2021-12-18 07:22:13 -06:00
Gavin King
a2272be61c documentation surrounding @Lob and Length 2021-12-18 05:05:55 -06:00
Chris Cranford
b384b37f39 HHH-8051 Gracefully handle not-found to-one associations 2021-12-16 01:05:27 -05:00
Steve Ebersole
76c329f919 More work on `@AttributeBinderType 2021-12-09 12:54:20 -06:00
Steve Ebersole
1e33836632 to test pushing 2021-12-09 07:03:28 -06:00
Steve Ebersole
7a6cef5838 Miscellaneous
- Finished DialectVersion
- User Guide tidying
- User Guide section on AttributeBinder
2021-12-09 00:51:40 -06:00
Gavin King
365aa58254 add two new annotations to the list in Annotations.adoc 2021-12-08 08:44:09 -05:00
Gavin King
6f0676cf96 HHH-6054 add docs for @TenantId 2021-12-08 08:44:09 -05:00
gavin
b2e6965577 remove MultiTenancyStrategy
Use the existence of a MultiTenantConnectionProvider to infer that multitenancy is enabled.
2021-12-08 08:44:09 -05:00
Steve Ebersole
915da5228d HHH-14497 - Drop legacy id-generator settings;
HHH-14718 - Drop deprecated generator implementations
2021-12-07 11:12:44 -06:00
Andrea Boriero
07155b7993 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-12-06 17:56:17 +01:00
Neon Ngo
fa8b78d345 HHH-14956 Fix link to MetadataBuilderContributor javadocs
- Under Appendix > Configurations > Bootstrap properties
  - hibernate.metadata_builder_contributor
2021-12-06 16:33:09 +00:00
Steve Ebersole
ae25b651ca HHH-14885 - New composite user-type
HHH-14951 - Add @EmbeddableRepresentationStrategy

Prep work for `@EmbeddableRepresentationStrategy` - mostly move things from spi package to api, generally all marked `@Incubating`
2021-12-02 14:49:23 -06:00
Christian Beikov
47416b9e24 Fixup review comments 2021-12-02 13:17:53 +01:00
Steve Ebersole
5e0b98dd61 HHH-14928 - Document CDI integration 2021-12-01 22:11:56 -06:00
Steve Ebersole
9137b9e79a HHH-14885 - New composite user-type
`@EmbeddableInstantiatorRegistration`
2021-12-01 20:47:14 -06:00
Steve Ebersole
61d178ef1b HHH-14885 - New composite user-type
`@EmbeddableInstantiatorRegistration`
2021-12-01 18:16:29 -06:00
Steve Ebersole
924c2b29c3 HHH-14885 - New composite user-type
Working support for `@EmbeddableInstantiator` on either the embedded site or on the embeddable class.
2021-12-01 17:35:43 -06:00
Sanne Grinovero
334aeb1349 HHH-14946 Upgrading base requirements to Java 11 2021-12-01 17:34:28 +00:00
Chris Dennis
55db51894f HHH-14837 : Re-enable hibernate-jcache module. 2021-11-29 11:44:16 -05:00