Package com.pugwoo.dbhelper.impl.part
Class P6_ExecuteOp
- All Implemented Interfaces:
DBHelper,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
SpringJdbcDBHelper
-
Field Summary
Fields inherited from class com.pugwoo.dbhelper.impl.part.P0_JdbcTemplateOp
applicationContext, features, fetchSize, interceptors, jdbcTemplate, LOGGER, maxPageSize, namedParameterJdbcTemplate, timeoutWarningValve -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintexecuteRaw(String sql, Object... args) 执行自行指定的SQL语句,支持in(?)表达式,支持INSERT UPDATE DELETE TRUNCATE操作intexecuteRaw(String sql, Map<String, ?> paramMap) 执行自行指定的SQL语句,支持通过namedParameter的方式传入参数,支持in(?)表达式,支持INSERT UPDATE DELETE TRUNCATE操作Methods inherited from class com.pugwoo.dbhelper.impl.part.P5_DeleteOp
delete, delete, delete, deleteHard, deleteHard, deleteHardMethods inherited from class com.pugwoo.dbhelper.impl.part.P4_InsertOrUpdateOp
insertOrUpdate, insertOrUpdate, insertOrUpdateWithNullMethods inherited from class com.pugwoo.dbhelper.impl.part.P3_UpdateOp
update, update, update, updateAll, updateCustom, updateWithNull, updateWithNullMethods inherited from class com.pugwoo.dbhelper.impl.part.P2_InsertOp
insert, insert, insertBatchWithoutReturnId, insertBatchWithoutReturnId, insertBatchWithoutReturnId, insertWithNullMethods inherited from class com.pugwoo.dbhelper.impl.part.P1_QueryOp
getAll, getAll, getAllForStream, getAllForStream, getAllKey, getByExample, getByKey, getCount, getCount, getOne, getOne, getPage, getPage, getPageWithoutCount, getPageWithoutCount, getRaw, getRaw, getRawForStream, getRawForStream, getRawOne, getRawOne, handleRelatedColumn, handleRelatedColumn, handleRelatedColumn, handleRelatedColumn, isExist, isExistAtLeastMethods inherited from class com.pugwoo.dbhelper.impl.part.P0_JdbcTemplateOp
addComment, executeAfterCommit, getDatabaseType, getFeature, getJdbcTemplate, getNamedParameterJdbcTemplate, jdbcExecuteUpdate, log, logSlow, namedJdbcExecuteUpdate, namedJdbcExecuteUpdateWithLog, rollback, setApplicationContext, setFetchSize, setInterceptors, setJdbcTemplate, setMaxPageSize, setNamedParameterJdbcTemplate, setTimeoutWarningCallback, setTimeoutWarningValve, turnOffFeature, turnOnFeature
-
Constructor Details
-
P6_ExecuteOp
public P6_ExecuteOp()
-
-
Method Details
-
executeRaw
Description copied from interface:DBHelper执行自行指定的SQL语句,支持in(?)表达式,支持INSERT UPDATE DELETE TRUNCATE操作- Parameters:
sql- 自定义SQLargs- 自定义参数- Returns:
- 返回影响的行数
-
executeRaw
Description copied from interface:DBHelper执行自行指定的SQL语句,支持通过namedParameter的方式传入参数,支持in(?)表达式,支持INSERT UPDATE DELETE TRUNCATE操作- Parameters:
sql- 自定义SQL,参数用namedParameter的方式paramMap- 自定义参数- Returns:
- 返回影响的行数
-