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

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

public class ObjectJdbcIO
extends Object
implements JdbcIO<Object>

Author:
ufo

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

ObjectJdbcIO

public ObjectJdbcIO()
Method Detail

getValueFromResultSet

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

getValueFromResultSet

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

setValueToPreparedStatement

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

getDBClass

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


Copyright © 2013. All Rights Reserved.