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

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

public class LongPrimitiveJdbcIO
extends Object
implements JdbcIO<Long>

Author:
ufo

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

LongPrimitiveJdbcIO

public LongPrimitiveJdbcIO()
Method Detail

getValueFromResultSet

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

getValueFromResultSet

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

setValueToPreparedStatement

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

getDBClass

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


Copyright © 2013. All Rights Reserved.