public final class JdbcUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static BigDecimal |
getBigDecimal(ResultSet resultSet,
int columnIndex) |
static Boolean |
getBoolean(ResultSet resultSet,
int columnIndex) |
static Byte |
getByte(ResultSet resultSet,
int columnIndex) |
static byte[] |
getBytes(ResultSet resultSet,
int columnIndex) |
static Date |
getDate(ResultSet resultSet,
int columnIndex) |
static Double |
getDouble(ResultSet resultSet,
int columnIndex) |
static Float |
getFloat(ResultSet resultSet,
int columnIndex) |
static Integer |
getInt(ResultSet resultSet,
int columnIndex) |
static Long |
getLong(ResultSet resultSet,
int columnIndex) |
static Short |
getShort(ResultSet resultSet,
int columnIndex) |
static String |
getString(ResultSet resultSet,
int columnIndex) |
static Time |
getTime(ResultSet resultSet,
int columnIndex) |
static Timestamp |
getTimestamp(ResultSet resultSet,
int columnIndex) |
public static String getString(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic static Boolean getBoolean(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic static Byte getByte(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic static Short getShort(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic static Integer getInt(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic static Long getLong(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic static Float getFloat(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic static Double getDouble(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic static BigDecimal getBigDecimal(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic static Date getDate(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic static Time getTime(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic static Timestamp getTimestamp(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionpublic static byte[] getBytes(ResultSet resultSet, int columnIndex) throws SQLException
SQLExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.