return getHibernateTemplate().find("from LogPostings l where l.channel.id like ? order by l.date ASC",new Integer (channel_id),Hibernate.INTEGER);
return getHibernateTemplate().find("from LogPostings l where l.channel.id like ? order by l.date ASC limit ?", new Object[] {new Integer (channel_id), new Integer(upperLimit)}, new Type [] {Hibernate.INTEGER, Hibernate.INTEGER});
    public Collection getLogPostings (int channel_id)    {        return getHibernateTemplate().find("from LogPostings l where l.channel.id like ? order by l.date ASC",new Integer (channel_id),Hibernate.INTEGER);     }