[ https://issues.apache.org/jira/browse/IBATISNET-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles Bayon closed IBATISNET-200. ---------------------------------- Resolution: Won't Fix Assignee: Gilles Bayon V2 will introduce new features to generate statement > <generate> works incorrectly for update > --------------------------------------- > > Key: IBATISNET-200 > URL: https://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 > Assignee: Gilles Bayon > 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. - You can reply to this email to add a comment to the issue online.