- Change interface method findByAttributes to set a object as value not a String.