程序包 org.hibernate
接口 LobHelper
-
public interface LobHelperAsession'shelper for creating LOB data.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 BlobcreateBlob(byte[] bytes)Create a newBlobfrom bytes.BlobcreateBlob(InputStream stream, long length)Create a newBlobfrom stream data.ClobcreateClob(Reader reader, long length)Create a newClobfrom character reader.ClobcreateClob(String string)Create a newClobfrom content.NClobcreateNClob(Reader reader, long length)Create a newNClobfrom character reader.NClobcreateNClob(String string)Create a newNClobfrom content.
-
-
-
方法详细资料
-
createBlob
Blob createBlob(byte[] bytes)
Create a newBlobfrom bytes.- 参数:
bytes- a byte array- 返回:
- the created Blob
-
createBlob
Blob createBlob(InputStream stream, long length)
Create a newBlobfrom stream data.- 参数:
stream- a binary streamlength- the number of bytes in the stream- 返回:
- the create Blob
-
createClob
Clob createClob(String string)
Create a newClobfrom content.- 参数:
string- The string data- 返回:
- The created
Clob
-
createClob
Clob createClob(Reader reader, long length)
Create a newClobfrom character reader.- 参数:
reader- a character streamlength- the number of characters in the stream- 返回:
- The created
Clob
-
createNClob
NClob createNClob(String string)
Create a newNClobfrom content.- 参数:
string- The string data- 返回:
- The created
NClob
-
-