generate for update is wrong ---------------------------- Key: IBATISNET-265 URL: https://issues.apache.org/jira/browse/IBATISNET-265 Project: iBatis for .NET Issue Type: Bug Components: DataMapper Affects Versions: DataMapper 1.6.1 Environment: All environments Reporter: Anonymous Alcohol
When using ibatis to generate an update statement it ignores fields that is in the by field. example: Tablename Test Fields TestID est add parametermap use <generate table="Test" by="TestID"/> then execute an update Error is in: IBatisNet.DataMapper.Configuration.Statements.SqlGenerator.BuildUpdateQuery line 210 possible sollution: if (update.Generate.By.ToLower() != property.ColumnName.ToLower()) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.