Composite Key and spring-data-jdbc Composite Key and spring-data-jdbc spring spring

Composite Key and spring-data-jdbc


No @Embedded doesn't work for Ids, yet.Right now all SQL statements assume a simple value for the id column.And I don't think there is a workaround for that.

One workaround that might work is to create a view that presents the composite key as a single field and has triggers writing the correct data into the underlying table.