Backported entity cache fixes from the trunk. This commit breaks the rule of no API changes in a release, but I am making an exception here because the methods that were removed should NEVER be used because they GUARANTEE data corruption.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release12.04@1486310 13f79535-47bb-0310-9956-ffa450edef68