net.sf.letsparty.driver.typehandlers
Class BlobHandler

java.lang.Object
  extended bynet.sf.letsparty.driver.typehandlers.BlobHandler
All Implemented Interfaces:
TypeHandler

public class BlobHandler
extends java.lang.Object
implements TypeHandler


Field Summary
private  java.sql.Blob value
           
 
Constructor Summary
BlobHandler(java.sql.Blob value)
           
 
Method Summary
 java.lang.Object getValueAsObject()
           
 void setParameter(java.sql.PreparedStatement preparedStatement, int indexAt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

private java.sql.Blob value
Constructor Detail

BlobHandler

public BlobHandler(java.sql.Blob value)
Method Detail

setParameter

public void setParameter(java.sql.PreparedStatement preparedStatement,
                         int indexAt)
                  throws java.sql.SQLException
Specified by:
setParameter in interface TypeHandler
Throws:
java.sql.SQLException

getValueAsObject

public java.lang.Object getValueAsObject()
Specified by:
getValueAsObject in interface TypeHandler