MCPcopy Create free account
hub / github.com/SPLWare/esProc / execute2

Method execute2

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

在dbName中执行sql语句,用多组参数执行同一SQL语句,为提高效率,在执行时不去置换语句中的?,这样就要求参数中不能有数组 @param sql String sql语句 @param params Object[][] 参数列表的列表,可空 @param types byte[] 参数类型列表,可空,参数类型参见com.scudata.common.Types,可用数组如字符串组等类型 当参数类型空时,认为等同于“默认”类型,此时注意参数值不能为null @param dbs DBSession @param interrupt boolean 是否中断

(String sql, Object[][] paramsGroup, byte[] types, DBSession dbs, boolean interrupt)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

executeMethod · 0.95

Calls 15

getNameMethod · 0.95
getMethod · 0.95
getMessageMethod · 0.95
runSQL2Method · 0.95
addBatchMethod · 0.95
getBatchSizeMethod · 0.80
getDBCharsetMethod · 0.80
getNeedTranSentenceMethod · 0.80
getNeedTranContentMethod · 0.80
getClientCharsetMethod · 0.80
prepareStatementMethod · 0.80
getErrorModeMethod · 0.80

Tested by

no test coverage detected