public class CallableSqlLib extends Object implements org.teasoft.bee.osql.CallableSQL
| 限定符和类型 | 字段和说明 |
|---|---|
static ThreadLocal<Map<String,Connection>> |
connLocal |
static ThreadLocal<Connection> |
connLocal2 |
| 构造器和说明 |
|---|
CallableSqlLib() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
checkClose(Statement stmt,
Connection conn) |
CallableStatement |
getCallableStatement(String callSql) |
int |
modify(CallableStatement cstmt) |
int |
modify(String callSql,
Object[] preValues) |
List<String[]> |
select(String callSql,
Object[] preValues) |
<T> List<T> |
select(String callSql,
T entity,
Object[] preValues) |
String |
selectJson(String callSql,
Object[] preValues) |
public static ThreadLocal<Connection> connLocal2
public static ThreadLocal<Map<String,Connection>> connLocal
public <T> List<T> select(String callSql, T entity, Object[] preValues)
select 在接口中 org.teasoft.bee.osql.CallableSQLpublic int modify(String callSql, Object[] preValues)
modify 在接口中 org.teasoft.bee.osql.CallableSQLpublic CallableStatement getCallableStatement(String callSql)
getCallableStatement 在接口中 org.teasoft.bee.osql.CallableSQLpublic int modify(CallableStatement cstmt)
modify 在接口中 org.teasoft.bee.osql.CallableSQLpublic List<String[]> select(String callSql, Object[] preValues)
select 在接口中 org.teasoft.bee.osql.CallableSQLpublic String selectJson(String callSql, Object[] preValues)
selectJson 在接口中 org.teasoft.bee.osql.CallableSQLprotected void checkClose(Statement stmt, Connection conn)
Copyright © 2019. All rights reserved.