OPENJPA-754: Add additional condition to determine if the pre/postUpdate callback should be called - back ported to 1.2.x Albert Lee's trunk changes.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.2.x@1517039 13f79535-47bb-0310-9956-ffa450edef68