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

com.bixuebihui.jdbc.LongReader Maven / Gradle / Ivy

Go to download

a fast small database connection pool and a active record flavor mini framework

There is a newer version: 1.15.3.3
Show newest version
package com.bixuebihui.jdbc;

import com.bixuebihui.DbException;

import java.sql.SQLException;
import java.util.List;

/**
 * 

LongReader class.

* * @author xingwx * @version $Id: $Id */ public class LongReader extends RowMapperResultReader { /** *

Constructor for LongReader.

* * @param resultList a {@link java.util.List} object. */ public LongReader(List resultList) { super((rs, index, set) -> { try { return rs.getLong(1); } catch (SQLException e) { throw new DbException(e); } },resultList); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy