title: How to call java class from oracle trigger?
body: <p>I am use oracle 10g and jdk 1.6</p>
  
  <p>I want to call java class from oracle Trigger for that I am tries below-</p>
  
  <p>My java class is-</p>
  
  <pre><code>public class DBTrigger 
  {
      public static void logSal()
      {
       System.out.println("In java class");
      }
  }
  </code></pre>
  
  <p>and my oracle trigger is-</p>
  
  <pre><code>CREATE OR REPLACE TRIGGER sal_trig
  AFTER UPDATE OF sal ON emp
  FOR EACH ROW
  WHEN (new.sal &gt; 1.2 * old.sal)
  CALL logSal();
  </code></pre>
  
  <p>but I am able to call it.</p>
  
  <p>so please give me a suggestion.</p>