| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LobHelper
A session's helper for creating LOB data
| Method Summary | |
|---|---|
|  Blob | createBlob(byte[] bytes)Create a new Blobfrom bytes. | 
|  Blob | createBlob(InputStream stream,
           long length)Create a new Blobfrom stream data. | 
|  Clob | createClob(Reader reader,
           long length)Create a new Clobfrom character reader. | 
|  Clob | createClob(String string)Create a new Clobfrom content | 
|  Clob | createNClob(Reader reader,
            long length)Create a new Clobfrom character reader. | 
|  Clob | createNClob(String string)Create a new Clobfrom content. | 
| Method Detail | 
|---|
Blob createBlob(byte[] bytes)
Blob from bytes.
bytes - a byte array
Blob createBlob(InputStream stream,
                long length)
Blob from stream data.
stream - a binary streamlength - the number of bytes in the stream
Clob createClob(String string)
Clob from content
string - The string data
Clob
Clob createClob(Reader reader,
                long length)
Clob from character reader.
reader - a character streamlength - the number of characters in the stream
ClobClob createNClob(String string)
Clob from content.
 
 Note, on JDK 1.6+ environments will
 create and return a NClob instead (NClob extends the Clob interface).
string - The string data
Clob/NClob
Clob createNClob(Reader reader,
                 long length)
Clob from character reader.
 
 Note, on JDK 1.6+ environments will
 create and return a NClob instead (NClob extends the Clob interface).
reader - a character streamlength - the number of characters in the stream
Clob/NClob| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||