public class ValueJavaObject extends ValueBytes
Value.ValueBlob, Value.ValueClobARRAY, BLOB, BOOLEAN, BYTE, BYTES, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INT, JAVA_OBJECT, LONG, NULL, RESULT_SET, SHORT, STRING, STRING_FIXED, STRING_IGNORECASE, TIME, TIMESTAMP, TYPE_COUNT, UNKNOWN, UUID| Modifier | Constructor and Description |
|---|---|
protected |
ValueJavaObject(byte[] v) |
| Modifier and Type | Method and Description |
|---|---|
static ValueJavaObject |
getNoCopy(byte[] b)
Get or create a java object value for the given byte array.
|
int |
getType()
Get the value type.
|
void |
set(PreparedStatement prep,
int parameterIndex)
Set the value as a parameter in a prepared statement.
|
compareSecure, convertPrecision, equals, get, getBytes, getBytesNoCopy, getDisplaySize, getMemory, getObject, getPrecision, getSQL, getString, hashCodeadd, checkPrecision, clearCache, close, compareTo, compareTypeSave, convertScale, convertTo, copyToTemp, divide, getBigDecimal, getBoolean, getByte, getDate, getDouble, getFloat, getHigherOrder, getInputStream, getInt, getLong, getReader, getResultSet, getScale, getShort, getSignum, getSmall, getTableId, getTime, getTimestamp, getTraceSQL, isFileBased, isLinked, link, modulus, multiply, negate, subtract, throwUnsupportedExceptionForType, toString, unlinkpublic static ValueJavaObject getNoCopy(byte[] b)
b - the byte arraypublic int getType()
ValuegetType in class ValueBytespublic void set(PreparedStatement prep, int parameterIndex) throws SQLException
Valueset in class ValueBytesprep - the prepared statementparameterIndex - the parameter indexSQLExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.