The database connector module won't compile anymore in Mendix 8+ as the function setInitialHash was deprecated and is now removed.
https://apidocs.mendix.com/7/runtime/index.html?com/mendix/core/objectmanagement/member/MendixHashString.html
It should be updated to .setValue(IContext, String)