Commit Graph

97 Commits

Author SHA1 Message Date
Marco Belladelli c65fa68154 HHH-16392 @Where clause migration guide chapter 2023-04-28 10:08:36 +02:00
Yoann Rodière 0c3ea12895 HHH-16246 Document changes to multitenancy in the migration guide 2023-03-17 12:26:39 +01:00
Yoann Rodière 1ff214958f
Fix typos in migration-guide.adoc 2023-03-10 09:05:34 +01:00
Christian Beikov c755e7dd80 Add migration guide section about entity path comparison validation changes 2023-03-03 12:46:56 +01:00
Christian Beikov 4ce40135d3 Split sequence per table and allocation size sections 2023-03-03 10:46:40 +01:00
Christian Beikov 6cfd386910 Add migration guide entries for sequences and HQL changes 2023-03-03 10:46:40 +01:00
Yoann Rodière d0c61c22f5 Fix recommendation in migration guide for duration mapping backwards-compatibility
Quoting: "5.x used the type code `Types.BIGINT`".

So, in order to retain backwards-compatibility, one needs to set the JDBC type to `BIGINT`, not to `NUMERIC`.

Tested locally on a schema created with 5.x by starting an application using 6.x: with `NUMERIC`, schema validation fails; with `BIGINT` it does not.
2023-03-02 21:15:10 +01:00
Yoann Rodière 9466ac4443 Document BIGINT mapping change
See https://hibernate.atlassian.net//browse/HHH-7318
2023-02-27 14:07:39 +01:00
marko-bekhta 665c8c54a4 Clean up "Fetch circularity determination" migration section
- remove some unfinished sentence
- remove the paragraph describing the old behavior
2023-01-30 11:25:46 +01:00
Yoann Rodière d330531ede Document the most obvious dialect changes in the migration guide 2023-01-25 18:04:10 +01:00
Yoann Rodière 05cbff0ba4 Fix heading levels in migration guide 2023-01-25 18:04:10 +01:00
Gavin 95947fcd12 fix markdown formatting in migration guide 2022-12-16 12:37:08 +01:00
Christian Beikov 86ac78b372 Mention removed EJB properties in migration guide 2022-11-14 18:40:50 +01: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