emacarron / mybatis

Automatically exported from code.google.com/p/mybatis
0 stars 0 forks source link

#-symbol thru /**/ comments #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I use 2.3.0.677 version of iBATIS.

When i mapped query in xml-file in <sqlMap>-tag, i had used /* */ - symbols for 
comments. I left the parameter between #-symbols. Inspite of comments, iBATIS 
parsed comments and get the parameter:

/*
CONNECT BY PRIOR ID = #PARENT_ID#
START WITH ID = 1;
*/
--- #PARENT_ID# - is not commented. It will be passed to the DataBase.

Original issue reported on code.google.com by ron.x.by...@gmail.com on 30 Jun 2010 at 12:55

GoogleCodeExporter commented 9 years ago
This is not the proper XML comment format.

XML comments must be delimited with <!-- -->

Original comment by jeffgbut...@gmail.com on 12 Dec 2010 at 10:18