public class NClobProxy extends ClobProxy
Clob
(java.sql.NClob extends Clob
)
and in JDK 1.6+ environments, they are also typed to java.sql.NClobModifier and Type | Field and Description |
---|---|
static java.lang.Class[] |
PROXY_INTERFACES
The interfaces used to generate the proxy
|
Modifier | Constructor and Description |
---|---|
protected |
NClobProxy(java.io.Reader reader,
long length) |
protected |
NClobProxy(java.lang.String string) |
Modifier and Type | Method and Description |
---|---|
static java.sql.NClob |
generateProxy(java.io.Reader reader,
long length)
Generates a
NClob proxy using a character reader of given length. |
static java.sql.NClob |
generateProxy(java.lang.String string)
Generates a
Clob proxy using the string data. |
protected static java.lang.ClassLoader |
getProxyClassLoader()
Determines the appropriate class loader to which the generated proxy
should be scoped.
|
getAsciiStream, getCharacterStream, getLength, getSubString, getUnderlyingStream, invoke, resetIfNeeded
public static final java.lang.Class[] PROXY_INTERFACES
protected NClobProxy(java.lang.String string)
protected NClobProxy(java.io.Reader reader, long length)
public static java.sql.NClob generateProxy(java.lang.String string)
Clob
proxy using the string data.string
- The data to be wrapped as a Clob
.public static java.sql.NClob generateProxy(java.io.Reader reader, long length)
NClob
proxy using a character reader of given length.reader
- The character readerlength
- The length of the character readerprotected static java.lang.ClassLoader getProxyClassLoader()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.