txPolicy.beforeInvoke(null, txContext);
try {
CmpEngine cmpEngine = getCmpEngine(deploymentInfo);
EntityBean bean = (EntityBean) cmpEngine.loadBean(callContext, args[0]);
if (bean == null) {
throw new ObjectNotFoundException(deploymentInfo.getDeploymentID() + " : " + args[0]);
}
// rebuild the primary key
KeyGenerator kg = deploymentInfo.getKeyGenerator();
Object primaryKey = kg.getPrimaryKey(bean);