Top Description Fields Constructors Methods
org.hibernate.engine.jdbc

public Class SerializableNClobProxy

extends SerializableClobProxy
Class Inheritance
Imports
java.sql.Clob, java.lang.reflect.Proxy

Manages aspects of proxying java.sql.NClobs to add serializability.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final Class<T>
private static final Class<T>[]

Constructor Summary

AccessConstructor and Description
protected
SerializableNClobProxy(Clob
The java.sql.Clob to be wrapped.
clob
)

Builds a serializable java.sql.Clob wrapper around the given java.sql.Clob.

Method Summary

Modifier and TypeMethod and Description
private static Class<T>
public static Clob

Returns:

The generated proxy.
generateProxy
(Clob
The Clob to wrap.
clob
)

Hides org.hibernate.engine.jdbc.SerializableClobProxy.generateProxy.

Generates a SerializableClobProxy proxy wrapping the provided Clob object.
public static ClassLoader

Returns:

The class loader appropriate for proxy construction.
getProxyClassLoader
()

Hides org.hibernate.engine.jdbc.SerializableClobProxy.getProxyClassLoader.

Determines the appropriate class loader to which the generated proxy should be scoped.
public static boolean
isNClob(Clob clob)

private static Class<T>
Inherited from org.hibernate.engine.jdbc.SerializableClobProxy:
getWrappedClobinvoke

Field Detail

NCLOB_CLASSback to summary
private static final Class<T> NCLOB_CLASS
PROXY_INTERFACESback to summary
private static final Class<T>[] PROXY_INTERFACES

Hides org.hibernate.engine.jdbc.SerializableClobProxy.PROXY_INTERFACES.

Constructor Detail

SerializableNClobProxyback to summary
protected SerializableNClobProxy(Clob clob)

Builds a serializable java.sql.Clob wrapper around the given java.sql.Clob.

Parameters
clob:Clob

The java.sql.Clob to be wrapped.

See Also
generateProxy(java.sql.Clob)

Method Detail

determineNClobInterfaceback to summary
private static Class<T> determineNClobInterface()
generateProxyback to summary
public static Clob generateProxy(Clob clob)

Hides org.hibernate.engine.jdbc.SerializableClobProxy.generateProxy.

Generates a SerializableClobProxy proxy wrapping the provided Clob object.

Parameters
clob:Clob

The Clob to wrap.

Returns:Clob

The generated proxy.

getProxyClassLoaderback to summary
public static ClassLoader getProxyClassLoader()

Hides org.hibernate.engine.jdbc.SerializableClobProxy.getProxyClassLoader.

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

Returns:ClassLoader

The class loader appropriate for proxy construction.

isNClobback to summary
public static boolean isNClob(Clob clob)
loadNClobClassIfAvailableback to summary
private static Class<T> loadNClobClassIfAvailable()