The method findByID() in the controllers takes an integer argument but the primary key for our entities is always an object instance. So you must make the findByID method to take an object argument and do the handeling your self.
Log in to post a comment.