Queryq=dao.getQuery("select tr from "+dao.getEntityName()+" tr join fetch tr.ownedBy join tr.centre c where tr.state != :state and c in (:wgList) and kind = :kind order by tr.numser");
Queryq=dao.getQuery("select tr from "+dao.getEntityName()+" tr join fetch tr.ownedBy join tr.centre c where c in (:wgList) and kind = :kind order by tr.numser");
Queryq=dao.getQuery("select tr from "+dao.getEntityName()+" tr join fetch tr.ownedBy join tr.centre c where tr.state != :state and c in (:wgList) and kind = :kind order by tr.numser");
Queryq=dao.getQuery("select tr from "+dao.getEntityName()+" tr join fetch tr.ownedBy join tr.centre c where c in (:wgList) and kind = :kind order by tr.numser");
Queryq=dao.getQuery("select tr from "+dao.getEntityName()+" tr join fetch tr.ownedBy join tr.centre c where tr.state != :state and c in (:wgList) order by tr.numser");
Queryq=dao.getQuery("select tr from "+dao.getEntityName()+" tr join fetch tr.ownedBy join tr.centre c where c in (:wgList) order by tr.numser");
Queryq=dao.getQuery("select tr from "+dao.getEntityName()+" tr join fetch tr.ownedBy join tr.workgroup w where tr.state != :state and w in (:wgList) order by tr.numser");
Queryq=dao.getQuery("select tr from "+dao.getEntityName()+" tr join fetch tr.ownedBy join tr.workgroup w where w in (:wgList) order by tr.numser");