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

ru.spb.devclub.utils.db.BoxedRowMapper Maven / Gradle / Ivy

package ru.spb.devclub.utils.db;

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

/**
 * Extends {@link ru.spb.devclub.utils.db.ExtendedRowMapper} interface,
 * uses {@link ru.spb.devclub.utils.db.BoxedResultSet}.
 *
 * @author Grig Alex
 * @version 0.1.0
 * @see ru.spb.devclub.utils.db.ExtendedRowMapper
 * @see ru.spb.devclub.utils.db.BoxedResultSet
 * @since 0.1.0
 */
public interface BoxedRowMapper extends ExtendedRowMapper {
    @Override
    default T mapRow(ResultSet resultSet, int i) throws SQLException {
        return mapRow(ResultSetUtils.boxed(resultSet), i);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy