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.