public class EntityRowHandler extends AbsRowHandler<Entity>
columnCount, meta
Constructor and Description |
---|
EntityRowHandler(ResultSetMetaData meta,
boolean caseInsensitive,
boolean withMetaInfo)
构造
|
public EntityRowHandler(ResultSetMetaData meta, boolean caseInsensitive, boolean withMetaInfo) throws SQLException
meta
- ResultSetMetaData
caseInsensitive
- 是否大小写不敏感withMetaInfo
- 是否包含表名、字段名等元信息SQLException
- SQL异常public Entity handle(ResultSet rs) throws SQLException
RowHandler
rs
- ResultSet
,传入前,须调用ResultSet.next()
定位到行。SQLException
- SQL异常Copyright © 2025. All rights reserved.