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

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

public class DateJdbcIO
extends Object
implements JdbcIO<Date>

Author:
ufo

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

DateJdbcIO

public DateJdbcIO()
Method Detail

getValueFromResultSet

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

getValueFromResultSet

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

setValueToPreparedStatement

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

getDBClass

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


Copyright © 2013. All Rights Reserved.