public interface LobCreator
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| NClob | createNClob(Reader reader,
           long length)Create a NCLOB reference encapsulating the given character data. | 
| NClob | 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. | 
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 BlobImplementerBlob createBlob(InputStream stream, long length)
stream - The binary stream to wrap as a blob.length - The length of the stream.Blob as well as BlobImplementerClob createClob(String string)
string - The String to wrap as a clob.Clob as well as ClobImplementerClob createClob(Reader reader, long length)
reader - The character data reader.length - The length of the reader data.Clob as well as ClobImplementerNClob 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.NClobNClob 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.NClobCopyright © 2012 JBoss by Red Hat. All Rights Reserved.