public static class JdbcResultFactories.PrimitiveFactory<T> extends java.lang.Object implements JdbcResultFactory<T>
Constructor and Description |
---|
PrimitiveFactory(java.lang.Class<T> objectClass,
int columnIndex) |
PrimitiveFactory(java.lang.Class<T> objectClass,
java.util.List<java.lang.String> fields) |
PrimitiveFactory(java.lang.Class<T> objectClass,
java.lang.String field) |
Modifier and Type | Method and Description |
---|---|
T |
create(java.sql.ResultSet result) |
void |
init(java.sql.ResultSet result) |
public PrimitiveFactory(java.lang.Class<T> objectClass, int columnIndex)
public PrimitiveFactory(java.lang.Class<T> objectClass, java.lang.String field)
public PrimitiveFactory(java.lang.Class<T> objectClass, java.util.List<java.lang.String> fields)
public void init(java.sql.ResultSet result) throws java.sql.SQLException
init
in interface JdbcResultFactory<T>
java.sql.SQLException
public T create(java.sql.ResultSet result) throws java.sql.SQLException
create
in interface JdbcResultFactory<T>
java.sql.SQLException
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly