Class ValueToObjectConverter2
java.lang.Object
org.h2.message.TraceObject
org.h2.value.ValueToObjectConverter2
Data type conversion methods between values and Java objects to use on the
server side on H2 only.
-
Field Summary
Fields inherited from class TraceObject
ARRAY, BLOB, CALLABLE_STATEMENT, CLOB, CONNECTION, DATA_SOURCE, DATABASE_META_DATA, PARAMETER_META_DATA, PREPARED_STATEMENT, RESULT_SET, RESULT_SET_META_DATA, SAVEPOINT, SQLXML, STATEMENT, trace, XA_DATA_SOURCE, XID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeInfoclassToType(Class<?> clazz) Get the type information for the given Java class.static ValueRead a value from the given result set.private static ValuereadValueOther(Session session, ResultSet rs, int columnIndex, int type) Methods inherited from class TraceObject
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupported
-
Constructor Details
-
ValueToObjectConverter2
private ValueToObjectConverter2()
-
-
Method Details
-
classToType
-
readValue
-
readValueOther
private static Value readValueOther(Session session, ResultSet rs, int columnIndex, int type) throws SQLException - Throws:
SQLException
-