Top Description Constructors Methods
org.hibernate.engine.jdbc

public abstract Class AbstractLobCreator

extends Object
implements LobCreator
Class Inheritance
All Implemented Interfaces
org.hibernate.engine.jdbc.LobCreator
Known Direct Subclasses
org.hibernate.engine.jdbc.ContextualLobCreator, org.hibernate.engine.jdbc.NonContextualLobCreator
Imports
java.sql.Blob, .Clob

Convenient base class for proxy-based LobCreator for handling wrapping.
Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Blob
wrap(Blob
The blob to be wrapped.
blob
)

Implements org.hibernate.engine.jdbc.LobCreator.wrap.

Wrap the given blob in a serializable wrapper.
public Clob
wrap(Clob
The clob to be wrapped.
clob
)

Implements org.hibernate.engine.jdbc.LobCreator.wrap.

Wrap the given clob in a serializable wrapper.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractLobCreatorback to summary
public AbstractLobCreator()

Method Detail

wrapback to summary
public Blob wrap(Blob blob)

Implements org.hibernate.engine.jdbc.LobCreator.wrap.

Doc from org.hibernate.engine.jdbc.LobCreator.wrap.

Wrap the given blob in a serializable wrapper.

Parameters
blob:Blob

The blob to be wrapped.

Returns:Blob

The wrapped blob which will be castable to Blob as well as WrappedBlob.

wrapback to summary
public Clob wrap(Clob clob)

Implements org.hibernate.engine.jdbc.LobCreator.wrap.

Doc from org.hibernate.engine.jdbc.LobCreator.wrap.

Wrap the given clob in a serializable wrapper.

Parameters
clob:Clob

The clob to be wrapped.

Returns:Clob

The wrapped clob which will be castable to Clob as well as WrappedClob.