public class MappedRefresh<T,ID> extends MappedQueryForFieldEq<T,ID>
resultsFieldTypes
argFieldTypes, clazz, connectionSource, dao, idField, logger, statement, tableInfo
Modifier and Type | Method and Description |
---|---|
static <T,ID> MappedRefresh<T,ID> |
build(Dao<T,ID> dao,
TableInfo<T,ID> tableInfo) |
int |
executeRefresh(DatabaseConnection databaseConnection,
T data,
ObjectCache objectCache)
Execute our refresh query statement and then update all of the fields in data with the fields from the result.
|
build, buildStatement, execute
mapRow, setParentInformation
convertIdToFieldObject, getFieldObjects, toString
public int executeRefresh(DatabaseConnection databaseConnection, T data, ObjectCache objectCache) throws SQLException
SQLException
public static <T,ID> MappedRefresh<T,ID> build(Dao<T,ID> dao, TableInfo<T,ID> tableInfo) throws SQLException
SQLException
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.