Commit Graph

14816 Commits

Author SHA1 Message Date
Sanne Grinovero 7c068e5be4 HHH-15886 Micro optimisations in NavigableRole equals and hashcode 2022-12-19 08:38:53 +00:00
Davide D'Alto 2933a759fa HHH-15904 Change scope of BasicCollectionPersister#buildRowMutationOperations 2022-12-19 07:36:01 +00:00
Gavin e8c2824976 allow use of SelectGenerator from annotations
- generalize @GenericGenerator to any Generator
- add tests for @GenericGenerator(type=SelectGenerator)
- move some logic for choosing the right InsertGeneratedIdentifierDelegate
  to the generators themselves
2022-12-17 19:02:20 +01:00
Gavin 6536fe0d72 very minor code changes 2022-12-17 19:02:20 +01:00
Marco Belladelli 8285eba3ac HHH-15900 Make SelectGenerator not extend IdentityGenerator 2022-12-17 11:56:38 +01:00
Marco Belladelli 86ba5144f6 HHH-15900 Add test for issue 2022-12-17 11:56:38 +01:00
Marco Belladelli 8bbb1edb30 Fix some failing tests 2022-12-16 16:18:08 +01:00
Marco Belladelli 1ce4135145 HHH-15654 Fix failing criteria set-ordered tests for some dbs 2022-12-16 16:18:08 +01:00
Christian Beikov 1ee34ac0a1 Switch from LGTM to CodeQL 2022-12-16 12:52:58 +01:00
Marco Belladelli aadd0d7179 HHH-15398 Bump baseline Jakarta Persistence version to 3.1 2022-12-16 11:49:02 +01:00
Christian Beikov eccc1a89c5 Ensure TypeContributor registered JdbcType has precedence over fallback and preferred types 2022-12-16 11:47:38 +01:00
marco fe5fa5dce4 HHH-15550 New global and persistent temporary `create_tables` params 2022-12-16 08:25:41 +01:00
Marco Belladelli caaaa71ffd HHH-15550 New global and persistent temporary `create_tables` params 2022-12-16 08:25:41 +01:00
Steve Ebersole a12a108f59 HHH-15884 - Clean-up EntityDiscriminatorMapping for API 2022-12-15 18:59:09 -06:00
Steve Ebersole ed4af59882 HHH-15884 - Clean-up EntityDiscriminatorMapping for API
HHH-15891 - Clean-up EntityVersionMapping for API
HHH-15892 - Clean-up EntityIdentifierMapping for API
2022-12-15 18:55:58 -06:00
Gavin e82c8fe911 upgrade very ancient mariadb JDBC driver
(to get a bigfix)
2022-12-16 00:04:29 +01:00
Gavin 126de862c0 cleaner signature of Column.getSqlType() 2022-12-16 00:04:29 +01:00
Gavin 736dfac693 add ability to change column types to TableMigrator 2022-12-16 00:04:29 +01:00
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 ae54ca8ae7 HHH-15863 Update PostgreSQL testing to version 15 2022-12-15 10:36:29 +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 19bc9a432b HHH-15755: Let OracleDialect detect if running on Autonomous database 2022-12-14 19:28:03 +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