public class TnCommandContextHandler extends TnAbstractBasicSqlHandler
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected CommandContext |
_commandContext
The context of command.
|
protected List<TnPropertyType> |
_firstBoundPropTypeList
The list of bound property type in first scope.
|
protected String |
_updateSQLFailureProcessTitle
The process title when SQL failure for update.
|
_dataSource, _exceptionMessageSqlArgs, _sql, _statementFactory| コンストラクタと説明 |
|---|
TnCommandContextHandler(DataSource dataSource,
StatementFactory statementFactory,
String sql,
CommandContext commandContext) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected int |
bindFirstScope(Connection conn,
PreparedStatement ps,
Object[] bindVariables,
Class<?>[] bindVariableTypes) |
protected void |
bindSecondScope(Connection conn,
PreparedStatement ps,
Object[] bindVariables,
Class<?>[] bindVariableTypes,
int index) |
protected int |
doExecute(Connection conn,
CommandContext ctx) |
int |
execute(Object[] args) |
protected String |
getUpdateSQLFailureProcessTitle() |
protected boolean |
hasBoundPropertyTypeList() |
void |
setFirstBoundPropTypeList(List<TnPropertyType> firstBoundPropTypeList)
Set the list of bound property type in first scope.
|
void |
setUpdateSQLFailureProcessTitle(String updateSQLFailureProcessTitle) |
addBatch, assertObjectNotNull, bindArgs, bindArgs, bindArgs, buildDisplaySql, buildExceptionMessageSql, close, close, close, createDisplaySqlBuilder, createInheritedConnectionDataSource, createResourcedLogDateDisplayStyle, createSQLExceptionHandler, createSQLExceptionResource, createSqlLogDisplaySqlBuilder, doLogSql, executeBatch, executeProcedure, executeQuery, executeUpdate, findValueType, getArgTypes, getBatchUpdateSQLFailureProcessTitle, getBindVariableText, getConnection, getManualThreadDataSourceHandler, getSpecifiedLogDateDisplayStyle, getSqlFireHook, getSqlLogHander, getSqlLogRegistry, getSqlResultHander, handleSQLException, hasSqlFireHook, hasSqlLogHandler, hasSqlResultHandler, hookSqlFireBefore, hookSqlFireFinally, isContainsLineSeparatorInSql, isInternalDebugEnabled, isLogEnabled, isSaveMillis, ln, log, logDisplaySql, logSql, newDisplaySqlBuilder, prepareCall, prepareSqlLogInfo, prepareStatement, processBeforeLogging, pushToSqlLogRegistry, saveAfterSqlTimeMillis, saveBeforeSqlTimeMillis, saveHookSqlLogInfo, saveResultSqlLogInfo, setExceptionMessageSqlArgs, setFetchSize, setMaxRows, systemTimeprotected final CommandContext _commandContext
protected List<TnPropertyType> _firstBoundPropTypeList
protected String _updateSQLFailureProcessTitle
public TnCommandContextHandler(DataSource dataSource, StatementFactory statementFactory, String sql, CommandContext commandContext)
public int execute(Object[] args)
protected int doExecute(Connection conn, CommandContext ctx)
protected boolean hasBoundPropertyTypeList()
protected int bindFirstScope(Connection conn, PreparedStatement ps, Object[] bindVariables, Class<?>[] bindVariableTypes)
protected void bindSecondScope(Connection conn, PreparedStatement ps, Object[] bindVariables, Class<?>[] bindVariableTypes, int index)
protected String getUpdateSQLFailureProcessTitle()
getUpdateSQLFailureProcessTitle クラス内 TnAbstractBasicSqlHandlerpublic void setFirstBoundPropTypeList(List<TnPropertyType> firstBoundPropTypeList)
firstBoundPropTypeList - The list of bound property type. (NullAllowed)public void setUpdateSQLFailureProcessTitle(String updateSQLFailureProcessTitle)
Copyright © 2014–2015 The DBFlute Project. All rights reserved.