Commit Graph

94 Commits

Author SHA1 Message Date
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
Kedar Joshi 61cddad76d Correct JTS version information 2019-01-02 13:53:07 +01:00
Chris Cranford 805aec32b3 HHH-13101 - Document `hibernate.id.disable_delayed_identity_inserts` config setting. 2018-11-14 11:38:12 -05:00
Vlad Mihalcea e9e6b0573f HHH-12973 - Inconsistent identity generation when using the default @SequenceGenerator with a database sequence having the increment size of 1
- add SQL Server JDBC Driver version upgrade note to migration guides
2018-10-12 12:55:25 +03:00
Karel Maesen d33b03e882 HHH-12144 - Add note to migration guide 2018-10-11 21:21:22 +02:00
Guillaume Smet 2fd89dcc1a HHH-12820 Initialize the 5.4 migration guide 2018-07-18 11:40:12 +02:00
Gail Badner 02ff1484be HHH-12687 : Update migration guide 2018-07-04 15:20:09 -07:00
Steve Ebersole 7943fe3fc2 minor migration guide change 2018-05-14 16:01:56 -05:00
Steve Ebersole f7aef1cdf8 prep 5.3.0.CR2 2018-04-27 09:42:09 -05:00
Steve Ebersole c0c0ae1c38 document changes to EnhancementTask in 5.3 migration log 2018-04-19 12:47:00 -05:00
Steve Ebersole e7130605f0 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses 2018-04-19 12:32:27 -05:00
Andrea Boriero 6cefa865b0 HHH-12454 - Offer flag to consider id generator with local scope (legacy non JPA behavior) 2018-04-16 09:47:09 -05:00
Steve Ebersole f432ecea68 HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
2018-03-22 13:25:12 -05:00
Asier Lostalé f44555fd6a HHH-12388 - User Guide typo fixes 2018-03-14 13:14:19 +02:00
Andrea Boriero 39fb2c89a1 HHH-12267 - Update migration guide to cover Generators name scope changes 2018-01-31 15:34:49 +02:00
Steve Ebersole 350b9d2184 prepare for 5.3.0.Beta1 2018-01-17 22:03:15 -06:00
Andrea Boriero 02e8b95f5b HHH-12177 - Update migration guide 2017-12-22 12:00:34 -06:00
Andrea Boriero 9af5655100 HHH-12148 - Add setting indicating if the value stored in the table used by the @TableGenerator is the last value used or the next value to be used 2017-12-13 06:19:32 -06:00
Steve Ebersole 5e0274adbb HHH-12116 - Positional parameters report position as name
HHH-12101 - Remove support for legacy HQL-style positional parameters
2017-12-13 06:19:30 -06:00
Gail Badner a9b0305004 HHH-11614 : Update migration guide with example for converting variable-length strings to PostgreSQL Large Objects 2017-09-11 11:51:59 -07:00
Gail Badner d04a409335 HHH-11614 : Update migration guide 2017-09-11 11:51:59 -07:00
Andrea Boriero bbcab0f75c HHH-11808 - Update migration guide and documentation 2017-06-27 09:07:21 +03:00
Gail Badner b22f38b00f HHH-11709 : Update migration guide 2017-04-28 19:32:30 -07:00
Andrei Solntsev 42f8d033c1 HHH-11547 fix some typos in documentation 2017-03-05 17:28:34 -05:00
Chris Cranford aa3f913857 HHH-11194 - Add setting to allow enabling legacy 4.x LimitHandler behavior (removed delegation).
Fix broken test on SQL Server and propagate the legacy behavior even when we extend the SQL Server of the Ingres base Dialects
2016-11-24 10:49:45 +02:00
Chris Cranford 3cb2390b3d 10664 - Prepare Envers for 5.2 - Deprecated AuditReader getCurrentRevision. 2016-05-31 23:40:03 -05:00
Naros 5331b32a60 HHH-10688 - Update user guide and migration document regarding envers deprecated settings. 2016-05-06 20:40:33 -05:00
Steve Ebersole 7b3570149d HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (test fixup) 2016-05-06 13:12:38 -05:00
Steve Ebersole 1ece6056d1 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures) 2016-05-06 13:12:37 -05:00
Steve Ebersole 87e3f0fd28 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (first sucessful full compile of consolidated hibernate-core) 2016-05-06 13:12:32 -05:00
Steve Ebersole 6d08b3526c 5.1 migration guide 2016-02-09 22:44:05 -06:00
vladmihalcea c2ece0108e Migrate User Guide from Docbook to Asciidoctor 2016-01-11 18:07:58 +02:00
Steve Ebersole c2ad82ef2b HHH-10043 - Migration Guide 2015-08-20 14:29:48 -05:00