|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LobCreator
Contract for creating various LOB references.
Method Summary | |
---|---|
Blob |
createBlob(byte[] bytes)
Create a BLOB reference encapsulating the given byte array. |
Blob |
createBlob(InputStream stream,
long length)
Create a BLOB reference encapsulating the given binary stream. |
Clob |
createClob(Reader reader,
long length)
Create a CLOB reference encapsulating the given character data. |
Clob |
createClob(String string)
Create a CLOB reference encapsulating the given String data. |
Clob |
createNClob(Reader reader,
long length)
Create a NCLOB reference encapsulating the given character data. |
Clob |
createNClob(String string)
Create a NCLOB reference encapsulating the given String data. |
Blob |
wrap(Blob blob)
Wrap the given blob in a serializable wrapper. |
Clob |
wrap(Clob clob)
Wrap the given clob in a serializable wrapper. |
Method Detail |
---|
Blob wrap(Blob blob)
blob
- The blob to be wrapped.
Blob
as well as WrappedBlob
.Clob wrap(Clob clob)
clob
- The clob to be wrapped.
Clob
as well as WrappedClob
.Blob createBlob(byte[] bytes)
bytes
- The byte array to wrap as a blob.
Blob
as well as BlobImplementer
Blob createBlob(InputStream stream, long length)
stream
- The binary stream to wrap as a blob.length
- The length of the stream.
Blob
as well as BlobImplementer
Clob createClob(String string)
string
- The String to wrap as a clob.
Clob
as well as ClobImplementer
Clob createClob(Reader reader, long length)
reader
- The character data reader.length
- The length of the reader data.
Clob
as well as ClobImplementer
Clob createNClob(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.NClobClob createNClob(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.NClob
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |