MCPcopy Index your code
hub / github.com/SPLWare/esProc / executeBatch

Method executeBatch

src/main/java/com/scudata/util/DatabaseUtil.java:1562–1636  ·  view source on GitHub ↗

在dbName中执行sql语句,用多组参数执行同一SQL语句,为提高效率, 在执行时不去置换语句中的?,这样就要求参数中不能有数组 这里一些数据库信息由上层获得,同时sql要求已经处理过所需的字段名转码 @param sql String sql语句 @param paramsGroup Object[][] 参数列表的列表,可空 @param types byte[] 参数类型列表,可空,参数类型参见com.scudata.common.Types,可用数组 如字符串组等类型。当参数类型空时,认为等同于

(String sql, Object[][] paramsGroup, byte[] types, DBSession dbs, Connection con,
			String dbCharset, boolean tranSQL, int dbType, String dbn, int batchSize, boolean interrupt)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

executeDifferBatchMethod · 0.95
executeMethod · 0.95
executePstMethod · 0.95
execute2Method · 0.45

Calls 10

getMethod · 0.95
getMessageMethod · 0.95
runSQL2Method · 0.95
addBatchMethod · 0.95
prepareStatementMethod · 0.80
getErrorModeMethod · 0.80
closeMethod · 0.65
setErrorMethod · 0.45
getMessageMethod · 0.45
clearBatchMethod · 0.45

Tested by

no test coverage detected