If you have invoked a database, you have the necessary privileges to use the COMMIT statement. Because the COMMIT statement closes open streams, you should not use an explicit END_STREAM statement after a COMMIT statement. If you do, Oracle Rdb returns an error message.