org.melati.poem.dbms.test.sql
Class ThrowingClobJdbc4

Package class diagram package ThrowingClobJdbc4
java.lang.Object
  extended by org.melati.poem.dbms.test.sql.Thrower
      extended by org.melati.poem.dbms.test.sql.ThrowingClobJdbc3
          extended by org.melati.poem.dbms.test.sql.ThrowingClobJdbc4
All Implemented Interfaces:
Clob
Direct Known Subclasses:
ThrowingClobVariant

public abstract class ThrowingClobJdbc4
extends ThrowingClobJdbc3
implements Clob

The JDBC4 members of a Clob, decorated to throw an SQLException on command.

Since:
5 Feb 2008
Author:
timp

Constructor Summary
ThrowingClobJdbc4()
           
 
Method Summary
 void free()
          
 Reader getCharacterStream(long pos, long length)
          
 
Methods inherited from class org.melati.poem.dbms.test.sql.ThrowingClobJdbc3
getAsciiStream, getCharacterStream, getSubString, length, position, position, setAsciiStream, setCharacterStream, setString, setString, truncate
 
Methods inherited from class org.melati.poem.dbms.test.sql.Thrower
shouldThrow, startThrowing, startThrowingAfter, stopThrowing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.Clob
getAsciiStream, getCharacterStream, getSubString, length, position, position, setAsciiStream, setCharacterStream, setString, setString, truncate
 

Constructor Detail

ThrowingClobJdbc4

public ThrowingClobJdbc4()
Method Detail

free

public void free()
          throws SQLException

Specified by:
free in interface Clob
Throws:
SQLException
See Also:
Clob.free()

getCharacterStream

public Reader getCharacterStream(long pos,
                                 long length)
                          throws SQLException

Specified by:
getCharacterStream in interface Clob
Throws:
SQLException
See Also:
Clob.getCharacterStream(long, long)


Copyright © 2000-2010 PanEris. All Rights Reserved.