mendix / database-connector

https://appstore.home.mendix.com/link/app/2888/Mendix/Database-Connector
Apache License 2.0
9 stars 25 forks source link

setInitialHash is removed in Mendix 8 #12

Open Rvthof opened 5 years ago

Rvthof commented 5 years ago

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)

qntbkk commented 4 years ago

change to

if (type == PrimitiveType.HashString) ((MendixHashString) obj.getMember(context, name)).setValue(context, (String) convertedValue); else