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 void |
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) |
JdbcMapUpsert |
withId(java.lang.String elem) |
buildStatementParam, closeJdbcService, columnBookend, getColumnBookendCharacter, getFieldMappings, getTable, handleInsert, initJdbcService, prepareService, setColumnBookendCharacter, setFieldMappings, setTable, startService, stopService, table, withColumnBookend, withMappings, withTable
applyTimeout, closeService, commit, createStatement, getConnection, getConnection, getStatementTimeout, initService, prepare, prepareStatement, prepareStatement, rollback, setConnection, setStatementTimeout, start, stop
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsConfirmation, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isConfirmation, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, rethrowServiceException, retrieveComponentState, setContinueOnFail, setIsConfirmation, setIsTrackingEndpoint, setLookupName, setUniqueId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
continueOnFailure, doService, isBranching, setUniqueId
createName, createQualifier, isConfirmation, 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 JdbcMapUpsert withId(java.lang.String elem)
protected java.lang.String idField()
protected void handleUpsert(java.lang.String tablename, java.sql.Connection conn, java.util.Map<java.lang.String,java.lang.String> object) throws ServiceException
ServiceException