Hi,
I've came across an issue with the double-dash comments, as reported here:
https://issues.apache.org/jira/browse/IBATIS-203
In a short:
<select>
SELECT * FROM table
-- Here is my comment.
WHERE col = 5
</select>
gets parsed into
SELECT * FROM table -- Here is my comment. WHERE col = 5
Using other forms of comments reduces the code readability.
Is there any way to switch off removing the newlines in iBatis 2?
Thanks, Ondra
--
View this message in context:
http://www.nabble.com/Setting-for-removing-newlines-from-SQL--tp18916746p18916746.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.