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

org.simpleflatmapper.jdbc.property.JdbcGetterFactoryProperty Maven / Gradle / Ivy

Go to download

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

The newest version!
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