<generate> works incorrectly for update ---------------------------------------
Key: IBATISNET-200 URL: http://issues.apache.org/jira/browse/IBATISNET-200 Project: iBatis for .NET Issue Type: Bug Components: DataMapper Affects Versions: DataMapper 1.5.1 Environment: Windows XP SP2, SQLEXPRESS Reporter: Bill Sorensen Priority: Minor <update id="Update" parameterClass="ProductGenerate" parameterMap="ProductGenerateParams"> <generate table="PT_Product" by="PT_Product_ID"/> </update> with the following parameters (obvious table schema) <parameter property="Id" column="PT_Product_ID"/> <parameter property="Name" column="PT_Product_Name"/> <parameter property="ObjectType" column="PT_Product_Object_Type_ID"/> generates [DEBUG] Statement Id: [ProductGenerateMap.Update] PreparedStatement : [UPDATE PT_Product SET PT_Product_Name = @param0 PT_Product_Object_Type_ID = @param1 WHERE PT_Product_ID = @param2] (Note the missing comma.) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira