Gavin
00edf48483
fix version # of support for 'insert returning' on Maria
2022-12-20 01:38:55 +01:00
Gavin
7b387f3ecf
correctly handle 'returning' clause in DML formatter
2022-12-20 01:38:55 +01:00
Gavin
01fa0c0fe9
suppport 'from new table' on DB2 for retrieving generated primary keys
2022-12-20 01:38:55 +01:00
Gavin
c4e27c0a2e
make select generator tests run on SQL Server
2022-12-20 01:38:55 +01:00
Gavin
587857e6bf
run SelectGeneratorTest on Db2
2022-12-20 01:38:55 +01:00
Gavin
ed0f93ecdd
use 'from final table' in SelectGenerator on h2
2022-12-20 01:38:55 +01:00
Gavin
d93e72dc7e
some misc minor cleanups
2022-12-20 01:38:55 +01:00
Gavin
782d2c9707
refactor SchemaCreatorImpl, SchemaDropperImpl into bite-sized methods
2022-12-20 01:38:55 +01:00
Gavin
32790456b7
test select generator on h2
2022-12-20 01:38:55 +01:00
Gavin
493818141e
fix logging of DDL
...
the DDL formatter was being applied twice
2022-12-20 01:38:55 +01:00
Gavin
ff9a60601c
improve error reporting for DDL execution
2022-12-20 01:38:55 +01:00
Gavin
d49b568d7b
make SelectGenerator capable of using 'insert ... returning ...'
2022-12-20 01:38:55 +01:00
Gavin
679ed3bbee
add select generator test for Postgres, MySQL, EDB
2022-12-20 01:38:55 +01:00
Jan Schatteman
d8bf649998
HHH-15910 Add static remove methods to Hibernate.class
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-12-19 22:48:39 +01:00
Steve Ebersole
e0f55e5d53
HHH-15894 - Clean-up EntityMappingType for API
2022-12-19 11:46:51 -06:00
Steve Ebersole
1715f09a89
HHH-15893 - Clean-up NaturalIdMapping for API
...
HHH-15894 - Clean-up EntityMappingType for API
2022-12-19 10:36:53 -06:00
Sanne Grinovero
c21fef3a66
HHH-15887 Avoid megamorphic calls on JdbcValuesSourceProcessingState#getSession
2022-12-19 08:38:53 +00:00
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