类 OrmUtil
java.lang.Object
cn.sylinx.horm.core.common.OrmUtil
ORM通用工具
- 作者:
- johnhan
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static <T> TgetResult(Dialect dialect, CallableStatement cs, int columnIndex, Class<T> clz) static <T> Tstatic <T> Tstatic <T> TgetResult(CallableStatement cs, int columnIndex, TypeHandler<T> handler) static <T> TgetResult(ResultSet rs, int columnIndex, TypeHandler<T> handler) static <T> TgetResult(ResultSet rs, String columnName, TypeHandler<T> handler) static voidsetParameter(Dialect dialect, PreparedStatement pst, int index, Object param)
-
构造器详细资料
-
OrmUtil
public OrmUtil()
-
-
方法详细资料
-
setParameter
public static void setParameter(Dialect dialect, PreparedStatement pst, int index, Object param) throws SQLException - 抛出:
SQLException
-
getResult
public static <T> T getResult(Dialect dialect, ResultSet rs, String columnName, Class<T> clz) throws SQLException - 抛出:
SQLException
-
getResult
public static <T> T getResult(Dialect dialect, ResultSet rs, int columnIndex, Class<T> clz) throws SQLException - 抛出:
SQLException
-
getResult
public static <T> T getResult(Dialect dialect, CallableStatement cs, int columnIndex, Class<T> clz) throws SQLException - 抛出:
SQLException
-
getResult
public static <T> T getResult(ResultSet rs, int columnIndex, TypeHandler<T> handler) throws SQLException - 抛出:
SQLException
-
getResult
public static <T> T getResult(ResultSet rs, String columnName, TypeHandler<T> handler) throws SQLException - 抛出:
SQLException
-
getResult
public static <T> T getResult(CallableStatement cs, int columnIndex, TypeHandler<T> handler) throws SQLException - 抛出:
SQLException
-