public class CallableSqlLib extends Object implements org.teasoft.bee.osql.api.CallableSql
| Constructor and Description |
|---|
CallableSqlLib() |
| Modifier and Type | Method and Description |
|---|---|
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 returnType,
Object[] preValues) |
String |
selectJson(String callSql,
Object[] preValues) |
public <T> List<T> select(String callSql, T returnType, Object[] preValues)
select in interface org.teasoft.bee.osql.api.CallableSqlpublic int modify(String callSql, Object[] preValues)
modify in interface org.teasoft.bee.osql.api.CallableSqlpublic CallableStatement getCallableStatement(String callSql)
getCallableStatement in interface org.teasoft.bee.osql.api.CallableSqlpublic int modify(CallableStatement cstmt)
modify in interface org.teasoft.bee.osql.api.CallableSqlpublic List<String[]> select(String callSql, Object[] preValues)
select in interface org.teasoft.bee.osql.api.CallableSqlpublic String selectJson(String callSql, Object[] preValues)
selectJson in interface org.teasoft.bee.osql.api.CallableSqlprotected void checkClose(Statement stmt, Connection conn)
Copyright © 2024. All rights reserved.