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

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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy