db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1493) EmbeddedDriver does not implement PreparedStatement.setNull(int, int, String)
Date Fri, 14 Jul 2006 13:12:14 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1493?page=comments#action_12421110 ] 
Knut Anders Hatlen commented on DERBY-1493:

The code changes look good, but the javadoc describes the method with two parameters, not
the one with three parameters.
In prepStmtNull.java, the indentation doesn't match the surrounding code. The surrounding
code uses three tabs, whereas the new code uses 23 spaces.

> EmbeddedDriver does not implement PreparedStatement.setNull(int, int, String)
> -----------------------------------------------------------------------------
>                 Key: DERBY-1493
>                 URL: http://issues.apache.org/jira/browse/DERBY-1493
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>         Assigned To: V.Narayanan
>         Attachments: DERBY-1493_v1.diff, DERBY-1493_v1.stat
> The embedded driver throws Util.notImplemented() when PreparedStatement.setNull(int,
int, String) is called. The javadoc says that "[if] the parameter does not have a user-defined
or REF type, the given typeName is ignored." The client driver correctly ignores typeName
and forwards the call to setNull(int, int). Embedded should be changed to match the client.

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


View raw message