Commit with database and solution