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

org.simpleflatmapper.jdbc.impl.setter.PreparedStatementIndexSetter Maven / Gradle / Ivy

Go to download

Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.

There is a newer version: 9.0.2
Show newest version
package org.simpleflatmapper.jdbc.impl.setter;

import org.simpleflatmapper.converter.Context;
import org.simpleflatmapper.map.setter.ContextualIndexedSetter;

import java.sql.PreparedStatement;
import java.sql.SQLException;

public interface PreparedStatementIndexSetter extends ContextualIndexedSetter {

    /**
     *
     * @param ps the preparedStatement to bind against
     * @param value the value to bind
     * @param columnIndex the index to start binding at
     * @throws SQLException if an error occurs
     */
    @Override
    void set(PreparedStatement ps, T value, int columnIndex, Context context) throws SQLException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy