[
https://issues.apache.org/jira/browse/LOG4NET-505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15145328#comment-15145328
]
Dominik Psenner commented on LOG4NET-505:
-----------------------------------------
It would be great if you could write a patch that fixes the issue or a test
that reproduces the issue.
> 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)