All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xiaoleilu.hutool.db.handler.RsHandler Maven / Gradle / Ivy

package com.xiaoleilu.hutool.db.handler;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * 结果集处理接口
* 默认实现有: * @see EntityHandler * @see EntityListHandler * @see EntitySetHandler * @see EntitySetHandler * @see NumberHandler * @see PageResultHandler * * @author Luxiaolei * */ public interface RsHandler { /** * 处理结果集
* 结果集处理后不需要关闭 * @param rs 结果集 * @return 处理后生成的对象 * @throws SQLException SQL异常 */ public T handle(ResultSet rs) throws SQLException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy