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

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

public class InputStreamJdbcIO
extends Object
implements JdbcIO<InputStream>

Author:
ufo

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

InputStreamJdbcIO

public InputStreamJdbcIO()
Method Detail

getValueFromResultSet

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

getValueFromResultSet

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

setValueToPreparedStatement

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

getDBClass

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


Copyright © 2013. All Rights Reserved.