Class AbstractLobCreator

java.lang.Object
org.hibernate.engine.jdbc.AbstractLobCreator
All Implemented Interfaces:
LobCreator
Direct Known Subclasses:
BlobAndClobCreator, NonContextualLobCreator

public abstract class AbstractLobCreator extends Object implements LobCreator
Convenient base class for proxy-based LobCreator for handling wrapping.
Author:
Steve Ebersole
  • Constructor Details

    • AbstractLobCreator

      public AbstractLobCreator()
  • Method Details

    • wrap

      public Blob wrap(Blob blob)
      Description copied from interface: LobCreator
      Wrap the given blob in a serializable wrapper.
      Specified by:
      wrap in interface LobCreator
      Parameters:
      blob - The blob to be wrapped.
      Returns:
      The wrapped blob which will be castable to Blob as well as WrappedBlob.
    • wrap

      public Clob wrap(Clob clob)
      Description copied from interface: LobCreator
      Wrap the given clob in a serializable wrapper.
      Specified by:
      wrap in interface LobCreator
      Parameters:
      clob - The clob to be wrapped.
      Returns:
      The wrapped clob which will be castable to Clob as well as WrappedClob.
    • wrap

      public NClob wrap(NClob nclob)
      Description copied from interface: LobCreator
      Wrap the given nclob in a serializable wrapper.
      Specified by:
      wrap in interface LobCreator
      Parameters:
      nclob - The nclob to be wrapped.
      Returns:
      The wrapped nclob which will be castable to NClob as well as WrappedNClob.