com.jpattern.orm.persistor.type.jdbc
Class BytePrimitiveJdbcIO

java.lang.Object
  extended by com.jpattern.orm.persistor.type.jdbc.BytePrimitiveJdbcIO
All Implemented Interfaces:
JdbcIO<Byte>

public class BytePrimitiveJdbcIO
extends Object
implements JdbcIO<Byte>

Author:
ufo

Constructor Summary
BytePrimitiveJdbcIO()
           
 
Method Summary
 Class<Byte> getDBClass()
           
 Byte getValueFromResultSet(ResultSet rs, int rsColumnIndex)
           
 Byte getValueFromResultSet(ResultSet rs, String rsColumnName)
           
 void setValueToPreparedStatement(Byte value, PreparedStatement ps, int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BytePrimitiveJdbcIO

public BytePrimitiveJdbcIO()
Method Detail

getValueFromResultSet

public Byte getValueFromResultSet(ResultSet rs,
                                  String rsColumnName)
                           throws SQLException
Specified by:
getValueFromResultSet in interface JdbcIO<Byte>
Throws:
SQLException

getValueFromResultSet

public Byte getValueFromResultSet(ResultSet rs,
                                  int rsColumnIndex)
                           throws SQLException
Specified by:
getValueFromResultSet in interface JdbcIO<Byte>
Throws:
SQLException

setValueToPreparedStatement

public void setValueToPreparedStatement(Byte value,
                                        PreparedStatement ps,
                                        int index)
                                 throws SQLException
Specified by:
setValueToPreparedStatement in interface JdbcIO<Byte>
Throws:
SQLException

getDBClass

public Class<Byte> getDBClass()
Specified by:
getDBClass in interface JdbcIO<Byte>


Copyright © 2013. All Rights Reserved.