Spring Data JDBC with Composite ID
Summary Spring Data JDBC does not automatically map composite ID components to their own table columns. When a composite key record (ServiceId) is used as the @Id, Spring Data JDBC expects the table to have a single column named after the ID property (or a custom column mapping). It does not introspect the composite record’s … Read more