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

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

public class TimestampJdbcIO
extends Object
implements JdbcIO<Timestamp>

Author:
ufo

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

TimestampJdbcIO

public TimestampJdbcIO()
Method Detail

getValueFromResultSet

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

getValueFromResultSet

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

setValueToPreparedStatement

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

getDBClass

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


Copyright © 2013. All Rights Reserved.