@Test public void testReadFails() throws Exception { ServiceDefinition service = dao.getServiceDefinition("00000000", "00000000", "00000003"); assertNull(service); }
public ServiceDefinition getServiceDefinition(String key) { LOGGER.debug("get ServiceDefinition(key = \"{}\")", key); ServiceDefinition serviceDefinition = (ServiceDefinition) getHibernateTemplate().get(ServiceDefinition.class, key); LOGGER.debug("get ServiceDefinition(key = \"{}\") = {}", key, serviceDefinition); return serviceDefinition; }
HibernateServiceDefinitionDao extends HibernateDaoSupport implements ServiceDefinitionDao { public ServiceDefinition getServiceDefinition(String key) { LOGGER.debug("get ServiceDefinition(key = \"{}\")", key); ServiceDefinition serviceDefinition = (ServiceDefinition) getHibernateTemplate().get(ServiceDefinition.class, key); LOGGER.debug("get ServiceDefinition(key = \"{}\") = {}", key, serviceDefinition); return serviceDefinition; } }
HibernateServiceDefinitionDao extends HibernateDaoSupport implements ServiceDefinitionDao { public ServiceDefinition getServiceDefinition(String key) { LOGGER.debug("get ServiceDefinition(key = \"{}\")", key); ServiceDefinition serviceDefinition = (ServiceDefinition) getHibernateTemplate().get(ServiceDefinition.class, key); LOGGER.debug("get ServiceDefinition(key = \"{}\") = {}", key, serviceDefinition); return serviceDefinition; }  }
HibernateServiceDefinitionDao extends HibernateDaoSupport implements ServiceDefinitionDao { public ServiceDefinition getServiceDefinition(String key) { LOGGER.debug("get ServiceDefinition(key = \"{}\")", key); ServiceDefinition serviceDefinition = (ServiceDefinition) getHibernateTemplate().get(ServiceDefinition.class, key); LOGGER.debug("get ServiceDefinition(key = \"{}\") = {}", key, serviceDefinition); return serviceDefinition; }  ServiceDefinition getServiceDefinition(String key); @SuppressWarnings("unchecked") ServiceDefinition getServiceDefinition(String systemKey, String serviceId); @SuppressWarnings("unchecked") ServiceDefinition getServiceDefinition(String organizationId, String systemId, String serviceId); }
HibernateServiceDefinitionDao extends HibernateDaoSupport implements ServiceDefinitionDao { public ServiceDefinition getServiceDefinition(String key) { LOGGER.debug("get ServiceDefinition(key = \"{}\")", key); ServiceDefinition serviceDefinition = (ServiceDefinition) getHibernateTemplate().get(ServiceDefinition.class, key); LOGGER.debug("get ServiceDefinition(key = \"{}\") = {}", key, serviceDefinition); return serviceDefinition; }  ServiceDefinition getServiceDefinition(String key); @SuppressWarnings("unchecked") ServiceDefinition getServiceDefinition(String systemKey, String serviceId); @SuppressWarnings("unchecked") ServiceDefinition getServiceDefinition(String organizationId, String systemId, String serviceId);  }