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

org.sfm.jdbc.getter.TimestampNamedResultSetGetter Maven / Gradle / Ivy

package org.sfm.jdbc.getter;

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

import org.sfm.reflect.Getter;

public final class TimestampNamedResultSetGetter implements Getter {
	private final String name;
	
	public TimestampNamedResultSetGetter(final String name) {
		this.name = name;
	}

	public Timestamp get(final ResultSet target) throws SQLException {
		return target.getTimestamp(name);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy