execute pre persist callback before entity validation