Answer the question
In order to leave comments, you need to log in
How to use Spring CrudRepository with composite key?
The repository is auto-implemented from the view interface
@Repository
CrudRepository<Obj, ID>
class Id {
Integer parent_id;
String name;
}
Answer the question
In order to leave comments, you need to log in
Do you need this? https://stackoverflow.com/questions/35054372/how-t...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question