public abstract class AbstractDbDataWithCommit extends AbstractDbData
AbstractDbData.UpdatedInfo
allFields, 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, setValues
public AbstractDbDataWithCommit(DbSession dbSession)
dbSession
- public void insert() throws WaarpDatabaseException
insert
in class AbstractDbData
WaarpDatabaseException
public void update() throws WaarpDatabaseException
update
in class AbstractDbData
WaarpDatabaseException
public void delete() throws WaarpDatabaseException
delete
in class AbstractDbData
WaarpDatabaseException
Copyright © 2009–2019 Waarp. All rights reserved.