public class JdbcTypeWrapper
extends java.lang.Object
Constructor and Description |
---|
JdbcTypeWrapper()
Initialize.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<?> |
getClass(int sqlType)
Get corresponding Java class from
Types code. |
static java.lang.Object |
getValue(java.sql.ResultSet result,
int sqlType,
int columnIndex)
Get the Java class corresponding to the value from the
Types code. |
public static java.lang.Class<?> getClass(int sqlType)
Types
code.sqlType
- sql typepublic static java.lang.Object getValue(java.sql.ResultSet result, int sqlType, int columnIndex) throws java.sql.SQLException
Types
code.result
- resultsqlType
- sql typecolumnIndex
- indexjava.sql.SQLException
- SQLException