added the getRightholders in DatabaseService