Package org.hibernate.engine.jdbc
Class NClobProxy
java.lang.Object
org.hibernate.engine.jdbc.ClobProxy
org.hibernate.engine.jdbc.NClobProxy
- All Implemented Interfaces:
InvocationHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNClobProxy(Reader reader, long length) protectedNClobProxy(String string) -
Method Summary
Modifier and TypeMethodDescriptionstatic ClobgenerateProxy(Reader reader, long length) Generates aClobproxy using a character reader of given length.static ClobgenerateProxy(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 org.hibernate.engine.jdbc.ClobProxy
getAsciiStream, getCharacterStream, getLength, getSubString, invoke, resetIfNeeded
-
Field Details
-
PROXY_INTERFACES
-
-
Constructor Details
-
NClobProxy
-
NClobProxy
-
-
Method Details
-
generateProxy
Generates aClobproxy using the string data.- Parameters:
string- The data to be wrapped as aClob.- Returns:
- The generated proxy.
-
generateProxy
Generates aClobproxy using a character reader of given length.- Parameters:
reader- The character readerlength- The length of the character reader- 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.
-