Connection#createBlob and Connection#createClob,
but java.sql.NClob references are created locally.
NClobProxy
| Modifier and Type | Field and Description |
|---|---|
| public static final LobCreationContext. | CREATE_BLOB_CALLBACK
Callback for performing contextual BLOB creation |
| public static final LobCreationContext. | CREATE_CLOB_CALLBACK
Callback for performing contextual CLOB creation |
| protected final LobCreationContext |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Blob | |
| public Blob | createBlob(byte[]
The byte array to wrap as a blob. bytes)Implements org. |
| public Blob | createBlob(InputStream
The binary stream to wrap as a blob. stream, long The length of the stream. length)Implements org. |
| public Clob | |
| public Clob | createClob(String
The String to wrap as a clob. string)Implements org. |
| public Clob | createClob(Reader
The character data reader. reader, long The length of the reader data. length)Implements org. |
| public NClob | createNClob(String
The String to wrap as a NCLOB. string)Implements org. |
| public NClob | createNClob(Reader
The character data reader. reader, long The length of the reader data. length)Implements org. |
| CREATE_BLOB_CALLBACK | back to summary |
|---|---|
| public static final LobCreationContext. Callback for performing contextual BLOB creation | |
| CREATE_CLOB_CALLBACK | back to summary |
|---|---|
| public static final LobCreationContext. Callback for performing contextual CLOB creation | |
| lobCreationContext | back to summary |
|---|---|
| protected final LobCreationContext lobCreationContext | |
| BlobAndClobCreator | back to summary |
|---|---|
| public BlobAndClobCreator(LobCreationContext lobCreationContext) | |
| createBlob | back to summary |
|---|---|
| public Blob createBlob() Create the basic contextual BLOB reference.
| |
| createBlob | back to summary |
|---|---|
| public Blob createBlob(byte[] bytes) Implements org. Doc from org. Create a BLOB reference encapsulating the given byte array.
| |
| createBlob | back to summary |
|---|---|
| public Blob createBlob(InputStream stream, long length) Implements org. Doc from org. Create a BLOB reference encapsulating the given binary stream.
| |
| createClob | back to summary |
|---|---|
| public Clob createClob() Create the basic contextual CLOB reference.
| |
| createClob | back to summary |
|---|---|
| public Clob createClob(String string) Implements org. Doc from org. Create a CLOB reference encapsulating the given String data.
| |
| createClob | back to summary |
|---|---|
| public Clob createClob(Reader reader, long length) Implements org. Doc from org. Create a CLOB reference encapsulating the given character data.
| |
| createNClob | back to summary |
|---|---|
| public NClob createNClob(String string) Implements org. Doc from org. Create a NCLOB reference encapsulating the given String data.
| |
| createNClob | back to summary |
|---|---|
| public NClob createNClob(Reader reader, long length) Implements org. Doc from org. Create a NCLOB reference encapsulating the given character data.
| |