Commit Graph

9127 Commits

Author SHA1 Message Date
Steve Ebersole fcb8e323b0 HHH-15883 - Expose MappingMetamodel via unwrap from SessionFactory
HHH-15884 - Clean-up EntityDiscriminatorMapping for API uses
2022-12-15 13:35:10 -06:00
Steve Ebersole 490b89becf Revert "Ensure TypeContributor registered JdbcType has precedence over fallback and preferred types"
This reverts commit c6ecdb78f4.
2022-12-15 13:35:10 -06:00
Steve Ebersole 2e0b4b3558 HHH-15883 - Expose MappingMetamodel via unwrap from SessionFactory
HHH-15884 - Clean-up EntityDiscriminatorMapping for API uses
2022-12-15 13:35:10 -06:00
Sanne Grinovero 49c096f146 HHH-15878 Micro optimisations of StatefulPersistenceContext#clear 2022-12-15 19:17:47 +00:00
Christian Beikov c6ecdb78f4 Ensure TypeContributor registered JdbcType has precedence over fallback and preferred types 2022-12-15 18:48:33 +01:00
Christian Beikov 37ec41d319 HHH-15879 Introduce a fetchable key for Fetchable within FetchableContainer 2022-12-15 18:48:06 +01:00
Gavin 69091d1394 remove two unused classes 2022-12-15 17:26:49 +01:00
Sanne Grinovero af8f2da6f2 HHH-15873 Micro optimisations of FetchParent#findFetch(Fetchable) operations 2022-12-15 11:29:25 +00:00
Marco Belladelli fc7bdce2c8 HHH-15736 Add escape logic to cockroach and fix mysql 5.7 2022-12-15 12:14:39 +01:00
Christian Beikov e61baab946 HHH-15501 Remove clause parameter of Bindable forEachDisassembledJdbcValue and forEachJdbcValue 2022-12-15 10:26:47 +01:00
Sanne Grinovero cacba9a205 HHH-15867 Avoid runtime services lookup for JdbcServices and BatchBuilder 2022-12-14 21:48:06 +00:00
rgarcia de68924ad2 HHH-15859 Fetching an entity with entity graph for an attribute of type Map fails with an assertion error 2022-12-14 20:23:55 +01:00
Andrea Boriero c67b3f984a HHH-15741 Explicit declaration assigned identifier generator does not work 2022-12-14 20:03:40 +01:00
Andrea Boriero b5a594004f HHH-15741 Add test for issue 2022-12-14 20:03:40 +01:00
Andrea Boriero 9341df0b8b HHH-15759 Entity with @CollectionTable and entity with relation to element collection table, cause generate wrong FK, if first entity key field lexicographically after collection element. 2022-12-14 20:02:49 +01:00
Andrea Boriero d95bb9c40e HHH-15759 Add test for issue 2022-12-14 20:02:49 +01:00
Andrea Boriero 733e6cafdb HHH-15840 HibernateException: Found shared references to a collection when loading a collection from the cache 2022-12-14 20:00:13 +01:00
Andrea Boriero 7ec8668734 HHH-15840 Add test for issue 2022-12-14 20:00:13 +01:00
LLEFEVRE 2509b74201 HHH-15755: Let OracleDialect detect if running on Autonomous database 2022-12-14 19:28:03 +01:00
Christian Beikov 6777f4f7ac Fixup batch method naming 2022-12-14 19:26:07 +01:00
Marco Belladelli 3c287d4429 HHH-15768 Don't set deprecated settings from PUI 2022-12-14 19:06:20 +01:00
Marco Belladelli 540b8ec684 HHH-15768 Add test for issue 2022-12-14 19:06:20 +01:00
Karel Maesen 723ca11f34 HHH-15869 Use explicit transactions for all SQL operations
The test fails on e.g. CockroachDB 21.2 because first DDL is in a Transaction
but not the other DML/DDL statements.
2022-12-14 19:04:02 +01:00
Marco Belladelli 7a7acfe120 HHH-15654 Add @Incubating annotations 2022-12-14 19:03:14 +01:00
Marco Belladelli 5feb44026c HHH-15654 Fix SQL errors for some DBs + documentation for new interfaces 2022-12-14 19:03:14 +01:00
Marco Belladelli 6d9c448db2 HHH-15654 Added 'simple' aggregate functions and frame APIs for JpaWindows 2022-12-14 19:03:14 +01:00
Marco Belladelli 28b0d6c5a4 HHH-15654 Overrides and small changes in the API interface 2022-12-14 19:03:14 +01:00
Marco Belladelli 9a980b3f93 HHH-15654 Add overloads to ordered-set aggregate functions without filter 2022-12-14 19:03:14 +01:00
Marco Belladelli 2f1f6870b6 HHH-15654 Criteria APIs for window and ordered-set aggregate functions 2022-12-14 19:03:14 +01:00
Christian Beikov bc36eb3eeb HHH-15327 Support mapping aggregate embeddables as struct/json 2022-12-14 19:02:43 +01:00
Jan Schatteman 74f3c1715b Avoid possible NullPointerExceptions in AbstractCollectionPersister.logStaticSQL()
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-12-14 18:05:47 +01:00
Marco Belladelli f1b9909fb6 HHH-15736 Handle backslash escapes in like patterns 2022-12-14 17:25:16 +01:00
Steve Ebersole 1140f6072e HHH-15837 - Cleanup the tuple package 2022-12-14 10:05:54 -06:00
Sanne Grinovero a7274875ca HHH-15858 Improvements in Session casting 2022-12-14 16:04:19 +00:00
Sanne Grinovero 2c3ac612db HHH-15858 Cleanup of internal Session casts 2022-12-14 16:04:19 +00:00
Steve Ebersole 48c383121f HHH-15837 - Cleanup the tuple package 2022-12-14 09:25:59 -06:00
Steve Ebersole ac32410438 HHH-15837 - Cleanup the tuple package 2022-12-14 09:25:59 -06:00
Steve Ebersole 0b04dcef16 HHH-15837 - Cleanup the tuple package 2022-12-14 09:25:59 -06:00
Steve Ebersole 78c3edf695 HHH-15837 - Cleanup the tuple package 2022-12-14 09:25:59 -06:00
Steve Ebersole 33c00d78c3 HHH-15818 - Drop PropertyMapping in favor of new mapping-model 2022-12-14 09:25:59 -06:00
Marco Belladelli 3d72eabf6c HHH-15823 Fallback to value type ignoring typeInferenceSource 2022-12-14 15:04:03 +01:00
Marco Belladelli ba1feef1f8 HHH-15823 Add test for issue 2022-12-14 15:04:03 +01:00
Davide D'Alto 919e322600 HHH-15761 Avoid possible NullPointerException
In AbstractSqlAstTranslator
2022-12-14 12:12:27 +00:00
Davide D'Alto 20e7f1be9c HHH-15761 Change some scopes for Hibernate Reactive
Make it possible for Hibernate Reactive to call or override some
methods.
2022-12-14 12:12:27 +00:00
Davide D'Alto e84bf71b7f HHH-15761 Validate identifier generator
Having tyhe validation in a separate method, make it possible
to extend the class without causing a StackOverflow exception
when overriding the getter.
2022-12-14 12:12:27 +00:00
Davide D'Alto 7e36605a75 HHH-15761 Change scope of methods in QuerySqmImpl
For Hibernate Reactive
2022-12-14 12:12:27 +00:00
Davide D'Alto c9df6af30a HHH-15761 Extract creation of execution context in ConcreteSqmSelectQueryPlan 2022-12-14 12:12:27 +00:00
Gavin 5bdd79baf1 fix up use of qualified name in annotations 2022-12-14 12:21:45 +01:00
Christian Beikov acd4e0e36a Fix HANA test, skip one SQL Server test due to precision issues and get rid of old cruft in AbstractEntityPersister 2022-12-14 12:07:26 +01:00
Christian Beikov 92d447cddd Make use of JavaType in SqlSelection 2022-12-14 12:07:26 +01:00