Commit Graph

1591 Commits

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