com.github.drinkjava2.jdialects
Class DialectJdbcUtils
java.lang.Object
com.github.drinkjava2.jdialects.DialectJdbcUtils
public abstract class DialectJdbcUtils
- extends Object
Some simple JDBC method
- Since:
- 1.0.0
- Author:
- Yong Zhu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DialectJdbcUtils
public DialectJdbcUtils()
hotExecuteQuery
public static Long hotExecuteQuery(Connection conn,
String sql)
throws SQLException
- Throws:
SQLException
hotExecuteUpdate
public static int hotExecuteUpdate(Connection conn,
String sql)
throws SQLException
- Throws:
SQLException
closeRSandPST
public static void closeRSandPST(ResultSet rs,
PreparedStatement pst,
SQLException exception,
String sql,
Object... params)
throws SQLException
- Throws:
SQLException
Copyright © 2017. All rights reserved.