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, sqlDialect
name, started
context
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, stop
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
protected 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>
Throwable
protected void secondarySubAppend(IAccessEvent event, Connection connection, long eventId) throws Throwable
secondarySubAppend
in class DBAppenderBase<IAccessEvent>
Throwable
protected Method getGeneratedKeysMethod()
getGeneratedKeysMethod
in class DBAppenderBase<IAccessEvent>
protected String getInsertSQL()
getInsertSQL
in class DBAppenderBase<IAccessEvent>
public void setInsertHeaders(boolean insertHeaders)
Copyright © 2005-2013 QOS.ch. All Rights Reserved.