org.hibernate.lob
Class SerializableBlob
java.lang.Object
org.hibernate.lob.SerializableBlob
- Blob, Serializable
public class SerializableBlob
extends java.lang.Object
implements Serializable, Blob
SerializableBlob
public SerializableBlob(Blob blob)
getBinaryStream
public InputStream getBinaryStream()
throws SQLException
getBytes
public byte[] getBytes(long pos,
int length)
throws SQLException
getWrappedBlob
public Blob getWrappedBlob()
length
public long length()
throws SQLException
position
public long position(Blob pattern,
long start)
throws SQLException
position
public long position(byte[] pattern,
long start)
throws SQLException
setBinaryStream
public OutputStream setBinaryStream(long pos)
throws SQLException
setBytes
public int setBytes(long pos,
byte[] bytes)
throws SQLException
setBytes
public int setBytes(long pos,
byte[] bytes,
int offset,
int len)
throws SQLException
truncate
public void truncate(long len)
throws SQLException