will the before or after hook method be called if the insert occours from some other connection but the present connection is still open.