org.hibernate.lob
Class ClobImpl
java.lang.Objectorg.hibernate.lob.ClobImpl
- Clob
public class ClobImpl
extends java.lang.Object
implements Clob
A dummy implementation of java.sql.Clob that
may be used to insert new data into a CLOB.
ClobImpl
public ClobImpl(Reader reader,
int length)
ClobImpl
public ClobImpl(String string)
getAsciiStream
public InputStream getAsciiStream()
throws SQLExceptionjava.sql.Clob.getAsciiStream()
getCharacterStream
public Reader getCharacterStream()
throws SQLExceptionjava.sql.Clob.getCharacterStream()
getSubString
public String getSubString(long pos,
int len)
throws SQLExceptionjava.sql.Clob.getSubString(long, int)
length
public long length()
throws SQLException
position
public long position(Clob colb,
long pos)
throws SQLExceptionjava.sql.Clob.position(Clob, long)
position
public long position(String string,
long pos)
throws SQLExceptionjava.sql.Clob.position(String, long)
setAsciiStream
public OutputStream setAsciiStream(long pos)
throws SQLExceptionjava.sql.Clob.setAsciiStream(long)
setCharacterStream
public Writer setCharacterStream(long pos)
throws SQLExceptionjava.sql.Clob.setCharacterStream(long)
setString
public int setString(long pos,
String string)
throws SQLExceptionjava.sql.Clob.setString(long, String)
setString
public int setString(long pos,
String string,
int i,
int j)
throws SQLExceptionjava.sql.Clob.setString(long, String, int, int)
truncate
public void truncate(long pos)
throws SQLExceptionjava.sql.Clob.truncate(long)