Package org.hibernate
Interface LobHelper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Blob
createBlob(byte[] bytes)
Create a newBlob
from bytes.Blob
createBlob(InputStream stream, long length)
Create a newBlob
from stream data.Clob
createClob(Reader reader, long length)
Create a newClob
from character reader.Clob
createClob(String string)
Create a newClob
from content.NClob
createNClob(Reader reader, long length)
Create a newNClob
from character reader.NClob
createNClob(String string)
Create a newNClob
from content.
-
-
-
Method Detail
-
createBlob
Blob createBlob(byte[] bytes)
Create a newBlob
from bytes.- Parameters:
bytes
- a byte array- Returns:
- the created Blob
-
createBlob
Blob createBlob(InputStream stream, long length)
Create a newBlob
from stream data.- Parameters:
stream
- a binary streamlength
- the number of bytes in the stream- Returns:
- the create Blob
-
createClob
Clob createClob(String string)
Create a newClob
from content.- Parameters:
string
- The string data- Returns:
- The created
Clob
-
createClob
Clob createClob(Reader reader, long length)
Create a newClob
from character reader.- Parameters:
reader
- a character streamlength
- the number of characters in the stream- Returns:
- The created
Clob
-
createNClob
NClob createNClob(String string)
Create a newNClob
from content.- Parameters:
string
- The string data- Returns:
- The created
NClob
-
-