jOOQ/jOOQ — pull request #2251 by joe776 (2013-02-20 13:40:14+00:00)
Title: Prevent IndexOutOfBoundException

A query like "SELECT 1 FROM DUAL; -- some comment" causes an exception as Utils.renderAndBind is explicitly looking for the newline character, which never comes.
Normally, and I think according to the standard, a single line comment should be terminated by a newline. However, it should not be harmful to tolerate this case.