org.hibernate.engine.jdbc.LobCreator |
Known Indirect Subclasses |
Contract for creating various LOB references.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a BLOB reference encapsulating the given binary stream.
| |||||||||||
Create a BLOB reference encapsulating the given byte array.
| |||||||||||
Create a CLOB reference encapsulating the given String data.
| |||||||||||
Create a CLOB reference encapsulating the given character data.
| |||||||||||
Create a NCLOB reference encapsulating the given character data.
| |||||||||||
Create a NCLOB reference encapsulating the given String data.
| |||||||||||
Wrap the given blob in a serializable wrapper.
| |||||||||||
Wrap the given clob in a serializable wrapper.
|
Create a BLOB reference encapsulating the given binary stream.
stream | The binary stream to wrap as a blob. |
---|---|
length | The length of the stream. |
Blob
as well as BlobImplementer
Create a BLOB reference encapsulating the given byte array.
bytes | The byte array to wrap as a blob. |
---|
Blob
as well as BlobImplementer
Create a CLOB reference encapsulating the given String data.
string | The String to wrap as a clob. |
---|
Clob
as well as ClobImplementer
Create a CLOB reference encapsulating the given character data.
reader | The character data reader. |
---|---|
length | The length of the reader data. |
Clob
as well as ClobImplementer
Create a NCLOB reference encapsulating the given character data.
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.NClob
Create a NCLOB reference encapsulating the given String data.
string | The String to wrap as a NCLOB. |
---|
Clob
as well as NClobImplementer
. In JDK 1.6
environments, also castable to java.sql.NClob
Wrap the given blob in a serializable wrapper.
blob | The blob to be wrapped. |
---|
Blob
as well as WrappedBlob
.
Wrap the given clob in a serializable wrapper.
clob | The clob to be wrapped. |
---|
Clob
as well as WrappedClob
.