2014-04-10 18:19 GMT+02:00 Eduardo Macarron <
eduardo....@gmail.com>:
> Hi Jose, autocommit is set to false by default, so there is no need to pass
> false.
>
> The doc says "To enable auto-commit, pass a value of true to the optional
> autoCommit parameter." Is there any other reference to autocommit that says
> something different?
>
Well, I read "Transaction Control Methods" paragraph in online
documentation (
http://mybatis.github.io/mybatis-3/java-api.html)
and it says
"There are four methods for controlling the scope of a transaction. Of
course, these have no effect if you've chosen to use auto-commit or if
you're using an external transaction manager. "
If you don't have read "SqlSessionFactory" paragraph before, you can
think that it's used the default JDBC driver autocommit value (
usually is true)
But it's ok. Thanks