select tree_id, subtree_category_id from category_tree_map where object_id = :package_id and require_category_p = 't'