The first table contain list from Database and store in qry and the second table also contain list from Database and store in qry1 then how to append these list in the third qry2.
Query qry = getSession().createQuery("select * from table1");
Query qry1 = getSession().createQuery("select * from table2");
Query qry2 = dry+qry1;