Commit Graph

89 Commits

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