How do you say "I hate cheese" in Russian? I want to know whether after the verb "ненавидять" I should use genitive or accusative nouns.

Which one is correct?

1. Я ненавижу сыр.
2. Я ненавижу сыра.