927 Commits

Author SHA1 Message Date
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 446908f643a301a78aa6b20f7eb4cf456ffcb69e.
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