logo       

Re: ADONetAppender: msg#00073

log.log4net.user

Subject: Re: ADONetAppender


Sorry that I forgot to mention that I'm using ADONetAppender to log to Oracle 9i database. In log4net configuration file, there is a <param..>...</param> block for each database column, something like listed below.

<param name="Parameter">
        <param name="ParameterName" value=":thread" />
        <param name="DbType" value="String" />
        <param name="Size" value="255" />
        <param name="Layout" type="log4net.Layout.PatternLayout">
                <param name="ConversionPattern" value="%t" />
        </param>
</param>

If I need to log to CLOB and NUMBER columns, what are the values for the DbType and Size entries?

Thank you.

Ping Xie

CACI
4831 Walden Lane
Lanham, MD 20706
pxie@xxxxxxxx
(301) 306-8200 - Main
(301) 306-2829 - Direct



Ping Xie <pxie@xxxxxxxx>

02/17/2005 07:41 AM

Please respond to
"Log4NET User" <log4net-user@xxxxxxxxxxxxxxxxxx>

To
"Log4NET User" <log4net-user@xxxxxxxxxxxxxxxxxx>
cc
Subject
ADONetAppender






Hi,


If I want to write logging to a CLOB and
NUMBER columns, how should I define the parameters in the configuration file? Specifically, what are the values in the following two lines?

<param name="DbType" value="?????" />

<param name="Size" value="????" />


Thank you in advance.


Ping Xie

CACI
4831 Walden Lane
Lanham, MD 20706
pxie@xxxxxxxx
(301) 306-8200 - Main
(301) 306-2829 - Direct


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise