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

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

public class ShortPrimitiveJdbcIO
extends Object
implements JdbcIO<Short>

Author:
ufo

Constructor Summary
ShortPrimitiveJdbcIO()
           
 
Method Summary
 Class<Short> getDBClass()
           
 Short getValueFromResultSet(ResultSet rs, int rsColumnIndex)
           
 Short getValueFromResultSet(ResultSet rs, String rsColumnName)
           
 void setValueToPreparedStatement(Short 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

ShortPrimitiveJdbcIO

public ShortPrimitiveJdbcIO()
Method Detail

getValueFromResultSet

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

getValueFromResultSet

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

setValueToPreparedStatement

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

getDBClass

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


Copyright © 2013. All Rights Reserved.