bugs 1189,  part of 1206

git-svn-id: svn://svn.forge.objectweb.org/svnroot/spagobi/V_4.x/Server/trunk@20123 99afaf0d-6903-0410-885a-c66a8bbb5f81
bug 1206: error deleting dataset version

git-svn-id: svn://svn.forge.objectweb.org/svnroot/spagobi/V_4.x/Server/trunk@20124 99afaf0d-6903-0410-885a-c66a8bbb5f81