Georg Echterling
f13c69fb63
HHH-15784 Add test for primitive array as NaturalId.
2022-12-20 16:35:35 +01:00
Georg Echterling
5d93213ea3
HHH-15778 Fix Embeddable with FetchTiming.DELAYED
2022-12-20 13:53:46 +01:00
Georg Echterling
70638f9e60
HHH-15778 Add test for Embeddable with FetchTiming.DELAYED
2022-12-20 13:53:46 +01:00
Marco Belladelli
b68eacbb90
HHH-15900 Fix failing tests on TiDB due to missing trigger support
2022-12-20 10:24:54 +01:00
Marco Belladelli
04b77066df
HHH-15654 Fix failing window function tests on DB2 10.5
2022-12-20 10:12:13 +01:00
Gavin
3ad3c5a509
change default event timing for @Generated to event = INSERT
...
- this makes sense if @Generated con now be used on @Id properties
- but it's also convenient with @ColumnDefault
2022-12-20 01:38:55 +01:00
Gavin
be3621d8f8
hand over responsibilities of SelectGenerator to @Generated
...
at the end of all this work on SelectGenerator, a cruel twist of fate!
2022-12-20 01:38:55 +01:00
Gavin
250995336b
note down an important TODO for later
2022-12-20 01:38:55 +01:00
Gavin
0f4cdc3bdb
use getGeneratedKeys() in SelectGenerator on Oracle
2022-12-20 01:38:55 +01:00
Gavin
ad2d4604fb
document supported database versions in Dialects
...
there was incorrect information here for a couple of them
2022-12-20 01:38:55 +01:00
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