Class NClobProxy
java.lang.Object
org.hibernate.engine.jdbc.proxy.ClobProxy
org.hibernate.engine.jdbc.proxy.NClobProxy
- All Implemented Interfaces:
Clob, NClob, ClobImplementer, NClobImplementer
Manages aspects of proxying
NClobs for non-contextual creation, including proxy creation and
handling proxy invocations. We use proxies here solely to avoid JDBC version incompatibilities.- See Also:
- API Note:
- This class is not intended to be called directly by the application program.
Instead, use
Hibernate.getLobHelper().
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNClobProxy(Reader reader, long length) protectedNClobProxy(String string) -
Method Summary
Modifier and TypeMethodDescriptionstatic NClobgenerateProxy(Reader reader, long length) Generates aNClobproxy using a character reader of given length.static NClobgenerateProxy(String string) Generates aClobproxy using the string data.protected static ClassLoaderDetermines the appropriate class loader to which the generated proxy should be scoped.Methods inherited from class ClobProxy
free, getAsciiStream, getCharacterStream, getCharacterStream, getSubString, getUnderlyingStream, length, position, position, resetIfNeeded, setAsciiStream, setCharacterStream, setString, setString, truncateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Clob
free, getAsciiStream, getCharacterStream, getCharacterStream, getSubString, length, position, position, setAsciiStream, setCharacterStream, setString, setString, truncateMethods inherited from interface ClobImplementer
getUnderlyingStream
-
Constructor Details
-
NClobProxy
-
NClobProxy
-
-
Method Details
-
generateProxy
-
generateProxy
-
getProxyClassLoader
Determines the appropriate class loader to which the generated proxy should be scoped.- Returns:
- The class loader appropriate for proxy construction.
-