Known Direct Subclasses
ContextualLobCreator |
LobCreator implementation using contextual creation against the JDBC java.sql.Connection class's LOB creation
methods. |
NonContextualLobCreator |
LobCreator implementation using non-contextual or local creation, meaning that we generate the LOB
references ourselves as opposed to delegating to the JDBC java.sql.Connection. |
|
Class Overview
Convenient base class for proxy-based LobCreator for handling wrapping.
Summary
Public Methods |
Blob
|
wrap(Blob blob)
Wrap the given blob in a serializable wrapper.
|
Clob
|
wrap(Clob clob)
Wrap the given clob in a serializable wrapper.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.hibernate.engine.jdbc.LobCreator
abstract
Blob
|
createBlob(InputStream stream, long length)
Create a BLOB reference encapsulating the given binary stream.
|
abstract
Blob
|
createBlob(byte[] bytes)
Create a BLOB reference encapsulating the given byte array.
|
abstract
Clob
|
createClob(String string)
Create a CLOB reference encapsulating the given String data.
|
abstract
Clob
|
createClob(Reader reader, long length)
Create a CLOB reference encapsulating the given character data.
|
abstract
Clob
|
createNClob(Reader reader, long length)
Create a NCLOB reference encapsulating the given character data.
|
abstract
Clob
|
createNClob(String string)
Create a NCLOB reference encapsulating the given String data.
|
abstract
Blob
|
wrap(Blob blob)
Wrap the given blob in a serializable wrapper.
|
abstract
Clob
|
wrap(Clob clob)
Wrap the given clob in a serializable wrapper.
|
|
Public Constructors
public
AbstractLobCreator
()
Public Methods
public
Blob
wrap
(Blob blob)
Wrap the given blob in a serializable wrapper.
Parameters
blob
| The blob to be wrapped. |
public
Clob
wrap
(Clob clob)
Wrap the given clob in a serializable wrapper.
Parameters
clob
| The clob to be wrapped. |