logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Grabowski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LOG4NET-141) Add CreateConnection method to AdoNetAppender to allow subclasses to have control of IDbConnection.
Date Thu, 31 Jan 2008 17:47:11 GMT

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


Mime
View raw message