Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » lob » [javadoc | source]
org.hibernate.lob
public class: BlobImpl [javadoc | source]
java.lang.Object
   org.hibernate.lob.BlobImpl

All Implemented Interfaces:
    Blob

A dummy implementation of java.sql.Blob that may be used to insert new data into a BLOB.
Constructor:
 public BlobImpl(byte[] bytes) 
 public BlobImpl(InputStream stream,
    int length) 
Method from org.hibernate.lob.BlobImpl Summary:
getBinaryStream,   getBytes,   length,   position,   position,   setBinaryStream,   setBytes,   setBytes,   truncate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.lob.BlobImpl Detail:
 public InputStream getBinaryStream() throws SQLException 
 public byte[] getBytes(long pos,
    int len) throws SQLException 
 public long length() throws SQLException 
 public long position(byte[] bytes,
    long pos) throws SQLException 
 public long position(Blob blob,
    long pos) throws SQLException 
 public OutputStream setBinaryStream(long pos) throws SQLException 
 public int setBytes(long pos,
    byte[] bytes) throws SQLException 
 public int setBytes(long pos,
    byte[] bytes,
    int i,
    int j) throws SQLException 
 public  void truncate(long pos) throws SQLException