Class DB2Table

    • Method Detail

      • doLock

        protected void doLock()
                       throws SQLException
        Description copied from class: BaseTable
        Locks this table in this schema using a read/write pessimistic lock until the end of the current transaction. Note that unlock() still needs to be called even if your database unlocks the table implicitly (in which case doUnlock() may be a no-op) in order to maintain the lock count correctly.
        Specified by:
        doLock in class BaseTable
        Throws:
        SQLException - when this table in this schema could not be locked.