ProcessDeploymentQueueDAO { public ProcessDeploymentQueue get(Long id) { Session session = sessionFactory.openSession(); session.beginTransaction(); ProcessDeploymentQueue processDeploymentQueue = (ProcessDeploymentQueue) session.get(ProcessDeploymentQueue.class, id); session.getTransaction().commit(); session.close(); return processDeploymentQueue; }  List<ProcessDeploymentQueue> list(Integer pageNum, Integer numResults); Integer totalRecordCount(); ProcessDeploymentQueue get(Long id); Long insert(ProcessDeploymentQueue processDeploymentQueue); void update(ProcessDeploymentQueue processDeploymentQueue); ProcessDeploymentQueue insertProcessDeploymentQueue(Integer processId, String userName); void delete(Long id);  }
@Test @Ignore public void testGet() throws Exception { LOGGER.info("ProcessDeploymentQueue(0) username :" + processDeploymentQueueDAO.get((long) 0).getUserName()); }