org.simpleflatmapper.jdbc.property.JdbcGetterFactoryProperty Maven / Gradle / Ivy
package org.simpleflatmapper.jdbc.property;
import org.simpleflatmapper.map.property.GetterFactoryProperty;
import org.simpleflatmapper.reflect.IndexedGetter;
import java.sql.ResultSet;
import java.sql.SQLException;
public class JdbcGetterFactoryProperty {
public static GetterFactoryProperty forType(final Class type, final ResultSetGetter getter) {
return GetterFactoryProperty.forType(type, getter);
}
public interface ResultSetGetter extends IndexedGetter {
T get(ResultSet ps, int i) throws SQLException;
}
}