Package edu.zzuli.model.dao

Examples of edu.zzuli.model.dao.BasePO


    getHibernateTemplate().save(basePO);
  }

  public int save(List<BasePO> listBasePO) throws DataAccessException {
    for (int i = 0; i < listBasePO.size(); i++) {
      BasePO basePO = (BasePO) listBasePO.get(i);
      getHibernateTemplate().save(basePO);
    }
    return listBasePO.size();
  }
View Full Code Here


    getHibernateTemplate().update(basePO);
  }

  public void update(List<BasePO> listBasePO) throws DataAccessException {
    for (int i = 0; i < listBasePO.size(); i++) {
      BasePO basePO = (BasePO) listBasePO.get(i);
      getHibernateTemplate().update(basePO);
    }
  }
View Full Code Here

    delete(basePO, basePO.getStrKeyWhere());
  }

  public void delete(List<BasePO> listBasePO) throws DataAccessException {
    for (int i = 0; i < listBasePO.size(); i++) {
      BasePO basePO = (BasePO) listBasePO.get(i);
      delete(basePO);
    }
  }
View Full Code Here

    getHibernateTemplate().saveOrUpdate(basePO);
  }

  public void saveOrUpdate(List<BasePO> listBasePO) {
    for (int i = 0; i < listBasePO.size(); i++) {
      BasePO basePO = (BasePO) listBasePO.get(i);
      getHibernateTemplate().saveOrUpdate(basePO);
    }
  }
View Full Code Here

TOP

Related Classes of edu.zzuli.model.dao.BasePO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.