Autocommit flag
Oracle docs:
When a connection is created, it is in auto-commit mode. This means that each individual SQL statement is treated as a transaction and is automatically committed right after it is executed. (To be more precise, the default is for a SQL statement to be committed when it is completed, not when it is executed. A statement is completed when all of its result sets and update counts have been retrieved. In almost all cases, however, a statement is completed, and therefore committed, right after it is executed.)
Cuando autocommit=true
ejecuta por automático cada sentencia sql dentro de una transacción: se utiliza a menudo en aplicaciones de línea de comandos.
Cuando autocommit=false
se ejecuta el commit/rollback de manera manual y engloba un conjunto de operaciones: este patrón se utiliza dentro de las aplicaciones.
Por defecto hibernate marca las conexiones como autocommit=false
.