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