@@ -0,0 +1,1223 @@
+package com.hida.dao;%0A%0Aimport com.hida.model.Pid;%0Aimport java.util.List;%0Aimport org.hibernate.Criteria;%0Aimport org.hibernate.criterion.Restrictions;%0Aimport org.springframework.stereotype.Repository;%0A%0A/**%0A *%0A * @author lruffin%0A */%0A@Repository(%22pidDao%22)%0Apublic class PidDaoImpl extends AbstractDao%3CString, Pid%3E implements PidDao %7B%0A%0A    /**%0A     * missing javadoc%0A     *%0A     * @param name%0A     * @return%0A     */%0A    @Override%0A    public Pid findByName(String name) %7B%0A        return getByKey(name);%0A    %7D%0A%0A    /**%0A     * missing javadoc%0A     *%0A     * @param pid%0A     */%0A    @Override%0A    public void saveEmployee(Pid pid) %7B%0A        persist(pid);%0A    %7D%0A%0A    /**%0A     * missing javadoc%0A     *%0A     * @return%0A     */%0A    @SuppressWarnings(%22unchecked%22)%0A    @Override%0A    public List%3CPid%3E findAllPids() %7B%0A        Criteria criteria = createEntityCriteria();%0A        return (List%3CPid%3E) criteria.list();%0A    %7D%0A%0A    /**%0A     * missing javadoc; currently incomplete%0A     *%0A     * @param regex%0A     * @return%0A     */%0A    @Override%0A    public Pid findPidByRegex(String regex) %7B%0A        Criteria criteria = createEntityCriteria();%0A        criteria.add(Restrictions.eq(%22ssn%22, regex));%0A        return (Pid) criteria.uniqueResult();%0A    %7D%0A%0A%7D%0A

Add PidDaoImpl to dao