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
Steve Ebersole
56bb7581a9
HHH-16182 - JPA derived query methods failing when boolean mapping using YesNoConverter
2023-02-15 08:19:48 -06:00
Gavin King
bb14d5b288
HHH-16174 support for extract(epoch from ...) in HQL
2023-02-13 16:52:49 +01:00
Steve Ebersole
15b24d6c14
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:46:39 -06:00
Christian Beikov
7a55e332ed
HHH-16143 Documentation for composite aggregates
2023-02-09 10:54:59 +01:00
Christian Beikov
b918909359
HHH-16152 Documentation for @PartitionKey
2023-02-08 17:50:28 +01:00
Steve Ebersole
606ae62499
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:27:42 -06:00
Christian Beikov
7564551f6e
HHH-15443 Allow JdbcType to wrap read and write expressions
2023-01-27 14:28:13 -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
Gavin
7444b26db4
HHH-15948 move org.hibernate.metamodel.model.convert to org.hibernate.type.descriptor.converter
2023-01-11 17:56:54 +01:00
Gavin
3ceb91d280
HHH-16000 Add @SQLSelect annotation as abbreviation for @NamedNativeQuery + @Loader
2023-01-07 15:02:42 +01:00
Gavin
bfdd7f648b
HHH-10557 fix @Loader applied to a collection
...
the issue here is we have no @CollectionResult for annotation-based result set mappings
2023-01-07 15:02:42 +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
Gavin
5fb04fb6f6
give UserType.replace() a sensible default impl that's essentially always correct
2023-01-06 12:47:48 +01:00
Gavin
fe9f909dce
add an extended example to UserType jdoc
2023-01-06 12:47:48 +01:00
LLEFEVRE
9dad80c258
HHH-15975 documentation tests must rely on SharedDriverManagerConnectionProviderImpl instead of DriverManagerConnectionProviderImpl
2023-01-05 11:05:21 +01:00
Steve Ebersole
d7201815d5
HHH-15977 - Deprecate @Persister
2023-01-04 13:36:04 -06:00
Gavin
e3f1c2741d
HHH-15960 make @Comment annotation repeatable and properly test it
...
I didn't quite nail this one first time round :-/
2023-01-04 13:40:44 +01:00
Akshit Agarwal
446908f643
HHH-14772: Fix filter direct fetching documentation
2023-01-04 10:00:27 +01:00
Gavin
b7b5fb7559
avoid the use of TypeConfiguration.getServiceRegistry()
2023-01-03 21:06:49 +01:00
Christian Beikov
0962144583
Don't show SharedDriverManagerConnectionProviderImpl usage in event documentation
2023-01-03 10:31:05 +01:00
LLEFEVRE
ccf4fac124
HHH-15961 Speed-up Oracle CI build
2023-01-03 10:26:46 +01:00
Gavin
7aa92a7c05
allow @Formulas to refer to columns of @SecondaryTables
...
(this is something that was previously only possible using hbm.xml)
also attempt a partial fixup of the initialization process where SessionFactoryImpl
constructor leaked out an uninitialized reference to itself (it still leaks, but
not as badly)
2023-01-02 21:45:02 +01:00
Gavin
1657c22aca
automatically detect when a @Check refers to a @SecondaryTable
...
- also support named check constraints (multiple of them)
- also support check constraints on collection tables
2023-01-02 21:45:02 +01:00
Gavin
110a1f6a56
examples in javadoc for @Any and @ManyToAny
2022-12-26 18:22:06 +01:00
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