首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > Mysql >

hibernate 跟 MySql in的参数变量

2012-11-05 
hibernate和 MySql in的参数变量Mysql :?String hql from UserObd u where u.chariotest in (:list) an

hibernate 和 MySql in的参数变量

Mysql :

?

String hql = "from UserObd u where u.chariotest in (:list) and u.rectime > :syntime";Query query = super.getSession().createQuery(hql).setParameterList("list",chariotest).setDate("syntime", synTime);return query.list();
?

热点排行