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.NonContextualLobCreator, org.hibernate.engine.jdbc.env.internal.BlobAndClobCreator
Imports
java.sql.Blob, .Clob, .NClob

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.
public NClob
wrap(NClob
The nclob to be wrapped.
nclob
)

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

Wrap the given nclob 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.

Annotations
@Override
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.

Annotations
@Override
wrapback to summary
public NClob wrap(NClob nclob)

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

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

Wrap the given nclob in a serializable wrapper.

Parameters
nclob:NClob

The nclob to be wrapped.

Returns:NClob

The wrapped nclob which will be castable to NClob as well as WrappedNClob.

Annotations
@Override