Update statement

For updating a DO, are used set methods for table columns of the class <table_name>DO.java. When the DO is updated, the same method is used for updating the database as for inserting:

public void save([DBTransaction dbt],[boolean references])

When updating is started only those columns that are changed will be updated, and only data for changed columns will be sent to database, reducing dataflow to database server.

When DO is updated, its ‘version’ column is incremented.

Version of DO object is incremented only when the update of DO is executed.