Issue Details (XML | Word | Printable)

Key: LOG4NET-28
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Nicko Cadell
Reporter: Nicko Cadell
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4net

AdoNetAppender does not support inserting NULL into columns

Created: 03/May/05 07:20 PM   Updated: 31/Jan/08 10:15 PM
Return to search
Component/s: Appenders
Affects Version/s: 1.2.9
Fix Version/s: 1.2.10

Time Tracking:
Not Specified

Resolution Date: 03/May/05 07:52 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #312281 Tue May 03 10:48:13 UTC 2005 nicko Fix for LOG4NET-28. AdoNetAppender does not support inserting NULL into columns
Files Changed
MODIFY /logging/log4net/trunk/src/Appender/AdoNetAppender.cs

Repository Revision Date User Message
ASF #617264 Thu Jan 31 22:32:38 UTC 2008 rgrabowski Test for LOG4NET-28 demonstrating how to insert NULL values using both an xml configuration and progmatic configuration.
Files Changed
MODIFY /logging/log4net/trunk/tests/src/Appender/AdoNetAppenderTest.cs