fix oracle db type conversions