public final class ResultSetUtil extends Object
| Constructor and Description |
|---|
ResultSetUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
convertBigDecimalValue(Object value,
boolean needScale,
int scale)
Convert object to BigDecimal.
|
static Object |
convertValue(Object value,
Class<?> convertType)
Convert value via expected class type.
|
public static Object convertValue(Object value, Class<?> convertType) throws SQLException
value - original valueconvertType - expected class typeSQLException - SQL exceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.