public class

SerializableNClobProxy

extends SerializableClobProxy
java.lang.Object
   ↳ org.hibernate.engine.jdbc.SerializableClobProxy
     ↳ org.hibernate.engine.jdbc.SerializableNClobProxy

Class Overview

Manages aspects of proxying java.sql.NClobs to add serializability.

Summary

Protected Constructors
SerializableNClobProxy(Clob clob)
Builds a serializable Clob wrapper around the given Clob.
Public Methods
static Clob generateProxy(Clob clob)
Generates a SerializableClobProxy proxy wrapping the provided Clob object.
static ClassLoader getProxyClassLoader()
Determines the appropriate class loader to which the generated proxy should be scoped.
static boolean isNClob(Clob clob)
[Expand]
Inherited Methods
From class org.hibernate.engine.jdbc.SerializableClobProxy
From class java.lang.Object
From interface java.lang.reflect.InvocationHandler

Protected Constructors

protected SerializableNClobProxy (Clob clob)

Builds a serializable Clob wrapper around the given Clob.

Parameters
clob The Clob to be wrapped.

Public Methods

public static Clob generateProxy (Clob clob)

Generates a SerializableClobProxy proxy wrapping the provided Clob object.

Parameters
clob The Clob to wrap.
Returns
  • The generated proxy.

public static ClassLoader getProxyClassLoader ()

Determines the appropriate class loader to which the generated proxy should be scoped.

Returns
  • The class loader appropriate for proxy construction.

public static boolean isNClob (Clob clob)