example using Jpa repository interfaces