public interface LobHelper
session's helper for creating LOB data.| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| NClob | createNClob(Reader reader,
           long length)Create a new  NClobfrom character reader. | 
| NClob | createNClob(String string)Create a new  NClobfrom content. | 
Blob createBlob(byte[] bytes)
Blob from bytes.bytes - a byte arrayBlob createBlob(InputStream stream, long length)
Blob from stream data.stream - a binary streamlength - the number of bytes in the streamClob createClob(String string)
Clob from content.string - The string dataClobClob createClob(Reader reader, long length)
Clob from character reader.reader - a character streamlength - the number of characters in the streamClobNClob createNClob(String string)
NClob from content.string - The string dataNClobCopyright © 2017 JBoss by Red Hat. All rights reserved.