2024年3月13日发(作者:)
SqlProxy-TSD-002SG-JDBC接口方法统计
SG-JDBC接口方法统计
-Mysql数据库
2018-06-27编制
第1页共12页
SqlProxy-TSD-002SG-JDBC接口方法统计
一、数据库连接池配置
根据现场使用情况不支持druid、proxool连接池。
二、实现的接口
本JDBC只实现了Blob、Connection、CallableStatement、Clob、Driver、DatabaseMetaData、
PreparedStatement、ParameterMetaData、ResultSet、ResultSetMetaData、Savepoint、
Statement十二个接口的部分方法,未实现和不支持的方法如下汇总:
1、Blob接口
不支持方法
1
2
3
4
5
6
7
8
free()
position(bytepattern[],longstart)
position(Blobpattern,longstart)
setBytes(longpos,byte[]bytes)
setBytes(longpos,byte[]bytes,intoffset,intlen)
setBinaryStream(longpos)
truncate(longlen)
getBinaryStream(longpos,longlength)
可替代方法
2、Connection接口
拋UnsupportedOperationException的方法
1
2
3
4
5
6
7
8
9
10
11
12
13
14
setTypeMap()
setHoldability(intholdability)
getHoldability()
prepareStatement(Stringsql,intautoGeneratedKeys)
prepareStatement(Stringsql,intcolumnIndexes[])
prepareStatement(Stringsql,StringcolumnNames[])
getTypeMap()
setTypeMap()
不支持方法
createArrayOf(StringtypeNameObject[]elements)
createBlob()
createClob()
createNClob()
createSQLXML()
isValid(inttimeout)
setClientInfo(Stringname,Stringvalue)
setClientInfo(Propertiesproperties)
getClientInfo(Stringname)
getClientInfo()
createArrayOf(StringtypeName,Object[]elements)
createStruct(StringtypeName,Object[]attributes)
abort(Executorexecutor)
getNetworkTimeout()
第2页共12页


发布评论