A particular instance of an entity class can be loaded as follows:
Foo foo = fooRepository.findOne(id);
The findOne method is provided by the CrudRepository interface. It expects an identifier that uniquely identifies an entity instance (for instance, a primary key in a database table). The Java...