org.hibernate.lob
Class ClobImpl
java.lang.Object
org.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 SQLException
java.sql.Clob.getAsciiStream()
getCharacterStream
public Reader getCharacterStream()
throws SQLException
java.sql.Clob.getCharacterStream()
getSubString
public String getSubString(long pos,
int len)
throws SQLException
java.sql.Clob.getSubString(long, int)
length
public long length()
throws SQLException
position
public long position(Clob colb,
long pos)
throws SQLException
java.sql.Clob.position(Clob, long)
position
public long position(String string,
long pos)
throws SQLException
java.sql.Clob.position(String, long)
setAsciiStream
public OutputStream setAsciiStream(long pos)
throws SQLException
java.sql.Clob.setAsciiStream(long)
setCharacterStream
public Writer setCharacterStream(long pos)
throws SQLException
java.sql.Clob.setCharacterStream(long)
setString
public int setString(long pos,
String string)
throws SQLException
java.sql.Clob.setString(long, String)
setString
public int setString(long pos,
String string,
int i,
int j)
throws SQLException
java.sql.Clob.setString(long, String, int, int)
truncate
public void truncate(long pos)
throws SQLException
java.sql.Clob.truncate(long)