You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Ron Grabowski (JIRA)" <ji...@apache.org> on 2008/01/31 18:47:11 UTC
[jira] Updated: (LOG4NET-141) Add CreateConnection method to
AdoNetAppender to allow subclasses to have control of IDbConnection.
[ https://issues.apache.org/jira/browse/LOG4NET-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ron Grabowski updated LOG4NET-141:
----------------------------------
Attachment: LOG4NET-141_AdoNetAppender.patch
Added CreateConnection method that accepts the resolve connection Type and the resolved connection string. Refactored duplicate code for closing/disposing the IDbCommand IDbConnection objects into DIsposeCommand/Connection.
> Add CreateConnection method to AdoNetAppender to allow subclasses to have control of IDbConnection.
> ---------------------------------------------------------------------------------------------------
>
> Key: LOG4NET-141
> URL: https://issues.apache.org/jira/browse/LOG4NET-141
> Project: Log4net
> Issue Type: Improvement
> Components: Appenders
> Reporter: Ron Grabowski
> Assignee: Ron Grabowski
> Priority: Minor
> Attachments: LOG4NET-141_AdoNetAppender.patch
>
>
> The IDbConnection is created in the private method InitializeDatabaseConnection. Use the Connection property to set the connection object does not work when a reconnect is required. Add a CreateConnection method to allow sub-classes that handle creating their own connection.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.