LobCreator implementation using non-contextual or local creation, meaning that we generate the LOB
references ourselves as opposed to delegating to the JDBC java.sql.Connection .
| Modifier and Type | Field and Description |
|---|---|
| public static final NonContextualLobCreator |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| 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 | 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 Clob | createNClob(String
The String to wrap as a NCLOB. string)Implements org. |
| public Clob | createNClob(Reader
The character data reader. reader, long The length of the reader data. length)Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final NonContextualLobCreator INSTANCE | |
| NonContextualLobCreator | back to summary |
|---|---|
| private NonContextualLobCreator() | |
| 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(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 Clob createNClob(String string) Implements org. Doc from org. Create a NCLOB reference encapsulating the given String data.
| |
| createNClob | back to summary |
|---|---|
| public Clob createNClob(Reader reader, long length) Implements org. Doc from org. Create a NCLOB reference encapsulating the given character data.
| |