类的使用
org.sagacity.sqltoy.plugins.TypeHandler
-
使用TypeHandler的程序包 程序包 说明 org.sagacity.sqltoy org.sagacity.sqltoy.utils -
-
org.sagacity.sqltoy中TypeHandler的使用
返回TypeHandler的org.sagacity.sqltoy中的方法 修饰符和类型 方法 说明 TypeHandlerSqlToyContext. getTypeHandler()参数类型为TypeHandler的org.sagacity.sqltoy中的方法 修饰符和类型 方法 说明 voidSqlToyContext. setTypeHandler(TypeHandler typeHandler) -
org.sagacity.sqltoy.utils中TypeHandler的使用
参数类型为TypeHandler的org.sagacity.sqltoy.utils中的方法 修饰符和类型 方法 说明 static LongSqlUtil. batchUpdateByJdbc(TypeHandler typeHandler, String updateSql, Collection rowDatas, int batchSize, InsertRowCallbackHandler insertCallhandler, Integer[] updateTypes, Boolean autoCommit, Connection conn, Integer dbType)static LongSqlUtilsExt. batchUpdateForPOJO(TypeHandler typeHandler, String updateSql, List<Object[]> rowDatas, Integer[] fieldsType, String[] fieldsDefaultValue, Boolean[] fieldsNullable, int batchSize, Boolean autoCommit, Connection conn, Integer dbType)static ObjectBeanUtil. convertType(TypeHandler typeHandler, Object value, int typeValue, String typeName, Class genericType)static LongSqlUtil. executeSql(TypeHandler typeHandler, String executeSql, Object[] params, Integer[] paramsType, Connection conn, Integer dbType, Boolean autoCommit, boolean processWord)static ListSqlUtil. findByJdbcQuery(TypeHandler typeHandler, String queryStr, Object[] params, Class voClass, RowCallbackHandler rowCallbackHandler, DecryptHandler decryptHandler, Connection conn, Integer dbType, boolean ignoreAllEmptySet, HashMap<String,String> colFieldMap, int fetchSize, int maxRows)static ObjectSqlUtil. loadByJdbcQuery(TypeHandler typeHandler, String queryStr, Object[] params, Class voClass, RowCallbackHandler rowCallbackHandler, Connection conn, Integer dbType, boolean ignoreAllEmptySet, HashMap<String,String> colFieldMap)static ListSqlUtil. processResultSet(TypeHandler typeHandler, ResultSet rs, Class voClass, RowCallbackHandler rowCallbackHandler, DecryptHandler decryptHandler, int startColIndex, boolean ignoreAllEmptySet, HashMap<String,String> colFieldMap)static ListBeanUtil. reflectListToBean(TypeHandler typeHandler, Collection datas, int[] indexs, String[] properties, Class voClass)static ListBeanUtil. reflectListToBean(TypeHandler typeHandler, Collection datas, int[] indexs, String[] properties, Class voClass, boolean autoConvertType)static ListBeanUtil. reflectListToBean(TypeHandler typeHandler, Collection datas, String[] properties, Class voClass)static <T extends Serializable>
TBeanUtil. reflectRowToBean(TypeHandler typeHandler, Method[] realMethods, int[] methodTypeValues, String[] methodTypes, Class[] genericTypes, List rowList, int[] indexs, String[] properties, Class<T> voClass)static voidSqlUtil. setParamsValue(TypeHandler typeHandler, Connection conn, Integer dbType, PreparedStatement pst, Object[] params, Integer[] paramsType, int fromIndex)static voidSqlUtil. setParamValue(TypeHandler typeHandler, Connection conn, Integer dbType, PreparedStatement pst, Object paramValue, int jdbcType, int paramIndex)static <T extends Serializable>
List<T>BeanUtil. wrapEntities(TypeHandler typeHandler, EntityMeta entityMeta, Class<T> voClass, Object... ids)static booleanSqlUtil. wrapTreeTableRoute(TypeHandler typeHandler, TreeTableModel treeTableModel, Connection conn, Integer dbType)
-