mentName;
/* */ private final Object val$parameterObject;
/* */
/* 315 */ public Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException { return new Integer(executor.update(this.val$statementName, this.val$parameterObject));
/* */ }
/* */ });
/* 318 */ return result.intValue();
/* */ }
/* */
/* */ public int delete(String statementName, Object parameterObject)
/* */ throws DataAccessException
/* */ {
/* 324 */ Integer result = (Integer)execute(new SqlMapClientCallback(statementName, parameterObject) { private final String val$statementName;
/* */ private final Object val$parameterObject;
/* */
/* 326 */ public Object doInSqlMapClient(SqlMapExecutor executor) throws SQLException { return new Integer(executor.delete(this.val$statementName, this.val$parameterObject));
/* */ }
/* */ });
/* 329 */ return result.intValue();
/* */ }
/* */
/* */ public void update(String statementName, Object parameterObject, int requiredRowsAffected)
/* */ throws DataAccessException
/* */ {
/* 335 */ int actualRowsAffected = update(statementName, parameterObject);
/* 336 */ if (actualRowsAffected != requiredRowsAffected)
/* 337 */ throw new JdbcUpdateAffectedIncorrectNumberOfRowsException(statementName, requiredRowsAffected, actualRowsAffected);
/* */ }
/* */
/* */ public void delete(String statementName, Object parameterObject, int requiredRowsAffected)
/* */ throws DataAccessException
/* */ {
/* 345 */ int actualRowsAffected = delete(statementName, parameterObject);
/* 346 */ if (actualRowsAffected != requiredRowsAffected)
/* 347 */ throw new JdbcUpdateAffectedIncorrectNumberOfRowsException(statementName, requiredRowsAffected, actualRowsAffected);
/* */ }
/* */ }
/* Location: C:\Users\ex_zhangkenan\Desktop\spring.jar
* Qualified Name: org.springframework.orm.ibatis.SqlMapClientTemplate
* JD-Core Version: 0.6.0
*/
SqlMapClient源码:
package com.ibatis.sqlmap.client;
import java.sql.Connection;
public abstract interface SqlMapClient extends SqlMapExecutor, SqlMapTransactionManager
{
public abstract SqlMapSession openSession();
public abstract SqlMapSession openSession(Connection paramConnection);
/** @deprecated */
public abstract SqlMapSession getSession();
public abstract void flushDataCache();
public abstract void flushDataCache(String paramString);
}
/* Location: C:\Users\ex_zhangkenan\Desktop\ibatis-sqlmap-2.jar
* Qualified Name: com.ibatis.sqlmap.client.SqlMapClient
* JD-Core Version: 0.6.0
*/
|