Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Embedded PL/SQL in Java Methods

Embedded PL/SQL in Java Methods

From: Sandman6399 <sandman6399_at_aol.com>
Date: 06 Mar 2001 03:59:26 GMT
Message-ID: <20010305225926.06832.00000555@ng-ft1.aol.com>

Is it possible to embed PL/SQL procedures in a Java Class Method, i.e.

import com.ibm.db2.app.*;
import java.sql.*;

public class EmbedCode
{

    public void plsql(String x, String y)     {

       try
       {
         ****EMBEDDED PL/SQL CODE****

.
.
.
} catch( SQLException e) { }

    } Received on Mon Mar 05 2001 - 21:59:26 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US