String hql="from "+Item.class.getName()+" i where i.code in ("+codes+")"; //codes= 'a','b','c' 可取code为a,b,c的三个Item对象
hibernateEntityDao.find(hql);
String hql="from "+Item.class.getName()+" i where i.code in ("+codes+")"; //codes= 'a','b','c' 可取code为a,b,c的三个Item对象
hibernateEntityDao.find(hql);