public class EntityHandler extends Object implements RsHandler<Entity>
Constructor and Description |
---|
EntityHandler()
构造
|
EntityHandler(boolean caseInsensitive)
构造
|
Modifier and Type | Method and Description |
---|---|
static EntityHandler |
create()
创建一个 EntityHandler对象
|
Entity |
handle(ResultSet rs)
处理结果集
结果集处理后不需要关闭 |
public EntityHandler()
public EntityHandler(boolean caseInsensitive)
caseInsensitive
- 是否大小写不敏感public static EntityHandler create()
public Entity handle(ResultSet rs) throws SQLException
RsHandler
handle
in interface RsHandler<Entity>
rs
- 结果集SQLException
- SQL异常Copyright © 2024. All rights reserved.