Package org.hibernate.engine.jdbc
Class AbstractLobCreator
java.lang.Object
org.hibernate.engine.jdbc.AbstractLobCreator
- All Implemented Interfaces:
LobCreator
- Direct Known Subclasses:
ContextualLobCreator,NonContextualLobCreator
Convenient base class for proxy-based LobCreator for handling wrapping.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.engine.jdbc.LobCreator
createBlob, createBlob, createClob, createClob, createNClob, createNClob
-
Constructor Details
-
AbstractLobCreator
public AbstractLobCreator()
-
-
Method Details
-
wrap
Wrap the given blob in a serializable wrapper.- Specified by:
wrapin interfaceLobCreator- Parameters:
blob- The blob to be wrapped.- Returns:
- The wrapped blob which will be castable to
Blobas well asWrappedBlob.
-
wrap
Wrap the given clob in a serializable wrapper.- Specified by:
wrapin interfaceLobCreator- Parameters:
clob- The clob to be wrapped.- Returns:
- The wrapped clob which will be castable to
Clobas well asWrappedClob.
-