Use at the end of the line like
someSQL = select result
from myTable
where y = 2
and x = ?
order by z
Also, beware of any trailing whitespaces since Java looks for consecutive backslash+linebreak when assembling the lines.
Put differently : The backslash has to be the very last caracter on the line before the line break.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…