When using CMP entity beans, can I tell the EJB container that the fields have not changed and do not need to be persisted?
Yes. This can be done by implementing the “public boolean isModified()” method in your bean class. If isModified returns false the EJB container will not persist the fields in the database. This is particularly useful when methods are being invoked on the EJB that do not modify the state of the entity.