You want to add persistence methods to your entity interface
The problem
The solution
Putting it all together
Parent topic:
Coding service-layer APIs