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

Package class diagram package ThrowingBlobJdbc4
java.lang.Object
  extended by org.melati.poem.dbms.test.sql.Thrower
      extended by org.melati.poem.dbms.test.sql.ThrowingBlobJdbc3
          extended by org.melati.poem.dbms.test.sql.ThrowingBlobJdbc4
All Implemented Interfaces:
Blob
Direct Known Subclasses:
ThrowingBlobVariant

public abstract class ThrowingBlobJdbc4
extends ThrowingBlobJdbc3
implements Blob

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

Since:
5 Feb 2008
Author:
timp

Constructor Summary
ThrowingBlobJdbc4()
           
 
Method Summary
 void free()
          
 InputStream getBinaryStream(long pos, long length)
          
 
Methods inherited from class org.melati.poem.dbms.test.sql.ThrowingBlobJdbc3
getBinaryStream, getBytes, length, position, position, setBinaryStream, setBytes, setBytes, 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.Blob
getBinaryStream, getBytes, length, position, position, setBinaryStream, setBytes, setBytes, truncate
 

Constructor Detail

ThrowingBlobJdbc4

public ThrowingBlobJdbc4()
Method Detail

free

public void free()
          throws SQLException

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

getBinaryStream

public InputStream getBinaryStream(long pos,
                                   long length)
                            throws SQLException

Specified by:
getBinaryStream in interface Blob
Throws:
SQLException
See Also:
Blob.getBinaryStream(long, long)


Copyright © 2000-2010 PanEris. All Rights Reserved.