| 构造器和说明 |
|---|
BaseAccessor() |
BaseAccessor(IAccessorConfig accessorConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
__doSetupStatement(Statement statement) |
IAccessorConfig |
getAccessorConfig() |
CallableStatement |
getCallableStatement(Connection conn,
String sql) |
PreparedStatement |
getPreparedStatement(Connection conn,
String sql) |
Statement |
getStatement(Connection conn) |
void |
setAccessorConfig(IAccessorConfig accessorConfig) |
public BaseAccessor()
public BaseAccessor(IAccessorConfig accessorConfig)
protected void __doSetupStatement(Statement statement) throws SQLException
SQLExceptionpublic Statement getStatement(Connection conn) throws Exception
getStatement 在接口中 IAccessorconn - 连接对象Exception - 可能产生的异常public PreparedStatement getPreparedStatement(Connection conn, String sql) throws Exception
getPreparedStatement 在接口中 IAccessorconn - 访问数据库的连接对象sql - 预执行的SQL语句Exception - 可能产生的异常public CallableStatement getCallableStatement(Connection conn, String sql) throws Exception
getCallableStatement 在接口中 IAccessorconn - 访问数据库的连接对象sql - 预执行的SQL语句Exception - 可能产生的异常public IAccessorConfig getAccessorConfig()
getAccessorConfig 在接口中 IAccessorpublic void setAccessorConfig(IAccessorConfig accessorConfig)
Copyright © 2019. All rights reserved.