[
https://issues.apache.org/jira/browse/LOG4NET-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15503890#comment-15503890
]
Luiz Santos commented on LOG4NET-505:
-------------------------------------
I'd like to write a patch and a test for this issue, how should I proceed ?
> AdoNetAppender with Npgsql data provider
> ----------------------------------------
>
> Key: LOG4NET-505
> URL: https://issues.apache.org/jira/browse/LOG4NET-505
> Project: Log4net
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 1.2.15
> Reporter: Vadim Ivanou
>
> I'm trying to use AdoNetAppender with postgresql database and Npgsql data
> provider 3.0.x. Unfortunately it throws an exception in SendBuffer method
> while executing dbCmd.Prepare(). I believe the reason for that is that Npgsql
> requires all Parameters to be present in a command before calling Prepare
> method. I created my own adapter that overrides SendBuffer method and
> populates sql command parameters before Prepare and it worked fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)