public abstract class OrmUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
fetchFieldsFormResultSet(ResultSet rs,
T object,
TableMapInfo mapInfo) |
static Map<String,Object> |
fetchObjectDatabaseField(Object object,
TableMapInfo tableInfo) |
static Map<String,Object> |
fetchObjectField(Object object) |
static <T> T |
fetchObjectFormResultSet(ResultSet rs,
Class<T> clazz) |
static <T> List<T> |
fetchObjectListFormResultSet(ResultSet rs,
Class<T> clazz) |
static <T> T |
prepareObjectForInsert(T object,
TableMapInfo mapInfo,
JsonObjectDao sqlDialect) |
static <T> T |
prepareObjectForMerge(T object,
TableMapInfo mapInfo,
JsonObjectDao sqlDialect) |
static <T> T |
prepareObjectForUpdate(T object,
TableMapInfo mapInfo,
JsonObjectDao sqlDialect) |
static void |
setObjectFieldValue(Object object,
SimpleTableField field,
Object newValue) |
public static void setObjectFieldValue(Object object, SimpleTableField field, Object newValue) throws IOException
IOExceptionpublic static <T> T prepareObjectForInsert(T object,
TableMapInfo mapInfo,
JsonObjectDao sqlDialect)
throws SQLException,
NoSuchFieldException,
IOException
public static <T> T prepareObjectForUpdate(T object,
TableMapInfo mapInfo,
JsonObjectDao sqlDialect)
throws SQLException,
NoSuchFieldException,
IOException
public static <T> T prepareObjectForMerge(T object,
TableMapInfo mapInfo,
JsonObjectDao sqlDialect)
throws SQLException,
NoSuchFieldException,
IOException
public static Map<String,Object> fetchObjectDatabaseField(Object object, TableMapInfo tableInfo)
public static <T> T fetchObjectFormResultSet(ResultSet rs, Class<T> clazz) throws SQLException, IllegalAccessException, InstantiationException, NoSuchFieldException, IOException
public static <T> T fetchFieldsFormResultSet(ResultSet rs, T object, TableMapInfo mapInfo) throws SQLException, NoSuchFieldException, IOException
public static <T> List<T> fetchObjectListFormResultSet(ResultSet rs, Class<T> clazz) throws SQLException, IllegalAccessException, InstantiationException, NoSuchFieldException, IOException
Copyright © 2025 江苏南大先腾信息产业股份有限公司. All rights reserved.