I've recently read Stephen Mitchell's Gilgamesh. Mitchell made the Gilgamesh story seem more entertaining than Rosenberg's translation of J's work.
Not only was there a flood, but also a serpent to tie these two stories together. The flood was a detail in both, however, it made me suspect that the Israelites received this story through the Hittites since Solomon was at least half Hittite being Bathsheba's son.
In looking up Bathsheba, it appears (http://en.wikipedia.org/wiki/Bathsheba)
Bathsheba was a daughter of Eliam, one of David's "thirty" (2 Sam. 23:34; cf 1 Chr. 3:5); Eliam was the son of Ahitophel, one of David's chief advisors.