Class StandardLobCreator

All Implemented Interfaces:
LobCreator

public class StandardLobCreator extends BlobAndClobCreator
LobCreator implementation using Connection.createBlob(), Connection.createClob() and Connection.createNClob() to create the LOB references.
  • Field Details

  • Constructor Details

  • Method Details

    • createNClob

      public NClob createNClob()
      Create the basic contextual NCLOB reference.
      Returns:
      The created NCLOB reference.
    • createNClob

      public NClob createNClob(String string)
      Description copied from interface: LobCreator
      Create a NCLOB reference encapsulating the given String data.
      Specified by:
      createNClob in interface LobCreator
      Overrides:
      createNClob in class BlobAndClobCreator
      Parameters:
      string - The String to wrap as a NCLOB.
      Returns:
      The created NCLOB, castable as Clob as well as NClobImplementer. In JDK 1.6 environments, also castable to java.sql.NClob
    • createNClob

      public NClob createNClob(Reader reader, long length)
      Description copied from interface: LobCreator
      Create a NCLOB reference encapsulating the given character data.
      Specified by:
      createNClob in interface LobCreator
      Overrides:
      createNClob in class BlobAndClobCreator
      Parameters:
      reader - The character data reader.
      length - The length of the reader data.
      Returns:
      The created NCLOB, castable as Clob as well as NClobImplementer. In JDK 1.6 environments, also castable to java.sql.NClob