[ http://issues.apache.org/jira/browse/LOG4NET-28?page=all ]
     
Nicko Cadell resolved LOG4NET-28:
---------------------------------

    Resolution: Fixed

Fix to AdoNetAppenderParameter FormatValue to convert the null runtime value to 
DBNull value.

> AdoNetAppender does not support inserting NULL into columns
> -----------------------------------------------------------
>
>          Key: LOG4NET-28
>          URL: http://issues.apache.org/jira/browse/LOG4NET-28
>      Project: Log4net
>         Type: Bug
>   Components: Appenders
>     Versions: 1.2.9
>     Reporter: Nicko Cadell
>     Assignee: Nicko Cadell
>     Priority: Minor
>      Fix For: 1.2.10

>
> The AdoNetAppender does not support inserting NULL values into columns.
> If a column allows NULL values then the AdoNetAppender should allow NULL 
> values to be inserted. For most value types this means using the DBNull value 
> for the parameter. The AdoNetAppenderParameter should convert CLI null values 
> into DBNull values before setting the parameter value.

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

Reply via email to