Roy:
I've not looked at this in detail just now, but the SQL strings that are
used to write to the databases are built in the SQLBuilder class methods
called from the DBAppender start method. They seem make use of the
EVENT_ID name through the name resolver while doing so. DBAppenderBase
doesn't appear to me to be in that loop.
Hope this helps.
Merritt
From: Roy Cronise sw...@ccyor.com
To: logback-user@qos.ch logback-user@qos.ch
Date: 01/26/2011 03:37 PM
Subject:[logback-user] DBNameResolver
Sent by:logback-user-boun...@qos.ch
I am trying to use a DBNameResolver I've written with DBAppender. My
tables and column names must be different than the default.
I'm having an issue in the class DBAppenderBase since it looks like the
EVENT_ID column name is used if generated keys are supported and doesn't
use the name resolver.
I couldn't find an open issue for this. Is it a bug?
Roy
___
Logback-user mailing list
Logback-user@qos.ch
http://qos.ch/mailman/listinfo/logback-user
Join us on Facebook at www.facebook.com/NYCMInsurance.
***CONFIDENTIALITY NOTICE***
This email and any attachments to it are confidential and intended solely
for the individual or entity to whom it is addressed. Any unauthorized
review, use, disclosure or distribution is prohibited. If you have
received this email in error, please contact the sender by reply email and
destroy all copies of the original message.
___
Logback-user mailing list
Logback-user@qos.ch
http://qos.ch/mailman/listinfo/logback-user