public class MappedRefresh<T,ID> extends MappedQueryForFieldEq<T,ID>
resultsFieldTypesargFieldTypes, 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, executemapRow, setParentInformationconvertIdToFieldObject, getFieldObjects, toStringpublic int executeRefresh(DatabaseConnection databaseConnection, T data, ObjectCache objectCache) throws SQLException
SQLExceptionpublic static <T,ID> MappedRefresh<T,ID> build(Dao<T,ID> dao, TableInfo<T,ID> tableInfo) throws SQLException
SQLExceptionThis documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.