[#3430] JDBC escape syntax is not correctly rendered from plain SQL when plain SQL contains newlines