Package com.ufis_as.ufisapp.server.oldflightdata.entities

Examples of com.ufis_as.ufisapp.server.oldflightdata.entities.EntDbJnotab


    Query query = em.createNamedQuery("EntDbJnotab.findByKey");
    query.setParameter("keys", keys);
    try {
      List<EntDbJnotab> list = query.getResultList();
      if (list != null && list.size() > 0) {
        EntDbJnotab entity = list.get(0);
        nextValue = entity.getValue();
        // after fetched next value, update new value
        entity.setValue(entity.getValue() + allocateSize);
        em.merge(entity);
      }
    } catch (Exception e) {
      LOG.error("Cannot get next value by key.");
      LOG.error("Exception: {}", e.getMessage());
View Full Code Here

TOP

Related Classes of com.ufis_as.ufisapp.server.oldflightdata.entities.EntDbJnotab

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.