Execute the database engine the sentence "SET LOCK MODE TO WAIT [segs]". Optionally it can be indicated the number of seconds of the waiting time.

1 connection.setLockModeToWait

<connection.setLockModeToWait time='time'/>

Execute the instruction before making a query. This is useful when there is another running process that can block the table, in this way, it is indicated that before the consultation is made, a time is waited until the blockade ends.

<xsql-script name='test_con'>

        <connection.setLockModeToWait time='180' />  
            <select prefix='m_'>
                <from table='tab1'/ >