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
2841388335
fix build
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
Steve Ebersole
c6389efb1b
Add a Dialect report
...
Also added
* H2Dialect#getMinimumSupportedVersion
* DerbyDialect#getMinimumSupportedVersion
2023-04-27 11:28:35 -05: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
Steve Ebersole
4b8167c7fd
PublishMigrationGuide task
2023-04-01 09:37:40 -05:00
Andrea Boriero
570ccae476
HHH-16097 Move all tests from documentation into hibernate-core
2023-03-24 07:43:13 -05:00
Christian Beikov
41bec6d5f9
HHH-16287 Consider hibernate.timezone.default_storage for OffsetTime typing and storage
2023-03-23 11:59:53 +01: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
Steve Ebersole
85f98d21f9
HHH-16132 - Dirty checking for collection-as-basic mappings
2023-03-16 09:09:58 -05: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
Christian Beikov
b82fa307ea
HHH-15802 - Fix some expression comparison type checks
2023-03-03 16:01:53 +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
1bd0180172
HHH-16182 Fix some tests for older databases and adapt assertion for boolean function
2023-03-03 09:38:33 +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
Steve Ebersole
3dc855aa31
HHH-16182 - Converted boolean values not always properly handled in predicates
2023-03-02 09:19:00 -06:00
Steve Ebersole
abc44004ca
test cleanup
2023-03-01 17:20:12 -06:00
Steve Ebersole
e37db163a0
HHH-16182 - Converted boolean values not always properly handled in predicates
2023-03-01 13:49:53 -06:00
Steve Ebersole
31738d436a
HHH-16182 - Converted boolean values not always properly handled in predicates
2023-03-01 13:49:53 -06:00
Steve Ebersole
b8d500ec41
HHH-16182 - Converted boolean values not always properly handled in predicates
2023-03-01 13:49:53 -06: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
Steve Ebersole
a82c2169cf
HHH-16182 - JPA derived query methods failing when boolean mapping using YesNoConverter
2023-02-15 08:18:12 -06: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
Christian Beikov
16ca1a0595
HHH-15443 Allow JdbcType to wrap read and write expressions
2023-01-27 14:26:42 -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