public abstract class JdbcMapUpsert extends JdbcMapInsert
Modifier and Type | Class and Description |
---|---|
class |
JdbcMapUpsert.SelectWrapper |
class |
JdbcMapUpsert.UpdateWrapper |
JdbcMapInsert.BasicType, JdbcMapInsert.InsertWrapper, JdbcMapInsert.StatementParam, JdbcMapInsert.StatementWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_ID_FIELD |
log
CONFIRMATION_ID_KEY
Constructor and Description |
---|
JdbcMapUpsert() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIdField() |
protected int |
handleUpsert(java.lang.String tablename,
java.sql.Connection conn,
java.util.Map<java.lang.String,java.lang.String> object) |
protected java.lang.String |
idField() |
void |
setIdField(java.lang.String elem) |
<T extends JdbcMapUpsert> |
withId(java.lang.String elem) |
addUpdatedMetadata, buildStatementParam, closeJdbcService, columnBookend, getColumnBookendCharacter, getFieldMappings, getRowsAffectedMetadataKey, getTable, handleInsert, initJdbcService, prepareService, setColumnBookendCharacter, setFieldMappings, setRowsAffectedMetadataKey, setTable, startService, stopService, table, withColumnBookend, withMappings, withRowsAffectedMetadataKey, withTable
applyTimeout, closeService, commit, createStatement, getConnection, getConnection, getStatementTimeout, initService, prepare, prepareStatement, prepareStatement, rollback, setConnection, setStatementTimeout, start, stop
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setLookupName, setUniqueId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
continueOnFailure, doService, isBranching, setUniqueId
createName, createQualifier, isTrackingEndpoint
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentState
getUniqueId
close, init
getLookupName
public static final java.lang.String DEFAULT_ID_FIELD
public java.lang.String getIdField()
public void setIdField(java.lang.String elem)
elem
- the field that is the ID, defaults to id
if not specified.public <T extends JdbcMapUpsert> T withId(java.lang.String elem)
protected java.lang.String idField()
protected int handleUpsert(java.lang.String tablename, java.sql.Connection conn, java.util.Map<java.lang.String,java.lang.String> object) throws ServiceException
ServiceException