Package es.emergya.bbdd.bean

Examples of es.emergya.bbdd.bean.Street


    if (s == null || s.getId() == null) {
      return res;
    }
    Session currentSession = getSession();
    currentSession.clear();
    Street entity = get(s.getId());
    if (entity != null) {
      entity.setCentroid(s.getCentroid());
      currentSession.saveOrUpdate(entity);
    }

    return res;
  }
View Full Code Here


   * @param codigoine
   * @return
   */
  @Transactional(readOnly = true, rollbackFor = Throwable.class, propagation = Propagation.REQUIRES_NEW)
  public Street getByCodigoIne(Integer codigoine) {
    Street res = null;
    Session currentSession = getSession();
    currentSession.flush();
    Criteria criteria = currentSession.createCriteria(Street.class).add(
        Restrictions.eq("codigoine", codigoine));
    res = (Street) criteria.uniqueResult();
View Full Code Here

TOP

Related Classes of es.emergya.bbdd.bean.Street

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.