How does Oracle act after running a PHP script without commit? [closed]

-1

If I execute a series of SQL commands with Oracle database, OCI library, without executing commit and setting it to commit p>

What will Oracle do at the end of running the PHP script? A rollback or a commit?

    
asked by anonymous 01.11.2018 / 16:15

1 answer

2

PHP does nothing because it is a programming language, the question is whether the library does, but which one is it using? The default in the default DB configuration? Does not make automatic. You must call oci_commit() . Using OCI_COMMIT_ON_SUCCESS it will run at the end of the query execution if everything is ok.

    
01.11.2018 / 16:22