What Is Created by Default?
By default, an Entity Object based on a view performs all the following directly against the underlying database view:
The SELECT statement (for findByPrimaryKey())
The SELECT FOR UPDATE statement (for lock())
INSERT, UPDATE, DELETE statements (for doDML())
You need to override the doDML() operations; in some cases, you need to override the findByPrimaryKey() and lock() operations as well. For this, you must generate the Entity Object class.