Experimenter e = new Experimenter(); e.setOmeName("test"); session.save(e);
Experimenter e = (Experimenter) session.createQuery(" from Experimenter e where e.omeName = 'test' ").uniqueResult(); if (null == e) { e = new Experimenter(); e.setOmeName("test"); session.save(e); }
            public Object doInHibernate(org.hibernate.Session session)                throws org.hibernate.HibernateException, java.sql.SQLException            {                Experimenter e = new Experimenter();                e.setOmeName("test");                session.save(e);                                return e;            }