
public abstract class AbstractDbDataWithCommit extends AbstractDbData
AbstractDbData.UpdatedInfoallFields, dbSession, isSaved, JSON_MODEL, otherFields, primaryKey| Constructor and Description |
|---|
AbstractDbDataWithCommit(DbSession dbSession)
Abstract constructor to set the DbSession to use
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete object from table
|
void |
insert()
Insert object into table
|
void |
update()
Update object to table
|
asJson, changeUpdatedInfo, exist, get, getAllFields, getInsertAllValues, getJson, getSelectAllFields, getTable, getTrueValue, getUpdateAllFields, getValue, getValues, getWherePrimaryKey, initObject, select, setFromArray, setFromJson, setPrimaryKey, setToArray, setTrueValue, setValue, setValuespublic AbstractDbDataWithCommit(DbSession dbSession)
dbSession - public void insert()
throws WaarpDatabaseException
insert in class AbstractDbDataWaarpDatabaseExceptionpublic void update()
throws WaarpDatabaseException
update in class AbstractDbDataWaarpDatabaseExceptionpublic void delete()
throws WaarpDatabaseException
delete in class AbstractDbDataWaarpDatabaseExceptionCopyright © 2009–2019 Waarp. All rights reserved.