注意:"%" + condition + "%" ,condition 是 查询条件
public List findListByConditions(String condition) throws Exception
{
List l=new ArrayList();
String hql="from Jobtsysinfo as p where p.title like ? ";
String[] objs=new String[1];
objs[0]="%" + condition + "%";
}
posted @ 2007-10-16 17:35
王兴2008-偶想家了! 阅读(491)
评论(0) 编辑 收藏