I'm using spring CrudRepository
throughout my application.
Now I want to also create one for an @Entity
that does not have an @Id
. Is that possible at all?
//probably ID is always required?
public interface Repository<T, ID extends Serializable>
See Question&Answers more detail:os