The following is the default Spring Roo code, EntityManager is injected into your POJO domain model with the rest of the methods for managing the entity (saving, updating, deleting, findXXX, ...).
Perhaps this is a more object-oriented approach (as opposed to
source share