Jan Schatteman
974fe9e22d
HHH-15914 - Add jira tag to some tests
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-12-23 17:40:38 +01:00
Jan Schatteman
c45330023f
HHH-15914 - remove deprecated method calls and provide an example of Tuple.class usage
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-12-23 16:05:18 +01:00
Steve Ebersole
51a50bed43
Add a deprecated.txt report to published docs collecting union of `@Deprecated` and `@Remove`
2022-12-22 16:55:02 -06:00
Steve Ebersole
263768d5c5
HHH-15930 - Support scalar resultClass in @NamedNativeQuery
2022-12-22 15:48:37 -06:00
Christian Beikov
a094d4c5d5
HHH-15463 Adjust JdbcType based on DDL capacity for varchar/varbinary like types
2022-12-22 17:25:13 +01:00
Steve Ebersole
422b6a3947
HHH-15799 - API/internal split for org.hibernate.cfg package
2022-12-21 08:15:57 -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
Christian Beikov
7007bafe55
HHH-15872 Add ColumnOrderingStrategy SPI and handle record structs specially
2022-12-20 20:17:23 +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
Christian Beikov
bc36eb3eeb
HHH-15327 Support mapping aggregate embeddables as struct/json
2022-12-14 19:02:43 +01:00
Gavin
a7a455c39a
HHH-15834 add @TypeRegistration annotation
2022-12-07 13:36:15 +01:00
Gavin
ef4ed9936e
move timezone tests where they belong
2022-12-07 00:00:05 +01:00
Gavin
4fba6ac60d
add tests for [Zoned|Offset]DateTime handling with AvailableSettings.TIMEZONE_DEFAULT_STORAGE set
2022-12-07 00:00:05 +01:00
Mark Rotteveel
9290f8b754
HHH-15812 Firebird dialect improvements
2022-12-06 11:38:51 +01:00
Gavin
cb35e0e734
HHH-15797 better error messages
...
1. include the SQL in some SQLGrammarExceptions where it was missing
2. append the SQL to the error message in JDBCException
3. don't wrap HibernateException in PersistenceException b/c it is one already
2022-12-05 22:40:13 +01:00
Gavin
95aa852e15
HHH-15800 reverse previous work to standardizing on GenerationTiming
...
...and go in exact opposite direction to migrate to GenerationTime
2022-12-05 22:21:52 +01:00
Gavin
a4debae33a
HHH-15816 make @Immutable work at property level
2022-12-05 18:11:23 +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
Christian Beikov
2b8b33e694
Fix Oracle rowid and sybase value generation issues
2022-11-29 12:13:27 +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
Steve Ebersole
a9ac98b364
HHH-15393 - Improve write-paths to use mapping model
...
HHH-15723 - Fix foreign-key modeling
2022-11-28 14:25:40 -06:00
Jan Schatteman
4cce83a779
Disable the SpatialTest for now (fails on edb)
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-11-28 20:55:17 +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
Gavin
c9caf292e6
HHH-15770 javadoc and cleanup for @OnDelete, OnDeleteAction
2022-11-27 14:16:43 +01:00
Gavin
3ba90c004c
HHH-15762 nicer DDL for unique constraints
...
- prefer 'unique' in 'create table' except in migrations
- also ignore unique=true for PK column
- introduce AlterTableUniqueDelegate and CreateTableUniqueDelegate
- fix the tests / delete test that makes no sense now
- improve javadoc of UniqueDelegate
2022-11-26 13:40:40 +01:00
Marco Belladelli
f38dd28043
HHH-15760 mass replace self-closing tags in javadoc
2022-11-26 09:49:56 +01:00
Christian Beikov
276b7a6f95
HHH-15748 Use JSON DDL type on Oracle 21+ and BLOB on 12+
2022-11-25 10:11:12 +01:00
Gavin
5b5721f64b
HHH-15739 deprecate @LazyToOne and @LazyCollection
...
and add some docs and cleanups
2022-11-25 02:42:58 +01:00
Gavin
c51604c6b7
improve javadoc for annotations related to filters + discriminators
...
Also:
- deprecate a layer-breaking method of org.hibernate.Filter
(consistent with what we already did on SessionFactory)
- fix the incorrect @Target of @SqlFragmentAlias
- add some missing @since annotations
- add cross-links to DialectOverride
2022-11-18 14:12:22 +01:00
Christian Beikov
4914d14a43
HHH-15626 Move old databases to nightly pipeline and add some SQL Server 2022 features
2022-11-18 11:06:39 +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
Gavin King
90e6a8b698
fix whitespace in userguide test
2022-11-09 11:44:44 +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
Gavin King
f253d8f216
remove useless @JoinColumns annotation for mosts tests and examples
2022-10-29 02:09:00 +02: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
78c8a04486
add example of subquery join with 'on' to docs
2022-10-21 23:43:15 +02:00
Christian Beikov
940f15b63e
HHH-15528 Add Cockroach to Jenkins nightly test matrix and fix issues
2022-10-21 09:51:16 +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
f5a5990d03
try to make var_xxx() and sdtev_xxx() more portable
2022-10-08 21:27:43 +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