public interface LobCreator
Modifier and Type | Method and Description |
---|---|
java.sql.Blob |
createBlob(byte[] bytes)
Create a BLOB reference encapsulating the given byte array.
|
java.sql.Blob |
createBlob(java.io.InputStream stream,
long length)
Create a BLOB reference encapsulating the given binary stream.
|
java.sql.Clob |
createClob(java.io.Reader reader,
long length)
Create a CLOB reference encapsulating the given character data.
|
java.sql.Clob |
createClob(java.lang.String string)
Create a CLOB reference encapsulating the given String data.
|
java.sql.NClob |
createNClob(java.io.Reader reader,
long length)
Create a NCLOB reference encapsulating the given character data.
|
java.sql.NClob |
createNClob(java.lang.String string)
Create a NCLOB reference encapsulating the given String data.
|
java.sql.Blob |
wrap(java.sql.Blob blob)
Wrap the given blob in a serializable wrapper.
|
java.sql.Clob |
wrap(java.sql.Clob clob)
Wrap the given clob in a serializable wrapper.
|
java.sql.NClob |
wrap(java.sql.NClob nclob)
Wrap the given nclob in a serializable wrapper.
|
java.sql.Blob wrap(java.sql.Blob blob)
blob
- The blob to be wrapped.Blob
as well as WrappedBlob
.java.sql.Clob wrap(java.sql.Clob clob)
clob
- The clob to be wrapped.Clob
as well as WrappedClob
.java.sql.NClob wrap(java.sql.NClob nclob)
nclob
- The nclob to be wrapped.NClob
as well as WrappedNClob
.java.sql.Blob createBlob(byte[] bytes)
bytes
- The byte array to wrap as a blob.Blob
as well as BlobImplementer
java.sql.Blob createBlob(java.io.InputStream stream, long length)
stream
- The binary stream to wrap as a blob.length
- The length of the stream.Blob
as well as BlobImplementer
java.sql.Clob createClob(java.lang.String string)
string
- The String to wrap as a clob.Clob
as well as ClobImplementer
java.sql.Clob createClob(java.io.Reader reader, long length)
reader
- The character data reader.length
- The length of the reader data.Clob
as well as ClobImplementer
java.sql.NClob createNClob(java.lang.String string)
string
- The String to wrap as a NCLOB.Clob
as well as NClobImplementer
. In JDK 1.6
environments, also castable to java.sql.NClobjava.sql.NClob createNClob(java.io.Reader reader, long length)
reader
- The character data reader.length
- The length of the reader data.Clob
as well as NClobImplementer
. In JDK 1.6
environments, also castable to java.sql.NClobCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.