org.hibernate.lob

Class SerializableClob

Implemented Interfaces:
Clob, Serializable

public class SerializableClob
extends java.lang.Object
implements Serializable, Clob

Author:
Gavin King

Constructor Summary

SerializableClob(Clob blob)

Method Summary

InputStream
getAsciiStream()
Reader
getCharacterStream()
String
getSubString(long pos, int length)
Clob
getWrappedClob()
long
length()
long
position(Clob searchstr, long start)
long
position(String searchstr, long start)
OutputStream
setAsciiStream(long pos)
Writer
setCharacterStream(long pos)
int
setString(long pos, String str)
int
setString(long pos, String str, int offset, int len)
void
truncate(long len)

Constructor Details

SerializableClob

public SerializableClob(Clob blob)

Method Details

getAsciiStream

public InputStream getAsciiStream()
            throws SQLException

getCharacterStream

public Reader getCharacterStream()
            throws SQLException

getSubString

public String getSubString(long pos,
                           int length)
            throws SQLException

getWrappedClob

public Clob getWrappedClob()

length

public long length()
            throws SQLException

position

public long position(Clob searchstr,
                     long start)
            throws SQLException

position

public long position(String searchstr,
                     long start)
            throws SQLException

setAsciiStream

public OutputStream setAsciiStream(long pos)
            throws SQLException

setCharacterStream

public Writer setCharacterStream(long pos)
            throws SQLException

setString

public int setString(long pos,
                     String str)
            throws SQLException

setString

public int setString(long pos,
                     String str,
                     int offset,
                     int len)
            throws SQLException

truncate

public void truncate(long len)
            throws SQLException