spec of db commit