storeObj(t);
return (Docket) retrieveObj(Docket.class, t.getId());
}
public Docket get(Integer id) throws DAOException {
Docket rueckgabe = (Docket) retrieveObj(Docket.class, id);
if (rueckgabe == null) {
throw new DAOException("Object can not be found in database");
}
return rueckgabe;
}