Small nitpick - convention is to prefix all named query constants with "QUERY_" so I would name this "QUERY_FIND_BY_NAME_WITH_SUBCATEGORIES"