public interface LobHelper
session's helper for creating LOB data.| Modifier and Type | Method and Description |
|---|---|
java.sql.Blob |
createBlob(byte[] bytes)
Create a new
Blob from bytes. |
java.sql.Blob |
createBlob(java.io.InputStream stream,
long length)
Create a new
Blob from stream data. |
java.sql.Clob |
createClob(java.io.Reader reader,
long length)
Create a new
Clob from character reader. |
java.sql.Clob |
createClob(java.lang.String string)
Create a new
Clob from content. |
java.sql.NClob |
createNClob(java.io.Reader reader,
long length)
Create a new
NClob from character reader. |
java.sql.NClob |
createNClob(java.lang.String string)
Create a new
NClob from content. |
java.sql.Blob createBlob(byte[] bytes)
Blob from bytes.bytes - a byte arrayjava.sql.Blob createBlob(java.io.InputStream stream,
long length)
Blob from stream data.stream - a binary streamlength - the number of bytes in the streamjava.sql.Clob createClob(java.lang.String string)
Clob from content.string - The string dataClobjava.sql.Clob createClob(java.io.Reader reader,
long length)
Clob from character reader.reader - a character streamlength - the number of characters in the streamClobjava.sql.NClob createNClob(java.lang.String string)
NClob from content.string - The string dataNClobjava.sql.NClob createNClob(java.io.Reader reader,
long length)
NClob from character reader.reader - a character streamlength - the number of characters in the streamNClobCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.