“The Book of Kohelet “had come to be associated with the name of Solomon, traditional patron of Wisdom in Israel

…the book had come to be associated with the name of Solomon, traditional patron of Wisdom in Israel.  This association undoubtedly contributed to the final decision to retain Qoheleth-Ecclesiastes among so many other works with whose teachings it was at variance.  Actually, the name of Solomon does not appear anywhere in the book.  The author is identified in i1 simply as “son of David, king in Jerusalem,” which claims no more than that he was a king “of the house and lineage of David”….  There can be no question, however, that, in i12-13,16, ii1-9, the writer pictures himself, for the purposes of his argument, in the role of the Solomon of legendary wealth and wisdom.  There is, of course, no possibility that the Solomon of history composed this book; to claim this is like claiming that a book about Marxism in modern English idiom and spelling was written by Henry VIII.  The editor’s biographical notes in xii9-10 do not suggest even remotely that Qoheleth was, in fact, a king, let alone Solomon.  The ascription of Wisdom writings to Solomon was a literary convention.

R.B.Y. Scott, Proverbs and Ecclesiastes (Garden City, NY: Doubleday & Company, 1965), 195-196.