com.jpattern.orm.persistor.type
Interface JdbcIO<DB>
- Type Parameters:
DB - the type readed
- All Known Implementing Classes:
- ArrayJdbcIO, BigDecimalJdbcIO, BlobJdbcIO, BooleanPrimitiveJdbcIO, BytePrimitiveJdbcIO, BytesJdbcIO, ClobJdbcIO, DateJdbcIO, DoublePrimitiveJdbcIO, FloatPrimitiveJdbcIO, InputStreamJdbcIO, IntegerPrimitiveJdbcIO, LongPrimitiveJdbcIO, NClobJdbcIO, ObjectJdbcIO, ReaderJdbcIO, RefJdbcIO, RowIdJdbcIO, ShortPrimitiveJdbcIO, SQLXMLJdbcIO, StringJdbcIO, TimeJdbcIO, TimestampJdbcIO, URLJdbcIO
public interface JdbcIO<DB>
Read from the ResultSet
- Author:
- ufo
getValueFromResultSet
DB getValueFromResultSet(ResultSet rs,
String rsColumnName)
throws SQLException
- Throws:
SQLException
getValueFromResultSet
DB getValueFromResultSet(ResultSet rs,
int rsColumnIndex)
throws SQLException
- Throws:
SQLException
setValueToPreparedStatement
void setValueToPreparedStatement(DB value,
PreparedStatement ps,
int index)
throws SQLException
- Throws:
SQLException
getDBClass
Class<DB> getDBClass()
Copyright © 2013. All Rights Reserved.