public class DBAppender extends DBAppenderBase<IAccessEvent>
| Modifier and Type | Field and Description |
|---|---|
protected static Method |
GET_GENERATED_KEYS_METHOD |
protected String |
insertHeaderSQL |
protected static String |
insertSQL |
cnxSupportsBatchUpdates, cnxSupportsGetGeneratedKeys, connectionSource, sqlDialectname, startedcontext| Constructor and Description |
|---|
DBAppender() |
| Modifier and Type | Method and Description |
|---|---|
protected Method |
getGeneratedKeysMethod() |
protected String |
getInsertSQL() |
protected void |
secondarySubAppend(IAccessEvent event,
Connection connection,
long eventId) |
void |
setInsertHeaders(boolean insertHeaders) |
protected void |
subAppend(IAccessEvent event,
Connection connection,
PreparedStatement insertStatement) |
append, getConnectionSource, selectEventId, setConnectionSource, start, stopaddFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextprotected static final String insertSQL
protected final String insertHeaderSQL
protected static final Method GET_GENERATED_KEYS_METHOD
protected void subAppend(IAccessEvent event, Connection connection, PreparedStatement insertStatement) throws Throwable
subAppend in class DBAppenderBase<IAccessEvent>Throwableprotected void secondarySubAppend(IAccessEvent event, Connection connection, long eventId) throws Throwable
secondarySubAppend in class DBAppenderBase<IAccessEvent>Throwableprotected Method getGeneratedKeysMethod()
getGeneratedKeysMethod in class DBAppenderBase<IAccessEvent>protected String getInsertSQL()
getInsertSQL in class DBAppenderBase<IAccessEvent>public void setInsertHeaders(boolean insertHeaders)
Copyright © 2005–2017 QOS.ch. All rights reserved.