When inserting a record, ID should not be provided
Merge branch 'lastinsertid'