Bug 1121985 - Test scenario: Not working with Java enums
fixed JPAPlaceholderResolverStrategy to be able to process entities during beforeCompletion phase when process variables and facts are transformed
avoid concurrent modification exceptions in edge cases by using iterator