|
||||||||||
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 | |
---|---|
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.Clob |
createNClob(java.io.Reader reader,
long length)
Create a NCLOB reference encapsulating the given character data. |
java.sql.Clob |
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. |
Method Detail |
---|
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.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.Clob 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.Clob 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.NClob
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |