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

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


        HpUfisCalendar ufisCal = new HpUfisCalendar(new Date());
        ufisCal.DateAdd(HpUfisAppConstants.OFFSET_LOCAL_UTC,
            EnumTimeInterval.Hours);
        utcCdat = ufisCal.getTime();

        EntDbIrmtab irmEntity = new EntDbIrmtab();
        // composite pkey
        irmEntity.setId(new EntDbIrmCompositeId(irmNextUrno, dtfl));

        irmEntity.setData(messageBody);
        irmEntity.setCdat(utcCdat);
        irmEntity.setQnam(incomingMessage.getJMSDestination()
            .toString());
        em.persist(irmEntity);
        // cache the maximum urno
        irmNextUrno += 1;
      }
View Full Code Here


        HpUfisCalendar ufisCal = new HpUfisCalendar(new Date());
        ufisCal.DateAdd(HpUfisAppConstants.OFFSET_LOCAL_UTC,
            EnumTimeInterval.Hours);
        utcCdat = ufisCal.getTime();

        EntDbIrmtab irmEntity = new EntDbIrmtab();
        // composite pkey
        irmEntity.setId(new EntDbIrmCompositeId(irmNextUrno, dtfl));

        irmEntity.setData(messageBody);
        irmEntity.setCdat(utcCdat);
        irmEntity.setQnam(incomingMessage.getJMSDestination()
            .toString());
        em.persist(irmEntity);
        // cache the maximum urno
        irmNextUrno += 1;
        LOG.info("Total Time to insert the record in IRMTAB(ms) :{}", (new Date().getTime() - startTime));
View Full Code Here

        HpUfisCalendar ufisCal = new HpUfisCalendar(new Date());
        ufisCal.DateAdd(HpUfisAppConstants.OFFSET_LOCAL_UTC, EnumTimeInterval.Hours);
        utcCdat = ufisCal.getTime();

        EntDbIrmtab irmEntity = new EntDbIrmtab();
        // composite pkey
        irmEntity.setId(new EntDbIrmCompositeId(irmNextUrno, dtfl));

        irmEntity.setData(messageBody);
        irmEntity.setCdat(utcCdat);
        irmEntity.setQnam(incomingMessage.getJMSDestination().toString());
        irmEntity.setStat(statMsg);
        em.persist(irmEntity);
        // cache the maximum urno
        irmNextUrno += 1;
      }
    } catch (Exception e) {
View Full Code Here

    }
    return urno;
  }
 
  public EntDbIrmtab getPaxMsgById(long urno) {
    EntDbIrmtab entity = null;
    try {
      Query paxQuery = em.createQuery(
          "SELECT e FROM EntDbIrmtab e WHERE e.id.dtfl = :dtfl AND e.id.urno = :urno",
          EntDbIrmtab.class);
      paxQuery.setParameter("dtfl", "PAX-TMP");
View Full Code Here

        HpUfisCalendar ufisCal = new HpUfisCalendar(new Date());
        ufisCal.DateAdd(HpUfisAppConstants.OFFSET_LOCAL_UTC,
            EnumTimeInterval.Hours);
        utcCdat = ufisCal.getTime();

        EntDbIrmtab irmEntity = new EntDbIrmtab();
       
        ReUrno = irmNextUrno;  //  added by 2014-01-22
        // composite pkey
        irmEntity.setId(new EntDbIrmCompositeId(ReUrno, dtfl));
   
       
        irmEntity.setData(messageBody);
        irmEntity.setCdat(utcCdat);
        irmEntity.setQnam(incomingMessage.getJMSDestination()
            .toString());
        em.persist(irmEntity);
        // cache the maximum urno
        irmNextUrno += 1;
        LOG.info("Total Time to insert the record in IRMTAB(ms) :{}", (new Date().getTime() - startTime));
View Full Code Here

        HpUfisCalendar ufisCal = new HpUfisCalendar(new Date());
        ufisCal.DateAdd(HpUfisAppConstants.OFFSET_LOCAL_UTC, EnumTimeInterval.Hours);
        utcCdat = ufisCal.getTime();

        EntDbIrmtab irmEntity = new EntDbIrmtab();
        // composite pkey
        irmEntity.setId(new EntDbIrmCompositeId(irmNextUrno, dtfl));

        irmEntity.setData(messageBody);
        irmEntity.setCdat(utcCdat);
        irmEntity.setQnam(incomingMessage.getJMSDestination().toString());
        irmEntity.setStat(statMsg);
        em.persist(irmEntity);
        // cache the maximum urno
        irmNextUrno += 1;
      }
    } catch (Exception e) {
View Full Code Here

    }
    return urno;
  }
 
  public EntDbIrmtab getPaxMsgById(long urno) {
    EntDbIrmtab entity = null;
    try {
      Query paxQuery = em.createQuery(
          "SELECT e FROM EntDbIrmtab e WHERE e.id.dtfl = :dtfl AND e.id.urno = :urno",
          EntDbIrmtab.class);
      paxQuery.setParameter("dtfl", "PAX-TMP");
View Full Code Here

TOP

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

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.