clear entity cache on rollback

updated entities where persisting in the cache after a rollback so that
incorrect results are returned from queries