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