public void save() throws RegistryException {
EntityManager em = null;
try {
em = ResourceUtils.getEntityManager();
Experiment_Output existingOutput = em.find(Experiment_Output.class, new Experiment_Output_PK(experimentResource.getExpID(), experimentKey));
em.close();
em = ResourceUtils.getEntityManager();
em.getTransaction().begin();
Experiment_Output exOutput = new Experiment_Output();