public interface LobHelper
A session’s
helper for creating LOB data.
Modifier and Type | Method and Description |
---|---|
Blob |
createBlob(byte[] bytes)
Create a new
Blob from bytes. |
Blob |
createBlob(InputStream stream,
long length)
Create a new
Blob from stream data. |
Clob |
createClob(Reader reader,
long length)
Create a new
Clob from character reader. |
Clob |
createClob(String string)
Create a new
Clob from content. |
NClob |
createNClob(Reader reader,
long length)
Create a new
NClob from character reader. |
NClob |
createNClob(String string)
Create a new
NClob from content. |
Blob createBlob(byte[] bytes)
Create a new Blob
from bytes.
bytes
- a byte arrayBlob createBlob(InputStream stream, long length)
Create a new Blob
from stream data.
stream
- a binary streamlength
- the number of bytes in the streamClob createClob(String string)
Create a new Clob
from content.
string
- The string dataClob
Clob createClob(Reader reader, long length)
Create a new Clob
from character reader.
reader
- a character streamlength
- the number of characters in the streamClob
NClob createNClob(String string)
Create a new NClob
from content.
string
- The string dataNClob
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.