public class EncryptedTextType extends EncryptedClobType
DEFAULT_CHARSET, random| Constructor and Description |
|---|
EncryptedTextType() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createLob(byte[] bytes,
SessionImplementor session)
Converts the InputStream to a LOB.
|
protected Object |
createLob(InputStream is,
long length,
SessionImplementor session)
Converts the InputStream to a LOB.
|
protected InputStream |
lobToStream(Object value)
Converts the LOB value to an InputStream.
|
Class<?> |
returnedClass() |
configure, createTempFile, decrypt, decryptStream, encrypt, encryptStream, generateTempFileName, getMaxInMemoryBuffSize, getStreamBuffSize, initializeIfNot, isUseCompression, nullSafeGet, nullSafeSet, setStream, sqlTypes, streamToLobassemble, deepCopy, disassemble, equals, getCharset, getEncryptor, hashCode, isMutable, replace, setCharset, setParameterValuespublic Class<?> returnedClass()
returnedClass in interface UserTypereturnedClass in class EncryptedClobTypeprotected InputStream lobToStream(Object value) throws SQLException
lobToStream in class EncryptedClobTypevalue - the LOB valueSQLException - an error converting the value to an InputStreamprotected Object createLob(InputStream is, long length, SessionImplementor session) throws IOException
createLob in class EncryptedClobTypeis - the InputStreamlength - the stream lengthsession - the SessionImplementorIOException - an error converting the stream to a LOBprotected Object createLob(byte[] bytes, SessionImplementor session) throws IOException
createLob in class EncryptedClobTypebytes - the bytessession - the SessionImplementorIOException - an error converting the stream to a LOB