return (List) getHibernateTemplate().execute(new HibernateCallback() {
return (List<T>) getHibernateTemplate().execute(new HibernateCallback() {
    public List findAllByExample(final IObject example, final Filter filter)    {        return (List) getHibernateTemplate().execute(new HibernateCallback() {            public Object doInHibernate(Session session)                    throws HibernateException {                Criteria c = session.createCriteria(example.getClass());                c.add(Example.create(example));                parseFilter(c,filter);                return c.list();                            }        });    }