import org.timedex.dao.interfaces.RevisionDAO;
public class RevisionDAOImpl extends AbstractDAOImpl<Revision> implements RevisionDAO {
public Revision findByPage(Page page) {
Revision result = (Revision)getCurrentSession()
.createCriteria(Revision.class)
.add(Restrictions.eq("page", page))
.uniqueResult();
return result;
}