Christian Beikov
c8aa4f39da
HHH-17375 Introduce array_includes() and INCLUDES predicate for checking if array contains all elements of subarray as replacement to array_contains() overload
2024-05-13 22:11:15 +02:00
Christian Beikov
d1b30e1ab8
HHH-15862 Support basic array values in aggregate components
2024-05-07 21:00:12 +02:00
Steve Ebersole
06fd80907c
HHH-17559 - Prefer Java Time handling for all temporal values
2024-04-12 13:11:56 -05:00
Steve Ebersole
a996b6514e
HHH-17559 - Prefer Java Time handling for all temporal values
2024-04-12 13:08:57 -05:00
Steve Ebersole
59de4f05f3
prep 6.5
2024-03-20 12:28:00 -05:00
Andrea Boriero
1556cb40a5
HHH-17073 updated migration-guide.adoc
2024-03-20 16:39:40 +01:00
Steve Ebersole
d93bc3c5c8
prep 6.5
2024-03-20 08:56:47 -05:00
Christian Beikov
6ece032b02
HHH-17675 Add migration guide entry for enum mapping change on H2
2024-01-29 12:27:24 +01:00
Christian Beikov
7ef13e1f91
HHH-15086 Introduce configurable query cache layout
2024-01-26 11:01:03 +01:00
Steve Ebersole
58173f92ee
HHH-17559 - Prefer Java Time handling for all temporal values
2023-12-22 08:23:06 -06:00
Christian Beikov
6168582103
Bump version to 6.5
2023-12-21 18:01:15 +01:00
Jan Schatteman
4d3df8d81f
HHH-17089 - Add a link to the supported dialects report in the migration guide
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-11-09 19:25:24 +01:00
Christian Beikov
bfb9fcc0f6
HHH-17355 Unify array_contains and array_contains_all as well as deprecate FunctionRenderingSupport in favor of new FunctionRenderer contract
2023-11-06 18:01:04 +01:00
Steve Ebersole
905108e5b3
HHH-14496 - Remove IdGeneratorStrategyInterpreter
...
HHH-17356 - Remove the ability to supply custom IdGeneratorStrategyInterpreter impls
https://hibernate.atlassian.net/browse/HHH-14496
https://hibernate.atlassian.net/browse/HHH-17356
2023-10-25 18:51:37 -05:00
Steve Ebersole
5b49d5efba
HHH-17164 - Proper, first-class soft-delete support
...
HHH-17311 - Reversed soft delete support
https://hibernate.atlassian.net/browse/HHH-17164
https://hibernate.atlassian.net/browse/HHH-17311
2023-10-25 15:30:54 -05:00
Christian Beikov
5ea40e255d
HHH-14822 Support custom tenant identifier type
2023-10-25 18:58:20 +02:00
Steve Ebersole
348217c899
HHH-17164 - Proper, first-class soft-delete support
...
HHH-17311 - Reversed soft delete support
https://hibernate.atlassian.net/browse/HHH-17164
https://hibernate.atlassian.net/browse/HHH-17311
2023-10-18 12:06:48 -05:00
Steve Ebersole
51f2f4f75d
HHH-17164 - Proper, first-class soft-delete support
...
HHH-17311 - Reversed soft delete support
https://hibernate.atlassian.net/browse/HHH-17164
https://hibernate.atlassian.net/browse/HHH-17311
2023-10-18 12:06:48 -05:00
Christian Beikov
79fbee64d2
Update versions to 6.4
2023-10-06 16:32:26 +02:00
Steve Ebersole
b8040bb898
Update migration-guide.adoc
2023-10-03 18:00:37 -05:00
Jan Schatteman
e24511f415
HHH-17157 - Some improvements to the metamodel generator documentation
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-10-03 18:00:37 -05:00
Steve Ebersole
ab4ac5a64e
HHH-17076 - Numeric literal typing
...
https://hibernate.atlassian.net/browse/HHH-17076
2023-08-16 10:39:38 -05:00
Andrea Boriero
192cb275fb
HHH-16820 updated migration guide
2023-06-27 10:18:20 +02:00
Christian Beikov
b5220ff929
HHH-16388 - Configuration setting for wrapper Byte[]/Character[] treatment
2023-03-30 18:07:45 +02: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
0b68a36f8b
HHH-16333 Handle converters properly in BasicPluralType
2023-03-22 17:27:26 +01:00
Christian Beikov
640161fcf2
Switch version on main to 6.3.0-SNAPSHOT
2023-01-27 10:28:55 +01:00
Yoann Rodière
4fc7293c66
HHH-16069 Fix typo in migration guide
2023-01-26 09:22:49 +01:00
Steve Ebersole
375f6b5f14
HHH-16069 - Skip CDI for Hibernate extensions by default
2023-01-26 00:29:24 -06:00
Steve Ebersole
163d5002f4
migration-guide for 6.2 release
2022-12-22 16:26:55 -06:00
Steve Ebersole
b684ace7e6
migration-guide for 6.2 release
2022-12-22 10:30:00 -06:00
Christian Beikov
bc36eb3eeb
HHH-15327 Support mapping aggregate embeddables as struct/json
2022-12-14 19:02:43 +01:00
Sanne Grinovero
6c2bff76c9
Update migration guide HHH-15791
...
HHH-15791 Avoid excessive Session casts to EventSource
https://github.com/hibernate/hibernate-orm/pull/5663
2022-12-02 09:38:00 +00: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
Christian Beikov
7a14e5c07f
HHH-15631 Enable reflection optimizer by default Christian Beikov
2022-11-10 16:42:17 +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
Jan Schatteman
9d62179d40
HHH-15175 - Remove support for database versions that are unsupported by vendors 6.2 edition
2022-11-02 14:31:49 +01:00
Christian Beikov
35d7d571f2
Fix migration guide link
2022-10-04 09:40:16 +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
Christian Beikov
60bd1c657b
HHH-15504 Add UUID support for SQL Server
2022-09-14 11:11:10 +02:00
Christian Beikov
69668c32b7
HHH-15503 Add UUID support for MariaDB 10.7
2022-09-14 11:10:10 +02:00
Christian Beikov
96f56db700
Fixup migration guide
2022-09-05 06:35:32 +02:00
Jan Schatteman
1dba48ae3e
Tweak to the migration guide to add a link to the previous minor release migration guide
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-07-14 14:15:02 +01:00
Christian Beikov
b7dca12e70
HHH-15288 Switch to SMALLINT as recommended type for enums
2022-05-30 19:52:39 +02:00
Christian Beikov
497c09cddb
HHH-10999 Remove configuration setting for configuring the JDBC type for arrays
2022-05-30 19:52:39 +02:00
Christian Beikov
45fc49314e
HHH-10999 Add support for SQL array types mapped as Java arrays and collections
2022-05-30 19:52:39 +02:00
Christian Beikov
e26eb667ee
Switch main to 6.1.0-SNAPSHOT
2022-05-10 10:12:03 +02:00
Steve Ebersole
6180e94fdc
- Drop building of bundles for SourceForge
...
- Update release artifacts section of the release announcement
- Update Migration Guide wrt SourceForge and release artifacts
2022-03-31 11:58:26 -05:00
Steve Ebersole
cb4691e98e
work on migration guide and 6.0 announcement
2022-03-30 13:07:22 -05:00
Christian Beikov
4334b46376
Update the bulk section of the batching documentation chapter for the new mutation strategies. Also implement the missing InlineUpdateHandler
2022-03-30 18:21:27 +02:00
Steve Ebersole
d8d326a76f
work on migration guide and 6.0 announcement
2022-03-30 09:26:20 -05:00
Steve Ebersole
e433f32fc6
HHH-15143 - Add an "implicit naming strategy" for database structures (sequence and tables) for identifier generators
...
- clean up, javadoc, migration-guide
2022-03-29 20:59:21 -05:00
Steve Ebersole
56ba690366
HHH-15143 - Add an "implicit naming strategy" for database structures (sequence and tables) for identifier generators
2022-03-29 20:59:21 -05:00
Andrea Boriero
2709bc70b0
HHH-15143 - Add an "implicit naming strategy" for database structures (sequence and tables) for identifier generators
2022-03-29 20:59:21 -05:00
Christian Beikov
117e62195a
Allow configuring the preferred JDBC type for Instant
2022-03-29 19:31:53 +02:00
Christian Beikov
a9d1035806
Do some renaming for consistency and update documentation for new SQL types
2022-03-29 19:31:53 +02:00
Steve Ebersole
814c164c81
HHH-14672 - Allow specifying CHAR-based storage for UUID mappings
2022-03-29 16:53:35 +02:00
Christian Beikov
13460034fd
Add a migration guide section, replace static executor uses and remove obsolete todos
2022-03-29 14:03:49 +02:00
Christian Beikov
f2aa533dfc
Switch back to numeric(21) with nanosecond resolution as fallback for mapping Duration to retain backwards compatibility
2022-03-25 20:20:28 +01:00
Andrea Boriero
b0f8d6a394
Update migration-guide.adoc
2022-03-23 18:21:09 +01:00
Andrea Boriero
6b3bf34a01
Update migration-guide.adoc
...
Co-authored-by: Steve Ebersole <steve@hibernate.org>
2022-03-23 18:21:09 +01:00
Andrea Boriero
ca8f151d78
Improve migration guide query result cache section
2022-03-23 18:21:09 +01:00
Andrea Boriero
58aa445b0b
Add query result cache changes to migration guide
2022-03-23 18:21:09 +01:00
Steve Ebersole
ac4a792f84
render migration guide using asciidoctor and publish with docs
2022-03-08 11:26:55 -06:00
Christian Beikov
7aaeebe3af
Switch back to bag by default for list semantics
2022-03-02 17:02:53 +01:00
Christian Beikov
c520b48487
Implement support for CompositeUserType and re-enable tests that make use of it
2022-02-25 15:36:16 +01:00
Christian Beikov
c02ce35aa0
Implement on the fly callable named native query to stored procedure translation
2022-02-17 08:14:10 +01:00
Christian Beikov
b85f530b42
Log warning when FetchStyle.JOIN is used with LAZY and add migration guide entry for fetch all properties
2022-02-15 09:47:12 +01:00
Christian Beikov
0f02279f10
Implement partial null key handling and respect lazy flag regardless of fetch style
2022-02-14 20:13:53 +01:00
Christian Beikov
5bfbc466eb
Rename JPA copy compliance setting to `hibernate.criteria.copy_tree`
2022-02-10 18:24:23 +01:00
Christian Beikov
0ad5796ffd
Implement SQM copying for JPA Criteria API uses
2022-01-31 19:04:37 +01:00
Steve Ebersole
67fbab36bb
list v. bag - javadoc, migration guide
2022-01-27 08:49:58 -06:00
Steve Ebersole
a05f167db6
minor work on migration-guide.adoc
2022-01-19 15:30:26 -06:00
Steve Ebersole
9fe3c861ca
HHH-15023 - Move Query and NativeQuery back to org.hibernate.query
2022-01-14 14:49:17 -06:00
Steve Ebersole
fda6e96c5e
HHH-15023 - Move Query and NativeQuery back to org.hibernate
2022-01-11 21:01:56 -06:00
Steve Ebersole
8f5fefd806
HHH-15017 - Clean-up Query#setParameter overloads
...
- https://hibernate.atlassian.net/browse/HHH-15017
2022-01-10 12:25:38 -06:00
Steve Ebersole
448d678fb5
Drop `@CollectionClassificationType`;
...
Drop `@CollectionSemantics`;
Drop `@CollectionSemanticsRegistration(s)`;
Add `@CollectionTypeRegistration(s)`;
Rename `@CustomType` to `@Type`;
User Guide and Migration Guide changes
2022-01-06 21:46:48 -06:00
Steve Ebersole
a71ba9e385
Initial work to re-organize the Collections chapter in the UserGuide;
...
Docs for @CollectionType, @CollectionClassificationType and @CollectionSemantics;
Some api/spi/internal work;
Migration Guide;
2022-01-05 16:26:58 -06:00
Steve Ebersole
7c475c8ac0
migration-guide
2021-12-31 16:21:32 -06:00
Fabio Massimo Ercoli
a9c6caa888
Update the documentation with removed flag
2021-12-31 11:40:49 -06:00
Christian Beikov
fb8186d3e8
Cleanup stored procedure handling and add support for stored procedure function return
2021-12-24 01:44:41 +01:00
Christian Beikov
6c4ec95182
* Cleanup temporary table handling in dialects
...
* Fix insert handling with respect to version, discriminator and generated identifier insertion
* Introduce SqmMultiTableInsertStrategy to handle multi-table inserts
* Introduce the notion of an "entity table" similar to the "id table" to handle multi-table insertions
* Implement table based and cte based multi-table insertion to support all dialects
* Implement identifier generator optimizer support for multi-table insert
* Fix validation of insert target paths against select item types
* Fix some DML validations
* Implement over-clause support in SQL AST
* Fix multi-valued filter parameter support
2021-12-07 15:54:01 +01:00
Christian Beikov
bab32c3100
Small cleanup and add migration guide sections
2021-12-06 17:21:25 +01:00
Andrea Boriero
16460cf3ab
Re-enable additional tests
2021-12-02 13:17:53 +01:00
Andrea Boriero
df0479951c
Fix o.h.Interceptor#onSave call
2021-12-01 13:16:37 +01:00
Andrea Boriero
36fa3fca8e
Re-enabled stream tests
2021-11-25 14:03:04 +01:00
Andrea Boriero
da05181c3a
Update migration-guide.adoc
2021-11-25 14:03:04 +01:00
Christian Beikov
cbcec73d4f
* Handle quoted identifiers in HQL and the Ordering parser
...
* Switch from the "expression" to "expressionOrPredicate" rule in the HQL grammar where it makes sense as required by some HQL tests
* Cleanup parser rule ordering to allow more keywords in the identifier rule
* Implement literal support for Ordering parser
* Add special AvgFunction as needed by H2, HSQL, DB2, SQL Server and Sybase that casts arguments to double if necessary
* Fix wrong deduplication of order by fragments in case a plural attribute is fetched multiple times
* Implement support for de-referencing any-valued mappings in HQL
* Avoid unnecessary entity subtypes in polymorphic splitted queries if a base type also matches the requested type
* Implement pagination support for polymorphic splitted queries
* Cleanup path part resolving by removing lots of duplicate code
* Aligh HQL parsing expectations to the expected behavior of 5.x
* Add method to `JavaType` that allows determining if a type is can be widened to another which is used for arithmetic type resolving
* Implement validations for fetch owner checking
* Fix issues with the id table creation due to lacking column lengths in the column DDL type
* Fix issues and add some optimizations related to multi-table delete handling
* Add the notion of a special "implicit" alias to avoid generating a unique alias for unaliased or implicit HQL joins
* Properly implement multiple bag fetch validation
* Make sure filter predicates are applied for all plural attribute joins
* Fix some issues with undecidable parameter type inference
* Fix some issues with negated SQM predicates not being converted to the proper SQL AST predicates
* Fix issues with qualifying DML target referencing columns
* Fix `is null` semantics for tuples referring to embeddable types
* Capture necessary details from JdbcValuesMetadata in the cached data to avoid executing a query on cache hit when types should be inferred
* Get rid of special CollectionPropertyNames and writeup a migration guide section for the replacements
2021-11-25 08:51:51 +01:00
Andrea Boriero
39dae088ec
Update migration-guide
2021-11-24 16:35:23 +01:00
Jan Schatteman
69d2c65880
Removal @Deprecated from availablesettings ( #4369 )
...
* Remove deprecated *_CLASSLOADER from AvailableSettings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated HBM2DLL_CREATE_NAMESPACES and DEPRECATED_EXTRA_PHYSICAL_TABLE_TYPES from AvailableSettings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated and duplicated HBM2DDL_DB_NAME, HBM2DDL_DB_VERSION, HBM2DDL_DB_MAJOR_VERSION, HBM2DDL_DB_MINOR_VERSION from AvailableSettings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-17 14:52:52 +01:00
Christian Beikov
710ebe57b0
Get rid of using specialized BasicType implementations and references to those and instead use a BasicTypeReference that is lazily resolved
2021-10-07 08:15:53 +02:00
Andrea Boriero
0941ac7da1
Native query as a function call is no longer supported
2021-10-05 15:39:58 +02:00
Andrea Boriero
95486ce5b1
Implementing Procedure Call
2021-10-05 15:39:58 +02:00
Steve Ebersole
8a8a92ca5e
HHH-14844 - Drop JACC integration
2021-09-29 01:08:07 -05:00
Steve Ebersole
3f2d48d7f5
HHH-14837 - Move to Jakarta EE
...
migration guide
2021-09-27 08:21:36 -05:00
Andrea Boriero
20d09fafe4
Throw Mapping exception when multiple component for the same java class has different property mapping
2021-09-01 10:34:55 +02:00
Steve Ebersole
7fcde66d61
HHH-14524 : Rename SqlType(X) as JdbcType(X)
2021-03-29 11:33:56 -05:00
Steve Ebersole
ced4f5e602
Various changes around how basic values are handled in terms of mapping consumption for annotations and how value conversions happen
...
* Split BasicType "resolution" into 2 - one used for reading (mapping model) versus one used from writing (legacy persister model)
* @SqlTypeCode, @SqlType, @SqlTypeRegistration
* @JavaType, @JavaTypeRegistration
* @Mutability
* jdbc_mappings.adoc section for DomainModel chapter
[*] At the moment, neither @SqlTypeRegistration nor @JavaTypeRegistration support has been implemented
[*] Still need to make sure @Mutability is propogated properly in all the cases
[*] jdbc_mappings.adoc still needs a lot of attention
2020-04-21 16:09:46 -05:00
Steve Ebersole
fe25fee834
initial migration guide
2020-04-01 13:50:37 -05:00