public void destroy(Integer id) throws NonexistentEntityException {
EntityManager em = getEntityManager();
try {
em.getTransaction().begin();
TblRequestQueue tblRequestQueue;
try {
tblRequestQueue = em.getReference(TblRequestQueue.class, id);
tblRequestQueue.getId();
} catch (EntityNotFoundException enfe) {
throw new NonexistentEntityException("The tblRequestQueue with id " + id + " no longer exists.", enfe);
}
em.remove(tblRequestQueue);
em.getTransaction().commit();