title: Can Oracle's default object lock timeout be changed?
body: <pre><code>&gt; ALTER PACKAGE blah COMPILE;
  (wait about 10 minutes)
  &gt; ORA-04021: timeout occurred while waiting to lock object
  </code></pre>
  
  <p>I understand why I get the timeout error (the package is in use).</p>
  
  <p>Does anyone know if there's a way to change the default 10 minute wait interval?  Can this be configured at a database / session / statement level?</p>
  
  <p>Thanks</p>