premaseem.wordpress.com
JavaTip : Use set as duplicate remover
1. You fired a query and got results which have duplicates like List resultWithDuplicates = getSession().createQuery(“select * from tablename”); 2. Way to remove duplicate is Set&lt…