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

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

public class BlobJdbcIO
extends Object
implements JdbcIO<Blob>

Author:
ufo

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

BlobJdbcIO

public BlobJdbcIO()
Method Detail

getValueFromResultSet

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

getValueFromResultSet

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

setValueToPreparedStatement

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

getDBClass

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


Copyright © 2013. All Rights Reserved.