*/
@SuppressWarnings({ "rawtypes", "unchecked" })
@Override
public List<T> pesquisar(T t) throws DaoException {
HibernateCriteria hCriteria = new HibernateCriteria(getSession());
Criteria criteria = hCriteria.createCriteria(t);
List list = null;
try {
list = criteria.list();
} catch (HibernateException e) {
throw new DaoException(e);