CayenneForm: new entry saved multiple times

Details

Description

When a user wants to create a new entry in a CayenneForm and save the new entry multiple times, multiple inserts are performed in the database. The reason for this is that the new/generated primary key value is not included in the hidden oid field.