use to_char when comparing clob to string on oracle, use execute audited
Merge pull request #3826 from owncloud/fix_webdav_locking_for_oracle

use to_char when comparing clob to string on oracle, use execute audited