try {
JPAService jpaService = Services.get().get(JPAService.class);
List<SLAEventBean> slaEventList = null;
long lastSeqId[] = new long[1];
if (jpaService != null) {
slaEventList = jpaService.execute(new SLAEventsGetForSeqIdJPAExecutor(seqId, maxNoEvents, lastSeqId));
}
else {
LOG.error(ErrorCode.E0610);
}
setLastSeqId(lastSeqId[0]);