XWIKI-9019: Unable to delete attachments, rename documents and delete documents from Main wiki on Oracle 11G R2
* Add unit test to fix TPC failure