I have been working with baasbox lately and was wondering why has the transaction logic been commented out in the baasbox DbHelper.java file.
public static void commitTransaction(){
ODatabaseRecordTx db = getConnection();
if (isInTransaction()){
if (Logger.isTraceEnabled()) Logger.trace("Commit transaction");
//db.commit();
}
}
Check here for the complete code: https://github.com/baasbox/baasbox/blob/master/app/com/baasbox/db/DbHelper.java
Other orientdb transaction logic is also commented out, like db.begin() and db.rollback().
Wouldn't functions like delete(ORid) in NodeDao.java absolutely require this transaction logic? If yes, then how is it working correctly currently?
Can someone provide any thoughts on this?