try { session.save(entry); } catch (HibernateException e) { log.error("An exception occured", e);
    public WorkflowEntry createEntry(String workflowName) {        HibernateWorkflowEntry entry = new HibernateWorkflowEntry();        entry.setState(WorkflowEntry.CREATED);        entry.setWorkflowName(workflowName);        try {            session.save(entry);        } catch (HibernateException e) {            log.error("An exception occured", e);        }        return entry;    }