Package org.hibernate.engine.jdbc
Class SerializableNClobProxy
- java.lang.Object
-
- org.hibernate.engine.jdbc.SerializableClobProxy
-
- org.hibernate.engine.jdbc.SerializableNClobProxy
-
- All Implemented Interfaces:
Serializable
,InvocationHandler
public class SerializableNClobProxy extends SerializableClobProxy
Manages aspects of proxying java.sql.NClobs to add serializability.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SerializableNClobProxy(Clob clob)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NClob
generateProxy(NClob nclob)
Generates a SerializableNClobProxy proxy wrapping the provided NClob object.static ClassLoader
getProxyClassLoader()
Determines the appropriate class loader to which the generated proxy should be scoped.-
Methods inherited from class org.hibernate.engine.jdbc.SerializableClobProxy
generateProxy, getWrappedClob, invoke
-
-
-
-
Constructor Detail
-
SerializableNClobProxy
protected SerializableNClobProxy(Clob clob)
- Parameters:
clob
- TheClob
to be wrapped.- See Also:
SerializableClobProxy.generateProxy(Clob)
-
-
Method Detail
-
generateProxy
public static NClob generateProxy(NClob nclob)
Generates a SerializableNClobProxy proxy wrapping the provided NClob object.- Parameters:
nclob
- The NClob to wrap.- Returns:
- The generated proxy.
-
getProxyClassLoader
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.
-
-