public static CategoryList getCategoryList() throws ESellException{	
		
		ArrayList<Category> categoryList = new ArrayList<Category>();
		
		makeConnection();
    	PreparedStatement preparedStatement = null;
    	
        if(conn != null)
        {
            try {
            	//Statement vorbereiten
                String sql = "SELECT * from categories";
                preparedStatement = conn.prepareStatement(sql);
                
                //Statement absetzen
                ResultSet result = preparedStatement.executeQuery();
                
                //Fr jeden Datensatz ein Objekt anlegen und in die Liste packen
                while(result.next())
                {
                	categoryList.add(new Category(result));
                }
                
                return new CategoryList(categoryList);
                
            } catch (SQLException e) {
            	// ToDo
                e.printStackTrace();
                throw new ESellException(ESellException.ErrorCode.DB_ERR);
            }
        }
        else
        	throw new ESellException(ESellException.ErrorCode.DB_ERR);
	}