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

public Class SerializableNClobProxy

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

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>[]

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
public static NClob

Returns:

The generated proxy.
generateProxy
(NClob
The NClob to wrap.
nclob
)

Generates a SerializableNClobProxy proxy wrapping the provided NClob 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

Returns:

true if the the Clob is a NClob as well
isNClob
(Clob
The possible NClob reference
clob
)

Deprecated ORM baselines on JDK 1.6, so optional support for NClob (JDK 1,6 addition) is no longer needed.
Deprecated.
Inherited from org.hibernate.engine.jdbc.SerializableClobProxy:
generateProxygetWrappedClobinvoke

Field Detail

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

generateProxyback to summary
public static NClob generateProxy(NClob nclob)

Generates a SerializableNClobProxy proxy wrapping the provided NClob object.

Parameters
nclob:NClob

The NClob to wrap.

Returns:NClob

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)

Deprecated

ORM baselines on JDK 1.6, so optional support for NClob (JDK 1,6 addition) is no longer needed.

Deprecated.

Parameters
clob:Clob

The possible NClob reference

Returns:boolean

true if the the Clob is a NClob as well

Annotations
@Deprecated