<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: can I use Oracle trigger to execute other program? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-use-oracle-trigger-to-execute-other-program/m-p/2691597#M842618</link>
    <description>As of Oracle 8i its possible to write stored procedures (including triggers) in java.  The following is the java stored procedure development guide:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a81358/toc.htm" target="_blank"&gt;http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a81358/toc.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
    <pubDate>Wed, 27 Mar 2002 09:56:47 GMT</pubDate>
    <dc:creator>Steven Gillard_2</dc:creator>
    <dc:date>2002-03-27T09:56:47Z</dc:date>
    <item>
      <title>can I use Oracle trigger to execute other program?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-use-oracle-trigger-to-execute-other-program/m-p/2691596#M842617</link>
      <description>Hi: all, Can I execute other program(Tuxedo or java ) in Oracle trigger ? Thanks !!!</description>
      <pubDate>Wed, 27 Mar 2002 09:41:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-use-oracle-trigger-to-execute-other-program/m-p/2691596#M842617</guid>
      <dc:creator>xiongye_2</dc:creator>
      <dc:date>2002-03-27T09:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: can I use Oracle trigger to execute other program?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-use-oracle-trigger-to-execute-other-program/m-p/2691597#M842618</link>
      <description>As of Oracle 8i its possible to write stored procedures (including triggers) in java.  The following is the java stored procedure development guide:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a81358/toc.htm" target="_blank"&gt;http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a81358/toc.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 27 Mar 2002 09:56:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-use-oracle-trigger-to-execute-other-program/m-p/2691597#M842618</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-03-27T09:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: can I use Oracle trigger to execute other program?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-use-oracle-trigger-to-execute-other-program/m-p/2691598#M842619</link>
      <description>Hi,&lt;BR /&gt;Yes you can ...&lt;BR /&gt;Take a look at the following thread (where I answered a similar question :-) :&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcac1a2db8513d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcac1a2db8513d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom Geudens</description>
      <pubDate>Wed, 27 Mar 2002 10:16:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-use-oracle-trigger-to-execute-other-program/m-p/2691598#M842619</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-03-27T10:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: can I use Oracle trigger to execute other program?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-i-use-oracle-trigger-to-execute-other-program/m-p/2691599#M842620</link>
      <description>Tom's answer is correct, but the way we did it before external proc calls was to write our own "listener" in an external process that connects to the database and listens on a DBMS_PIPE. &lt;BR /&gt;&lt;BR /&gt;Other stored procedures or triggers can then send to the DBMS_PIPE.&lt;BR /&gt;&lt;BR /&gt;There is an example of the listener in C in the Supplied PL/SQL Packages Reference under DBMS_PIPE examples.&lt;BR /&gt;&lt;BR /&gt;If you're concerned about the security problems that Tom mentioned (I've never looked...) then consider the DBMS_PIPE solution.&lt;BR /&gt;&lt;BR /&gt;Also, if you want to do something simple like send a mail or a simple TCP call, there are the supplied PL/SQL packages UTL_SMTP and UTL_TCP that work if you have the JServer component installed.&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;Ryan</description>
      <pubDate>Wed, 27 Mar 2002 13:32:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-i-use-oracle-trigger-to-execute-other-program/m-p/2691599#M842620</guid>
      <dc:creator>Ryan Kogelheide</dc:creator>
      <dc:date>2002-03-27T13:32:56Z</dc:date>
    </item>
  </channel>
</rss>

