Package org.hibernate.engine.jdbc.proxy
Class SerializableNClobProxy
java.lang.Object
org.hibernate.engine.jdbc.proxy.SerializableClobProxy
org.hibernate.engine.jdbc.proxy.SerializableNClobProxy
- All Implemented Interfaces:
Serializable,InvocationHandler
Manages aspects of proxying
NClobs to add serializability.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NClobgenerateProxy(NClob nclob) Generates a SerializableNClobProxy proxy wrapping the provided NClob object.static ClassLoaderDetermines the appropriate class loader to which the generated proxy should be scoped.Methods inherited from class org.hibernate.engine.jdbc.proxy.SerializableClobProxy
generateProxy, getWrappedClob, invoke
-
Constructor Details
-
SerializableNClobProxy
- Parameters:
clob- TheClobto be wrapped.- See Also:
-
-
Method Details
-
generateProxy
Generates a SerializableNClobProxy proxy wrapping the provided NClob object.- Parameters:
nclob- The NClob to wrap.- Returns:
- The generated proxy.
-
getProxyClassLoader
Determines the appropriate class loader to which the generated proxy should be scoped.- Returns:
- The class loader appropriate for proxy construction.
-