Commit Graph

1817 Commits

Author SHA1 Message Date
Gavin b298a2a185 Blob, Clob 2023-09-27 21:24:24 +02:00
Gavin f3fa777626 add rant 2023-09-27 21:24:24 +02:00
Gavin 65a500182f short section on named queries 2023-09-27 21:24:24 +02:00
Gavin 1e22d1bb3d short section on named queries 2023-09-27 21:24:24 +02:00
Gavin ec2cab572d improve discussion of FlushModes and CacheModes 2023-09-27 21:24:24 +02:00
Gavin dc99beebc0 improve section on not null 2023-09-27 21:24:24 +02:00
Gavin 7114aed4ed use Validator for @NotNull 2023-09-27 21:24:24 +02:00
Gavin 6d398db1fa calling jdbc 2023-09-27 21:24:24 +02:00
Gavin 8c2e83748a improve discussion of foreign key mappings 2023-09-27 21:24:24 +02:00
Gavin 2c141fd89b minor fixes 2023-09-27 21:24:24 +02:00
Gavin 1af21ded31 hello JPA world 2023-09-27 21:24:24 +02:00
Gavin ecb7846565 hello world 2023-09-27 21:24:24 +02:00
Gavin e0870fe3fe add a couple of links 2023-09-27 21:24:24 +02:00
Gavin 83c192caeb limits, pagination, and flush modes 2023-09-27 21:24:24 +02:00
Gavin 5eb11e8081 more presentation cleanups 2023-09-27 21:24:24 +02:00
Gavin 96b503454e more presentation cleanups 2023-09-27 21:24:24 +02:00
Gavin 59b6f702e5 get rid of useless titles on admonitions
failed experiment
2023-09-27 21:24:24 +02:00
Gavin 1e0fd15d13 get rid of useless titles on admonitions
failed experiment
2023-09-27 21:24:24 +02:00
Gavin ab688d3016 clean up more admonitions 2023-09-27 21:24:24 +02:00
Gavin d5f663b248 discover sidebars 2023-09-27 21:24:24 +02:00
Gavin 44e6d753f8 segues 2023-09-27 21:24:24 +02:00
Gavin 6201d0620a finish off the section on session operations 2023-09-27 21:24:24 +02:00
Gavin 99d4724a99 more explanation cribbed from my jdoc 2023-09-27 21:24:24 +02:00
Gavin 71d8b1afc5 pool configuration 2023-09-27 21:24:24 +02:00
Gavin 0312070e2c more about natural ids 2023-09-27 21:24:24 +02:00
Gavin e21ee9da13 native SQL queries and placeholders 2023-09-27 21:24:24 +02:00
Gavin c629aeacf9 executing queries 2023-09-27 21:24:24 +02:00
Gavin 1b0ae599f4 add diagram 2023-09-27 21:24:24 +02:00
Gavin 570be71c32 add rant about repositories 2023-09-27 21:24:24 +02:00
Gavin ef481fb2ab reuse the query language chapter by reference 2023-09-27 21:24:24 +02:00
Gavin 5c0434a7e0 start on queries 2023-09-27 21:24:24 +02:00
Gavin 40caeed1f2 flushing, flush modes, and cache modes 2023-09-27 21:24:24 +02:00
Gavin 085277be50 shill for HR 2023-09-27 21:24:24 +02:00
Gavin e1cdd99135 cannibalize some information from javadoc 2023-09-27 21:24:24 +02:00
Gavin ed04cae295 sq 2023-09-27 21:24:24 +02:00
Gavin c1b65ed779 discuss pesistence contexts 2023-09-27 21:24:24 +02:00
Gavin 5b298c19a0 compile introduction to PDF 2023-09-27 21:24:24 +02:00
Gavin d3f6fb5039 fix build 2023-09-27 21:24:24 +02:00
Gavin 9036184cc5 cannibalize good content from HR docs 2023-09-27 21:24:24 +02:00
Gavin 02b551464d mention constraints which Hibernate doesn't actually create due to bug 2023-09-27 21:24:24 +02:00
Gavin faa8e2bb9b diagram of associations 2023-09-27 21:24:24 +02:00
Gavin 218a58ebbc association table mappings 2023-09-27 21:24:24 +02:00
Gavin 0ed12f6869 column lengths and LOBs 2023-09-27 21:24:24 +02:00
Gavin a92f29f802 more about table mappings 2023-09-27 21:24:24 +02:00
Gavin 7e9081b448 join column mappings 2023-09-27 21:24:24 +02:00
Gavin da2542a01c mapping tables and columns 2023-09-27 21:24:24 +02:00
Gavin e59ba209da more impressive converter example 2023-09-27 21:24:24 +02:00
Gavin 4697630eb9 more on inheritance 2023-09-27 21:24:24 +02:00
Gavin 815e1d7ae3 start on inheritance mapping 2023-09-27 21:24:24 +02:00
Gavin d8001fbf7a missed one 2023-09-27 21:24:24 +02:00
Gavin 0ce1467bd9 mapped superclass, version, and summary 2023-09-27 21:24:24 +02:00
Gavin 62306d67e3 @ElementCollection mappings, etc 2023-09-27 21:24:24 +02:00
Gavin 09f7a363a9 enum and array mappings 2023-09-27 21:24:24 +02:00
Gavin 1c8adcde96 many to many 2023-09-27 21:24:24 +02:00
Gavin 51068f7931 one to one 2023-09-27 21:24:24 +02:00
Gavin e31ab80306 many to one 2023-09-27 21:24:24 +02:00
Gavin 74e7fa6f04 improve converters discussion 2023-09-27 21:24:24 +02:00
Gavin 13b7ebd2d6 add section on embeddables + and define "persistent identity" 2023-09-27 21:24:24 +02:00
Gavin 4726cafc42 much more about basic types 2023-09-27 21:24:24 +02:00
Gavin f66d5cd3d0 make start on basic types 2023-09-27 21:24:24 +02:00
Gavin e678018b6b finish section on ids 2023-09-27 21:24:24 +02:00
Gavin 2c2c061be7 make a start on Entities chapter 2023-09-27 21:24:24 +02:00
Gavin 8894e13414 revise what I have so far 2023-09-27 21:24:24 +02:00
Gavin 3c5ebc4a76 more on XxxxNamingStrategy 2023-09-27 21:24:24 +02:00
Gavin b77d5bd3b8 copy configuration section from HR intro 2023-09-27 21:24:24 +02:00
Gavin ce20e68c72 add history of Hibernate 2023-09-27 21:24:24 +02:00
Gavin King d5e40c97dd initial blurbs for Introduction document 2023-09-27 21:24:24 +02:00
Cedomir Igaly f34df04c11 HHH-16591 - See documentation 2.2.21 - "By default, Hibernate maps Duration to the NUMERIC SQL type." 2023-08-09 09:34:57 +02:00
marko-bekhta 2f16103708 HHH-16591 Update the docs to use `JdbcTypeCode` instead of `JdbcType` to override an SQL type for Duration 2023-08-09 09:34:57 +02:00
Andrea Boriero 9abb3b45de HHH-16820 updated userguide 2023-06-27 10:17:55 +02:00
Felix 34932f30a0 HHH-16652 fix the broken link: hql-string-functions 2023-05-22 13:43:13 +02:00
Andrea Boriero 64b4a94c88 Add to documentation drop-down selector links to 6.0 and 6.1 documentation pages 2023-05-02 09:21:18 +02:00
Karel Maesen 5483f403b1 HHH-15160 - Properly validate the arguments in the distance operators. 2023-04-28 13:51:42 +02:00
Karel Maesen 2a1aa73319 HHH-15160 - Adds the Postgis distance operators 2023-04-28 13:51:41 +02:00
Marco Belladelli 094f243413
HHH-16392 Fix where clause in collection cleanup subqueries 2023-04-28 10:11:43 +02:00
Steve Ebersole 506383a4ff Add a Dialect report
Also added
* H2Dialect#getMinimumSupportedVersion
* DerbyDialect#getMinimumSupportedVersion

(cherry picked from commit c6389efb1b)
2023-04-27 11:29:51 -05:00
Jan Schatteman e47f262f38 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:32 +02:00
Steve Ebersole e93f44a7fd PublishMigrationGuide task 2023-04-01 09:36:48 -05:00
Andrea Boriero 5491bcd5d4 HHH-16097 Move all tests from documentation into hibernate-core 2023-03-24 07:59:56 -05:00
Christian Beikov e8a098ef1d HHH-16287 Consider hibernate.timezone.default_storage for OffsetTime typing and storage 2023-03-23 12:00:32 +01:00
Christian Beikov 4b1f56951b HHH-16333 Get rid of special Character[] and Byte[] handling 2023-03-22 17:27:48 +01:00
Christian Beikov a122641539 HHH-16316 Move version specific dialects of unsupported versions to hibernate-community-dialects 2023-03-17 10:12:59 +01:00
Steve Ebersole bab4be3d14 HHH-16132 - Dirty checking for collection-as-basic mappings 2023-03-16 12:28:08 -05:00
Yoann Rodière 20f4598cb2 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:53 +01:00
Yoann Rodière 5b74011b7d HHH-16302 Document all TimeZoneStorageType values in reference documentation 2023-03-15 15:36:53 +01:00
Yoann Rodière b72d25ddbe
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:11:05 +01:00
Florian Hof 5faf479451 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:36 +01:00
Christian Beikov 713be8eba6 HHH-15664 Fix array section in documentation 2023-03-14 12:18:27 +01:00
Christian Beikov 18153d5f6b HHH-15802 - Fix some expression comparison type checks 2023-03-03 16:02:23 +01:00
Jan Schatteman 516d3eb405 Add a note w/ respect to native queries and inheritance
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-03-03 09:46:31 +01:00
Christian Beikov 6f5102ffd2 HHH-16182 Fix some tests for older databases and adapt assertion for boolean function 2023-03-03 09:39:39 +01:00
Christian Beikov 0b5e27d133 HHH-16179 Session.find should not apply filters 2023-03-02 20:38:38 +01:00
Steve Ebersole dbd979e0e8 HHH-16182 - Converted boolean values not always properly handled in predicates 2023-03-02 09:20:22 -06:00
Steve Ebersole e090480ea1 test cleanup 2023-03-01 17:21:52 -06:00
Steve Ebersole 4558b86bda HHH-16182 - Converted boolean values not always properly handled in predicates 2023-03-01 13:51:19 -06:00
Steve Ebersole 250b05f28d HHH-16182 - Converted boolean values not always properly handled in predicates 2023-03-01 13:51:19 -06:00
Steve Ebersole 0c20980be2 HHH-16182 - Converted boolean values not always properly handled in predicates 2023-03-01 13:51:18 -06:00
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
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
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
Gavin King be4934d17d reorg the documentation of HQL functions 2022-10-06 14:37:46 +02:00
Gavin King f70d09175a update the HQL chapter to acknowledge changes in JPA 3.1 2022-10-05 17:12:52 +02:00
Gavin King a7bb19a2ea clarify semantics of query with no 'select' in documentation 2022-10-05 14:05:53 +02:00
Gavin King 6e94b35ee1 HHH-15549 remove mapping of NUMBER(1,0) to BOOLEAN on Oracle
This just seems wrong to me. We have no way to say that a NUMBER(1,0)
column isn't a single-digit number.

Simplify the other mappings for NUMBER(n,0).
2022-10-02 12:12:33 +02:00
Jan Schatteman bb5aa62927 HHH-15487 - Remove support for PostgreSQL versions older than 10
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-21 19:57:32 +02:00
Jan Schatteman 89a98f2dc7 HHH-15489 - Remove support for Oracle versions older than 11.2
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-21 17:52:03 +02:00
Gavin King 3ddfa3f47c HHH-15516 add two-arg form of log() to HQL 2022-09-16 13:21:44 +02:00
Gavin King 1b5935e66d HHH-15515 make pi a portable HQL function 2022-09-16 13:21:44 +02:00
Christian Beikov 60bd1c657b HHH-15504 Add UUID support for SQL Server 2022-09-14 11:11:10 +02:00
Jan Schatteman 3dec1ca4dc HHH-15447 - Remove references to deprecated dialects
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-12 16:05:00 +02:00
Christian Beikov eb1f56d542 HHH-15458 Interpret String with JSON/XML type code as plain JSON/XML 2022-08-29 10:57:49 +02:00
Andrea Boriero 6507ac4f88 HHH-15455 User Guide Contains a reference to hibernate-ehcache, no longer supported 2022-08-22 15:28:43 +02:00
Yoann Rodière 8c33056d93 Fix dead link in documentation section "Java API for HQL and JPQL"
See the link "next chapter" at the beginning of this section:

https://docs.jboss.org/hibernate/orm/current/userguide/html_single/Hibernate_User_Guide.html#hql
2022-08-17 08:56:29 +02:00
Christian Beikov 7b6df34519 HHH-15428 Fix handling of converters by moving them to JdbcMapping 2022-08-03 14:38:46 +02:00
Andrea Boriero e80fb85dae HHH-15420 Getting Started Guide Code does not build 2022-08-02 15:47:14 +02:00
Andrea Boriero 0f599da6c4 HHH-15406 Tests annotated with org.hibernate.testing.RequiresDialect having as value a deprecated dialect are not executed 2022-07-21 22:00:14 +02:00
Jan Schatteman d6f9b0b683 HHH-15401 - Update the topical guide
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-07-18 12:04:45 +01:00
Andrea Boriero e3d524fe5e HHH-15396 Quick Start guide, hibernate-tutorials.zip link is broken 2022-07-13 13:54:28 +02:00
Gavin King 6588d2db46 somewhat improve the documentation of StatelessSession
mention fetch()
2022-07-04 21:05:14 +02:00
Gavin King 7b8bf8b98e minor changes to HQL docs 2022-07-02 20:53:03 +02:00
Gavin King c3e0bc44ba document right/full join syntax 2022-07-02 20:50:13 +02:00
Christian Beikov 9c660f7e0a HHH-15367 Lift embedded/id-class to-one selection limitation for from clause subqueries 2022-07-01 12:05:54 +02:00
Gavin King bb29e3b060 document root joins 2022-06-24 17:14:13 +02:00