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
NClob
s to add serializability.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NClob
generateProxy
(NClob nclob) Generates a SerializableNClobProxy proxy wrapping the provided NClob object.static ClassLoader
Determines 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
- TheClob
to 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.
-