hql语句查询实体类News的属性category为“生活类新闻”的LIST,HQL语句怎么写?

用SSH框架,写一个实现类,查询实体类News的属性category为“生活类新闻”的LIST
返回一个LIST,该怎么写????????????????????
实体类为News 属性为category
数据库中表名为t_news category为属性

 import java.util.List;

import org.springframework.stereotype.Repository;

import com.jy.dao.NewsDao;
import com.jy.dao.impl.common.BaseDaoImpl;
import com.jy.entity.News;
@Repository
public class NewsDaoImpl extends BaseDaoImpl<News> implements NewsDao{
    public List<News> find(String hql, Object... values) {
        return  createQuery(hql, values).list();
    }
}

你想用hql,给数据库表名字没啥用吧,应该是mapping.xml或你dto-dao声明的实例映射表名吧,比如news代表t_news category。
category属性也是需要配置上的。
剩下的应该好写了吧。from news where category=''