check item id is set
fix type of numeric columns
Merge pull request #3865 from owncloud/fix_test_for_oracle

Fix sharing test for oracle