ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27739] - sql insert statement fails on '--' strings
Date Fri, 19 Mar 2004 15:40:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27739>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27739

sql insert statement fails on '--' strings





------- Additional Comments From jose@cellectivity.com  2004-03-19 15:40 -------
ANT does not really parse the SQL, so it does not know whether a -- ia inside
a string value or in a comment position.

The reason comments are stripped in the first place was that in certain JDBC 
drivers (MSSQLServer comes to mind) you are not allowed to have comments not 
newlines nor anything. ANT is trying very hard to make it work there.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message