DATAGRAPH-492 - Adapted to deprecation removals in Spring Data Commons.

Related ticket: DATACMNS-469.