public class JdbcUtils extends Object
| 构造器和说明 |
|---|
JdbcUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
closeQuietly(ResultSet rs,
Statement st,
Connection connection) |
static void |
closeQuietly(Statement st,
Connection connection) |
static Integer |
getId(PreparedStatement ps) |
static List<Integer> |
getIds(PreparedStatement ps) |
static com.alibaba.fastjson.JSONObject |
toJSONObject(ResultSet rs) |
public static void closeQuietly(ResultSet rs, Statement st, Connection connection)
public static void closeQuietly(Statement st, Connection connection)
public static List<Integer> getIds(PreparedStatement ps) throws SQLException
SQLExceptionpublic static Integer getId(PreparedStatement ps) throws SQLException
SQLExceptionpublic static com.alibaba.fastjson.JSONObject toJSONObject(ResultSet rs) throws SQLException
SQLExceptionCopyright © 2016. All rights reserved.