Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring data r2dbc - Composite Primary key

Looks like Spring Data r2dbc does not support composite primary key. Is that a known issue?

I dont see support for @Embedded.

like image 209
user1578872 Avatar asked Dec 09 '25 19:12

user1578872


1 Answers

This is not yet supported in R2DBC.

The Support for Composite Keys using @Embeded and @Id #574 issue in Spring Data is open since 04 April 2019, which has been already 5 years (as of March 2024).

like image 72
Omar Abdelhady Avatar answered Dec 11 '25 10:12

Omar Abdelhady



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!