AnsweredAssumed Answered

DBSqlSessionFacotry forcing commit

Question asked by frederikheremans1 on Dec 6, 2010
Latest reply on Dec 6, 2010 by tombaeyens
Hi Team,

Anyone an idea why SqlSession.commit(boolean force) is called with argument true, in eg. DbSqlSessionFactory.dbSchemaCheckVersion, instead of the default commit()?
The commit() on DefaultSQLSession will check the autocommit-flag and won't commit when it is on. Forcing just ignores this flag, resulting in an exception.

If there is no particular reason for forcing, I'll use the default commit() instead.

Outcomes