What version of the MyBatis.NET are you using?
1.6.2 DataMapper and 1.9.2 DataAccess
Please describe the problem. Unit tests are best!
When I use the <generate> tag in my update statement.Mybatis generate the wrong
sql.
The log:
2011-03-17 15:11:24,802 [5700] DEBUG
IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory [(null)]
- Statement Id: [updateWorkLoad] Prepared SQL: [UPDATE WorkLoad SET ProjectId
= ?param0, Content = ?param1, FillDate = ?param2, FillPersonId =
?param3, FillPersonName = ?param4, FillPersonDepartmentId = ?param5
FillPersonDepartmentName = ?param6 WHERE Sid = ?param7]
It miss a "," before "FillPersonDepartmentName".And every update statement is
not correct.
What is the expected output? What do you see instead?
Please provide any additional information below.
I have upload the sqlmap file.
Original issue reported on code.google.com by languanhao on 17 Mar 2011 at 7:29
Original issue reported on code.google.com by
languanhao
on 17 Mar 2011 at 7:29Attachments: