You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Bill Sorensen (JIRA)" <ib...@incubator.apache.org> on 2006/12/27 21:45:20 UTC

[jira] Created: (IBATISNET-200) works incorrectly for update

<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

        

[jira] Closed: (IBATISNET-200) works incorrectly for update

Posted by "Gilles Bayon (JIRA)" <ib...@incubator.apache.org>.
     [ 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.