skip to main content
JDBC support : Supported Functionality : Blob
  

Try DataDirect Drivers Now

Blob

Blob Methods
Version Introduced
Supported
Comments
void free()
4.0
Yes
InputStream getBinaryStream()
2.0 Core
Yes
The drivers support using data types that map to the JDBC LONGVARBINARY data type.
byte[] getBytes(long, int)
2.0 Core
Yes
The drivers support using data types that map to the JDBC LONGVARBINARY data type.
long length()
2.0 Core
Yes
The drivers support using data types that map to the JDBC LONGVARBINARY data type.
long position(Blob, long)
2.0 Core
Yes
The Informix driver requires that the pattern parameter (which specifies the Blob object designating the BLOB value for which to search) be less than or equal to a maximum value of 4096 bytes.
All other drivers support using data types that map to the JDBC LONGVARBINARY data type.
long position(byte[], long)
2.0 Core
Yes
The Informix driver requires that the pattern parameter (which specifies the byte array for which to search) be less than or equal to a maximum value of 4096 bytes. All other drivers support using data types that map to the JDBC LONGVARBINARY data type.
OutputStream setBinaryStream(long)
3.0
Yes
The drivers support using data types that map to the JDBC LONGVARBINARY data type.
int setBytes(long, byte[])
3.0
Yes
The drivers support using data types that map to the JDBC LONGVARBINARY data type.
int setBytes(long, byte[], int, int)
3.0
Yes
The drivers support using data types that map to the JDBC LONGVARBINARY data type.
void truncate(long)
3.0
Yes
The drivers support using data types that map to the JDBC LONGVARBINARY data type.