Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 976 → Rev 977

/kickup/trunk/src/ak/kickup/core/model/ParticipantManager.java
86,6 → 86,25
}
}
 
public Participant findForEmail(String email)
throws ModelException
{
try {
List list = HibernateUtil.currentSession().find(
"from Participant where email = ?",
email, Hibernate.STRING );
 
if(list.size() == 0)
return null;
else
return (Participant)list.get(0);
}
catch(HibernateException ex)
{
throw new ModelException(ex);
}
}
 
public boolean emailExists(Participant participant, String email)
throws ModelException
{