@Test public void testReadFails() throws Exception { RecordTypeDefinition rtd = dao.getRecordTypeDefinition("x"); assertNull(rtd); }
public RecordTypeDefinition getRecordTypeDefinition(String id) { LOGGER.debug("get RecordTypeDefinition(id = \"{}\")", id); RecordTypeDefinition recordTypeDefinition = (RecordTypeDefinition) getHibernateTemplate().get(RecordTypeDefinition.class, id); LOGGER.debug("get RecordTypeDefinition(id = \"{}\") = {}", id, recordTypeDefinition); return recordTypeDefinition; }
HibernateRecordTypeDefinitionDao extends HibernateDaoSupport implements RecordTypeDefinitionDao { public RecordTypeDefinition getRecordTypeDefinition(String id) { LOGGER.debug("get RecordTypeDefinition(id = \"{}\")", id); RecordTypeDefinition recordTypeDefinition = (RecordTypeDefinition) getHibernateTemplate().get(RecordTypeDefinition.class, id); LOGGER.debug("get RecordTypeDefinition(id = \"{}\") = {}", id, recordTypeDefinition); return recordTypeDefinition; } }
HibernateRecordTypeDefinitionDao extends HibernateDaoSupport implements RecordTypeDefinitionDao { public RecordTypeDefinition getRecordTypeDefinition(String id) { LOGGER.debug("get RecordTypeDefinition(id = \"{}\")", id); RecordTypeDefinition recordTypeDefinition = (RecordTypeDefinition) getHibernateTemplate().get(RecordTypeDefinition.class, id); LOGGER.debug("get RecordTypeDefinition(id = \"{}\") = {}", id, recordTypeDefinition); return recordTypeDefinition; }  }
HibernateRecordTypeDefinitionDao extends HibernateDaoSupport implements RecordTypeDefinitionDao { public RecordTypeDefinition getRecordTypeDefinition(String id) { LOGGER.debug("get RecordTypeDefinition(id = \"{}\")", id); RecordTypeDefinition recordTypeDefinition = (RecordTypeDefinition) getHibernateTemplate().get(RecordTypeDefinition.class, id); LOGGER.debug("get RecordTypeDefinition(id = \"{}\") = {}", id, recordTypeDefinition); return recordTypeDefinition; }  RecordTypeDefinition getRecordTypeDefinition(String id); }
HibernateRecordTypeDefinitionDao extends HibernateDaoSupport implements RecordTypeDefinitionDao { public RecordTypeDefinition getRecordTypeDefinition(String id) { LOGGER.debug("get RecordTypeDefinition(id = \"{}\")", id); RecordTypeDefinition recordTypeDefinition = (RecordTypeDefinition) getHibernateTemplate().get(RecordTypeDefinition.class, id); LOGGER.debug("get RecordTypeDefinition(id = \"{}\") = {}", id, recordTypeDefinition); return recordTypeDefinition; }  RecordTypeDefinition getRecordTypeDefinition(String id);  }