public abstract class BaseRowConverter extends Object implements RowConverter
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,String> |
columnToPropertyOverrides |
protected static int |
PROPERTY_NOT_FOUND |
| 构造器和说明 |
|---|
BaseRowConverter() |
BaseRowConverter(Map<String,String> columnToPropertyOverrides) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
callSetter(Object target,
PropertyDescriptor prop,
Object value) |
protected <T> T |
createBean(ResultSet rs,
Class<T> type,
PropertyDescriptor[] props,
int[] columnToProperty,
ResultSetMetaData rsmd) |
protected boolean |
isCompatibleType(Object value,
Class<?> type) |
protected <T> T |
newInstance(Class<T> c) |
Object[] |
toArray(ResultSet rs) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoBean, toBeanList, toMapprotected static final int PROPERTY_NOT_FOUND
public Object[] toArray(ResultSet rs) throws SQLException
toArray 在接口中 RowConverterSQLExceptionprotected <T> T createBean(ResultSet rs, Class<T> type, PropertyDescriptor[] props, int[] columnToProperty, ResultSetMetaData rsmd) throws SQLException
SQLExceptionprotected <T> T newInstance(Class<T> c) throws SQLException
SQLExceptionprotected void callSetter(Object target, PropertyDescriptor prop, Object value) throws SQLException
SQLExceptionCopyright © 2020. All rights reserved.