KRACOEUS-8333:fixed issues with data types on data override controller

Why do we use the editableColumn.getDataType in some cases, but the database type in others? And wouldn't it be easier to check the BO itself for the type instead of relying on the database metadata if we aren't going to trust the maintained type?