DATAJPA-575 - Adapted to deprecation removals in Spring Data Commons.

Related ticket: DATACMNS-469.