Commit SqlContext solution