E - 数组元素类型public class ArrayRowHandler<E> extends AbsRowHandler<E[]>
ResultSet结果中的某行处理为数组columnCount, meta| Constructor and Description |
|---|
ArrayRowHandler(ResultSetMetaData meta,
Class<E> componentType)
构造
|
public ArrayRowHandler(ResultSetMetaData meta, Class<E> componentType) throws SQLException
meta - ResultSetMetaDatacomponentType - 数组元素类型SQLException - SQL异常public E[] handle(ResultSet rs) throws SQLException
RowHandlerrs - ResultSet,传入前,须调用ResultSet.next()定位到行。SQLException - SQL异常Copyright © 2025. All rights reserved.