public class DBUtil
extends java.lang.Object
Constructor and Description |
---|
DBUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
getValue(java.sql.ResultSet rs,
int index,
int valueType)
Returns the object value for a given column and type.
|
public static java.lang.Object getValue(java.sql.ResultSet rs, int index, int valueType) throws java.sql.SQLException
rs
- result setindex
- column indexvalueType
- value typejava.sql.SQLException
- if the column could not be read