0

It seems Spring r2dbc does not support Composite Primary Key / Embedded Classes.

What other options or work around can be followed in this case?

If i have a table which has Composite Key, then how can I get Flux of objects using partial key, may be the first column?

For e.g

repository.findAllById(String id);

Thanks 
Spartacus
  • 337
  • 4
  • 12

1 Answers1

0

You can use annotated queries or you may use the R2dbcEntityTemplate

Jens Schauder
  • 77,657
  • 34
  • 181
  • 348