CrOrc / mybatisnet

Fork from code.google.com/p/mybatisnet. Time to start fixing issues.
5 stars 6 forks source link

generate tag error #55

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the MyBatis.NET are you using?
1.6.2.0

Please describe the problem.  Unit tests are best!
when i use <generate> tag in a <update> tag, the generated sql statement has a 
problem that there isn't a comma between fields.Like this ,"update category set 
CategoryName='a' Description='b' where Category = 1"

What is the expected output? What do you see instead?
expected:"update category set CategoryName='a', Description='b' where Category 
= 1"
what i see:"update category set CategoryName='a' Description='b' where Category 
= 1"
Please provide any additional information below.

Original issue reported on code.google.com by kaixinh...@gmail.com on 10 Sep 2013 at 2:56