db: Transaction support.