public boolean isForUpdate ( ) { mLock . lock ( ) ; try { return ( mClosed || mActive == null ) ? false : mActive . isForUpdate ( ) ; } finally { mLock . unlock ( ) ; } }
Returns true if an active transaction exists and it is for update .