Bug 1115725 - Operation history continues to grow unbound with no easy way to purge old history

Fix an issue on Oracle, no ID conversion needed, Hibernate does it

Also, some code cleanup