HQL中使用in查询

HQL中使用in查询
String hql = " from ACD1Structure structure left join fetch structure.molTable where structure.id in (:ids)";
structures = (List<ACD1Structure>) structureDAO.createQuery(hql). setParameterList("ids", cd_ids).list();

你可能感兴趣的:(HQL中使用in查询)