public void save() throws RegistryException{
EntityManager em = null;
try {
em = ResourceUtils.getEntityManager();
NodeOutput existingOutput = em.find(NodeOutput.class, new NodeOutput_PK(outputKey, nodeDetailResource.getNodeInstanceId()));
em.close();
em = ResourceUtils.getEntityManager();
em.getTransaction().begin();
NodeOutput nodeOutput = new NodeOutput();