You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2006/09/18 23:01:25 UTC

[jira] Created: (DERBY-1864) Update on connected DataSet from EOD query ignores @ResultColumn annotation for column mapping.

Update on connected DataSet from EOD query  ignores @ResultColumn annotation for column mapping.
------------------------------------------------------------------------------------------------

                 Key: DERBY-1864
                 URL: http://issues.apache.org/jira/browse/DERBY-1864
             Project: Derby
          Issue Type: Bug
          Components: JDBC
    Affects Versions: 10.2.1.0, 10.3.0.0
         Environment: Mustang b98
            Reporter: Daniel John Debrunner


With a @ResultColumn mapping in my data-class like

    @ResultColumn(name="C_ID", uniqueIdentifier=true)
    public short id;

when attempting to modify the data class object and then executing DataSet.modify() I see an exception because the column 'id'
cannot be found in the ResultSet. Due to the mapping, shouldn't the column name 'C_ID' be used.

-- 
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: (DERBY-1864) Update on connected DataSet from EOD query ignores @ResultColumn annotation for column mapping.

Posted by "Daniel John Debrunner (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-1864?page=all ]

Daniel John Debrunner closed DERBY-1864.
----------------------------------------

    Resolution: Won't Fix

EoD is being dropped from JDBC 4.

> Update on connected DataSet from EOD query  ignores @ResultColumn annotation for column mapping.
> ------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1864
>                 URL: http://issues.apache.org/jira/browse/DERBY-1864
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.2.1.6, 10.3.0.0
>         Environment: Mustang b98
>            Reporter: Daniel John Debrunner
>
> With a @ResultColumn mapping in my data-class like
>     @ResultColumn(name="C_ID", uniqueIdentifier=true)
>     public short id;
> when attempting to modify the data class object and then executing DataSet.modify() I see an exception because the column 'id'
> cannot be found in the ResultSet. Due to the mapping, shouldn't the column name 'C_ID' be used.

-- 
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