| 程序包 | 说明 |
|---|---|
| com.xugu.cloudjdbc | |
| com.xugu.pool |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Connection |
Statement.connection
创建该 Statement 对象的 Connection 对象
|
protected Connection |
ResultSet.connection
Connection 会话对象
|
protected @Nullable Connection |
Array.connection |
| 限定符和类型 | 方法和说明 |
|---|---|
Connection |
Connection.cloneCurConnection() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Clob |
Clob.createTemporary(Connection clobConnection,
boolean cache,
int duration) |
static Blob |
Blob.createTemporary(Connection blobConnection,
boolean cache,
int duration) |
static Clob |
Clob.createTemporary(Connection clobConnection,
boolean cache,
int duration,
short flag)
生成临时空CLOB对象
|
ResultSet |
Statement.manificateRs(Connection connection,
String catalog,
Field[] field,
ArrayList<byte[][]> dataList,
Statement stm)
手动构造ResultSet对象
|
| 构造器和说明 |
|---|
Array(Connection connection,
int typeId,
@Nullable byte[] fieldBytes) |
Array(Connection connection,
int typeId,
@Nullable String fieldString) |
CallableStatement(Connection connection,
String database,
String originalSql)
由于服务器的调整,服务器端不再用"call"语句来调用存储过程,只能在接口处理语句,并转换为"execute"语句发给服务器端
|
PreparedStatement(Connection connection,
String database) |
PreparedStatement(Connection connection,
String database,
String originalSql,
boolean isCallable) |
RowSet(Connection con) |
SQLXml(Connection conn) |
SQLXml(String xmlString,
Connection conn) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BaseSql |
class |
ConnectionWrapper
连接扩展类
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
XgPooledConnection.freeConnection(Connection con)
关闭连接迟中的连接(并非关闭连接池),释放掉连接,并将该连接放回连接池,请求数-1
|
| 构造器和说明 |
|---|
ConnectionWrapper(XgPooledConnection xgPConnection,
Connection xgConn,
boolean isD) |
XgPooledConnection(Connection conn,
Properties pro) |
Copyright © 2025. All rights reserved.