testGetCharacterStreamIntVARBINARYDirect() Test basic use of getCharacterStream on binary data.
Create a CallableStatement that takes a string as input and returns
a byte representation, which is then read through a stream.
testGetCharacterStreamIntVARCHAR() Test basic use of getCharacterStream on character data.
Create a CallableStatement that takes an integer as input and returns
the number as a string.
Test basic use of getCharacterStream on binary data.
Create a CallableStatement that takes a string as input and returns
a byte representation, which is then read through a stream. The string
is recreated and compared to the one passed in. Note that strings must
be represented in UTF-16BE for this to work.
Test basic use of getCharacterStream on character data.
Create a CallableStatement that takes an integer as input and returns
the number as a string. The string is read as a stream, and the integer
is recreated from it and compared to the integer passed in.
testGetCharacterStreamStringNotImplemented
public void testGetCharacterStreamStringNotImplemented() throws SQLException(Code)
Tests the setAsciiStream method that accepts length as a long
parameter in the Callable Statement interface
throws: SQLException - Upon any error that occurs while calling thismethod
Tests the setBinaryStream method that accepts length as a long
parameter in the Callable Statement interface
throws: SQLException - Upon any error that occurs while calling thismethod
Tests the setCharacterStream method that accepts length as a long
parameter in the Callable Statement interface
throws: SQLException - Upon any error that occurs while calling thismethod