habuma / spring-in-action-5-samples

Home for example code from Spring in Action 5.
Apache License 2.0
1.21k stars 1.04k forks source link

Fix missing primary key on id field #117

Open khalilswdp opened 2 years ago

khalilswdp commented 2 years ago

You can't use it as a foreign key if it is not a primary key—besides, the application crashes.