public WorkflowEntry findEntry(long entryId) { try { List result = session.find("FROM entry IN CLASS " + HibernateWorkflowEntry.class.getName() + " WHERE entry.id = ?", new Long(entryId), Hibernate.LONG);  return (WorkflowEntry) result.get(0); } catch (HibernateException e) { log.error("An exception occured", e);  return null; } }
public WorkflowEntry findEntry(long entryId) throws StoreException { try { List result = session.find("FROM entry IN CLASS " + HibernateWorkflowEntry.class.getName() + " WHERE entry.id = ?", new Long(entryId), Hibernate.LONG);  return (WorkflowEntry) result.get(0); } catch (HibernateException he) { log.error("Looking for entry " + entryId, he); throw new StoreException("Loooking for entry " + entryId, he); } }
    public WorkflowEntry findEntry(long entryId) {        try {            List result = session.find("FROM entry IN CLASS " + HibernateWorkflowEntry.class.getName() + " WHERE entry.id = ?", new Long(entryId), Hibernate.LONG);            return (WorkflowEntry) result.get(0);        } catch (HibernateException e) {            log.error("An exception occured", e);            return null;        }    }