jpa dao in scala