NullPointer in conn.prepareCall

I am trying to execute a java stored procedure (function) via JDBC code. In the conn.prpareCall method call I get a NullPointerException. The stored procedure (function) excutes pefectly from SQl*plus so that rules out the stored procedure not being deployed properly.
The code is pasted below.
* The Java Stored procedure
public class FirstJavaStoredProc {
public FirstJavaStoredProc() {
public static String prependHello(String tail) {
          return "Hello " + tail;
} //end of class
AND
* The 'client' JDBC code
import java.sql.*;
public class FirstJavaStoredProcCall {
private CallableStatement oCallStmt;
private Connection conn;
//Method that runs the example
public String runStoredProc() throws SQLException {
     String strName = "Is There Anyone out there";
     String strOutput = "";
//Prepare the callable statement object
     oCallStmt = conn.prepareCall("{? = call PREPENDHELLO(?)}");
     //registering output param
oCallStmt.registerOutParameter(1,Types.VARCHAR);
     //setting input param
     oCallStmt.setString(1,strName);
     //executing
     oCallStmt.execute();
     //getting the result
     strOutput = oCallStmt.getString(1);
     return strOutput;
//Main method
public static void main (String args[]) {
try {
String dbUrl = "jdbc:oracle:thin:@ABHIMACHINE:1521:vermadb";
     String user = "scott";
     String password = "tiger";
     Class.forName("oracle.jdbc.driver.OracleDriver");
     Connection conn = DriverManager.getConnection(dbUrl, user, password);
FirstJavaStoredProcCall obj = new FirstJavaStoredProcCall();
String str = obj.runStoredProc();
     System.out.println(str);
conn.close();
catch (Exception e) {
e.printStackTrace();
} //End of method main
}//end of class
* The excpetion stacktrace
java.lang.NullPointerException:
     at com.gepower.gees.ico.dao.FirstJavaStoredProcCall.runStoredProc(FirstJavaStoredProcCall.java:16)
     at com.gepower.gees.ico.dao.FirstJavaStoredProcCall.main(FirstJavaStoredProcCall.java:40)
The exception is being thrown on the line
oCallStmt = conn.prepareCall("{? = call PREPENDHELLO(?)}");
What is wrong??
Please help !!!
Thanks in advance
Abhi

Plz ignore this !!! There was a dumb mistake. Its working now
-Abhi

Similar Messages

  • Weblogic.jdbc20.rmi.SerialConnection fail to prepareCall()

    Hi, I have a stateless session bean calling an oracle8i stored procedure. The java.sql.Connection is obtained via weblogic DataSource (non-transactional). and this line is failing:CallableStatement cstmt = conn.prepareCall(qstr);Start of the stack is this:java.sql.SQLException: java.lang.NullPointerException: at weblogic.jdbc20.rmi.SerialConnection.prepareCall(SerialConnection.java:44)I tested printing conn.toString() and it gave me "weblogic.jdbc20.rmi.SerialConnection@43074758", but any other method on this Connection object will fail.Yet, same program runs just fine in servlet. Any idea why? How does weblogic.jdbc20.rmi.SerialConnection come to into play? What is it?Any help is appreciated!Alan

    Potluri wrote:
    >
    WLS 6.1 on Win 2000 and trying to connect Oracle database on remote Unix machine.Let me know if you're at the latest service pack level. This feels like a bug that
    has been fixed...
    Joe
    >
    Joseph Weinstein <[email protected]> wrote:
    Potluri wrote:
    Hi ,
    I am using CallableStatement to update the database. When i tried tocreate the
    callable statement it is throwing the following exception. can anysuggest some
    solution for this....
    java.sql.SQLException: java.lang.NullPointerException
    at weblogic.jdbc.rmi.SerialConnection.prepareCall(SerialConnection.java:
    106)
    PotluriWhat version of the server are you running?
    B.E.A. is now hiring! (12/14/01) If interested send a resume to [email protected]
    DIRECTOR OF PRODUCT PLANS AND STRATEGY San Francisco, CA
    E-SALES BUSINESS DEVELOPMENT REPRESENTATIVE Dallas, TX
    SOFTWARE ENGINEER (DBA) Liberty Corner, NJ
    SENIOR WEB DEVELOPER San Jose, CA
    SOFTWARE ENGINEER (ALL LEVELS), CARY, NORTH CAROLINA San Jose, CA
    SR. PRODUCT MANAGER Bellevue, WA
    SR. WEB DESIGNER San Jose, CA
    Channel Marketing Manager - EMEA Region London, GBR
    DIRECTOR OF MARKETING STRATEGY, APPLICATION SERVERS San Jose, CA
    SENIOR SOFTWARE ENGINEER (PLATFORM) San Jose, CA
    E-COMMERCE INTEGRATION ARCHITECT San Jose, CA
    QUALITY ASSURANCE ENGINEER Redmond, WA
    Services Development Manager (Business Development Manager - Services) Paris, FRA; Munich, DEU
    SENIOR SOFTWARE ENGINEER (PLATFORM) Redmond, WA
    E-Marketing Programs Specialist EMEA London, GBR
    BUSINESS DEVELOPMENT DIRECTOR - E COMMERCE INTEGRATION San Jose, CA
    MANAGER, E-SALES Plano, TX

  • Recuperara aplicación desarrollada con PL/SQL con HTML .

    Saludos, tenemos una aplicación que en su momento fue un caso de exito, se desarrollo usando Oracle 8 y la aplicación se hizo usando la libreria HTP.P(' ') para poder ejecutar PL/SQL y HTML, actualmente contamos con la versión 11g release 2 (11.2.0.10) y  el modulo de Oracle Busines Intelligence 11g, la pregunta es, con estos elemetos actuales estamos en posibilidades de poder volver a levantar la aplicación en mención. ????  Envío ejemplo de código:

    Hi,
    SInce the PL/SQL block is keyed in dynamically, you probably want to use the anonymous PL/SQL syntax for invoking it:
    // begin ? := func (?, ?); end; -- a result is returned to a variable
    CallableStatement cstmt3 =
    conn.prepareCall(“begin ? := func3(?, ?); end;”);
    // begin proc(?, ?); end; -- Does not return a result
    CallableStatement cstmt4 =
    Conn.prepareCall(“begin proc4(?, ?); end;”);
    SQLJ covered in chapter 10, 11, and 12 of my book furnish a more versatile dynamic SQl or PL/SQL mechanisms.
    Kuassi
    - blog http://db360.blogspot.com/
    - book http://db360.blogspot.com/2006/08/oracle-database-programming-using-java_01.html

  • Error in handlinh web service

    Hello,
    I created a web service in which, i am calling a procedure from oracle apps.
    I am passing 3 values to procedure and getting one as a flag (Y or N) and other is null.
    So while handling null value i am getting error as :
    java.lang.nullpointer.........
    I am posting my code here.
    public ArrayList getApprove(int notification_id, String note, String username){
    ArrayList error=new ArrayList();
    con=getEBSConnection();
    try {
    cst= con.prepareCall("{call INOTIFICATION_PKG.approve_notification(?,?,?,?,?)}");
    cst.setInt(1,notification_id);
    cst.setString(2,note);
    cst.setString(3,username);
    cst.registerOutParameter(4,Types.VARCHAR);
    cst.registerOutParameter(5,Types.VARCHAR);
    cst.execute();
    error.add(cst.getString(4));
    String error_handle=cst.getString(5);
    if(error_handle.equals(null)){
    error_handle="Sucessfull";
    error.add(error_handle);
    else{
    error.add(cst.getString(5));
    } catch (SQLException e) {
    System.out.println("No Such Record");
    return(error);
    Reply.....

    Hi,
    This is the input xml message.
    <odi:invokeScenarioRequest xmlns:odi="xmlns.oracle.com/odi/OdiInvoke/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="xmlns.oracle.com/odi/OdiInvoke/
    C:\DOCUME~1\mohamedjaved_hussain\Desktop\DecompWebService(BT)\OdiInvoke[1].xsd">
              <RepositoryConnection>
                   <JdbcDriver>oracle.jdbc.driver.OracleDriver</JdbcDriver>
                   <JdbcUrl>jdbc:oracle:thin:@localhost:1521:ORCLSOA</JdbcUrl>
                   <JdbcUser>soa_admin</JdbcUser>
                   <JdbcPassword>admin123</JdbcPassword>
                   <OdiUser>SUPERVISOR</OdiUser>
                   <OdiPassword>SUNOPSIS</OdiPassword>
                   <WorkRepository>SWAP</WorkRepository>
              </RepositoryConnection>
              <Command>
                   <ScenName>TEST_INSERT</ScenName>
                   <ScenVersion>002</ScenVersion>
                   <Context>global</Context>
                   <SyncMode>1</SyncMode>
              </Command>
              <Agent>
                   <Host>172.24.158.75</Host>
                   <Port>20910</Port>
              </Agent>
    </odi:invokeScenarioRequest>

  • How to create and write in a file

    Hello Gurus,
    I am creating a file based on the date and time and writing into that. But, I am still getting exception error and all. Kindly, please let me know.
    thanks for all the help...j
    Error:-
    C:\Usage\JavaFiles>java filename "abc"
    Exception in thread "main" java.io.FileNotFoundException:Detail09-2003-
    03:28:04.doc (The system cannot find the file specified)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:176)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at TowerDetail.main(TowerDetail.java:30)
    Code sample:-
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    import java.sql.*;
    import java.text.*;
    public class TowerDetail{
    public static void main (String[] args) throws IOException{
    String userName = "user";
    String passwd = "pwd";
    String con_db = "jdbc:odbc:datasource";
    String ssn = args[0];
    Vector results = new Vector();
    Connection con = null;
    CallableStatement cstmt = null;
    java.util.TimeZone tz = java.util.TimeZone.getTimeZone("EST");
    java.util.Date now = new java.util.Date();
    DateFormat df = new SimpleDateFormat("MM-dd-yyyy-hh:mm:ss");
    df.setTimeZone(tz);
    String result = df.format(now);
    String fileName = "Detail"+result+".doc";
    File inputFile = new File(fileName);
    FileOutputStream fos = new FileOutputStream(inputFile);
    PrintWriter pw = new PrintWriter(fos);
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    }catch (Exception e) {
    System.out.println("JDBC Error: "+e.getMessage());
    return;
    try{
    con = DriverManager.getConnection(con_db, userName, passwd);
    cstmt = con.prepareCall("{call dbo.sp_usage_detail(?)}");
    cstmt.setString(1, ssn.trim());
    ResultSet rs = cstmt.executeQuery();
    pw.println("Report "+result);
    pw.println("------------------------------------------------------------------------------------
    while(rs.next()){
    .... write in the file...
    pw.println("------------------------------------------------------------------------------------
    pw.close();
    System.out.println("Your file Detail"+result+".doc is ready!!!");
    cstmt.close();
    con.close();
    }catch(SQLException ex){
    System.out.println("SQLException: ");
    System.out.println(ex.getMessage());
    }catch(NullPointerException e){
    System.out.println("Null Pointer Exception: ");
    System.out.println(e.getMessage());

    Now, I got out of the command prompt and reentered. I didn't set any classpath or anything. I have created a subdir \archive in the C:\ and writing an output file [DetailTower.....doc")into that.
    The DetailTower.class is in C:\Detail\ProjectClass dirctory.
    Now at,
    C:\Detail\ProjectClass\java -classpath . DetailTower "abc"
    I am getting this error:-
    C:\Detail\ProjectClass>java -classpath . DetailTower "999999"
    Exception in thread "main" java.io.FileNotFoundException: c:\archive\DetailTower09-10-2003-06:23:40.doc (The system cannot find the file specified)at java.io.FileOutputStream.open(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:176)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
            at Detail.main(DetailTower.java:32)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Pointbase : How can I create a stored procedure with Pointbase database?

    Hello,
    Excuse me for my english, I'm not anglophone. I try to create a stored procedure.
    This is my file SampleExternalMethods.java :
      import java.sql.*;    //import com.pointbase.jdbc.jdbcInOutDoubleWrapper;          public class SampleExternalMethods    {      // A connection object to allow database callback      static Connection conn = null;      static Statement l_stmt;      static Statement m_stmt;      static CallableStatement m_callStmt = null;      static ResultSet l_rs = null;          public static void main(String[] args)      {        try        {          String url = "jdbc:pointbase:server://localhost/pointbaseDB";          String username = "PBPUBLIC";          String password = "PBPUBLIC";          conn = DriverManager.getConnection(url, username, password);          doCreateProcedure();          doInvokeProcedure();        } catch (SQLException e) {          e.printStackTrace();        } finally {          if (m_stmt != null) {            try {              m_stmt.close();            } catch (Exception e) {              e.printStackTrace();            }          }          if (m_callStmt != null) {            try {              m_callStmt.close();            } catch (Exception e) {              e.printStackTrace();            }          }          if (conn != null) {            try {              conn.close();            } catch (Exception e) {              e.printStackTrace();            }          }        }      }                  public static void getCountry(String Iso_Code)      {        try        {          // Query the database for the country iso code          l_stmt = conn.createStatement();          l_rs = l_stmt.executeQuery( "SELECT * FROM countries"          + " WHERE country_iso_code ='" + Iso_Code + "'");          //Affichage du résultat de la requête          l_rs.next();          System.out.print(l_rs.getString(1) + " - ");          System.out.print(l_rs.getString(2) + " - ");          System.out.println(l_rs.getString(3));          // Close the result set          l_rs.close();        } catch (SQLException e) {          e.printStackTrace();        } finally {          if (l_rs != null) {            try {              l_rs.close();            } catch (Exception e) {              e.printStackTrace();            }          }          if (l_stmt != null) {            try {              l_stmt.close();            } catch (Exception e) {              e.printStackTrace();            }          }        }      }            public static void doCreateProcedure() throws SQLException {        // SQL statement to create a stored procedure        String SQL_CREATE_PROC = "CREATE PROCEDURE getCountry(IN P1 VARCHAR(30))"        + " LANGUAGE JAVA"        + " SPECIFIC getCountry"        + " NO SQL"        + " EXTERNAL NAME \"SampleExternalMethods::getCountry\""        + " PARAMETER STYLE SQL";        // Create a SQL statement        m_stmt = conn.createStatement();        // Execute the SQL        m_stmt.executeUpdate(SQL_CREATE_PROC);        // Close the statement        //m_stmt.close();      }          public static void doInvokeProcedure() throws SQLException {        // Create SQL to invoke stored procedures        String SQL_USE_PROC = "{ call getCountry(?) }";        // Create a callable statement with three binding parameters        m_callStmt = conn.prepareCall(SQL_USE_PROC);        m_callStmt.setString(1, "CA");        m_callStmt.executeQuery();        // Close the callable statement        //m_callStmt.close();      }    } 
    Afterwards, I have read this note in a Pointbase document:
    To invoke the dateConvert external Java method from a stored function, you must use the
    CREATE FUNCTION statement. The dateConvert external Java method is called from the
    class, SampleExternalMethods.
    In order for the database to access this external Java method, the class SampleExternalMethods
    must be included in the database CLASSPATH. For PointBase Embedded - Server Option, it
    must be in the Server CLASSPATH, but not in the Client CLASSPATH.
    If PointBase Server is run with the Java Security Manager, in the java policy file grant
    ’com.pointbase.sp.spPermission’ to the class that implements the external Java method.
    An "spPermission" consists of a class name with no action. The class name is a name of a class
    that could be used in creating a Stored Procedure in PointBase. The naming convention follows
    the hierarchical property naming convention and that is supported by
    "java.security.BasicPermission". An asterisk may appear by itself, or if immediately preceded
    by ".", may appear at the end of the name, to signify a wildcard match. The name cannot
    contain any white spaces.
    I'm not sure, but I suppose that I must include the class SampleExternalMethods in a .jar file.
    The database CLASSPATH could be : C:\Sun\AppServer\pointbase\lib\
    These my files in this database CLASSPATH:
    pbclient.jar
    pbembedded.jar
    pbtools.jar
    pbupgrade.jar
    I have tryed to include the class SampleExternalMethods in pbclient.jar and pbembedded.jar with this command:
    jar -uf pbembedded.jar SampleExternalMethods
    Afterwards I do that,
    1) Start Pointbase
    2) Configuration of classpath
    set classpath=C:\Sun\AppServer\pointbase\lib\pbclient.jar
    set classpath=%classpath%;D:\J2EE\Ch07Code\Ch07_06
    I precise that my file SampleExternalMethods is into D:\J2EE\Ch07Code\Ch07_06\Ch07.
    Then, I run the program:
    D:\J2EE\Ch07Code\Ch07_06>java -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver Ch07.SampleExternalMethods
    But I have an error message:
    Exception in thread "main" java.lang.NoClassDefFoundError: Ch07.SampleExternalMethods (wrong name: SampleExternalMethods)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.DefineClass(ClassLoader.java:539)
    The problem, I suppose, comes from that the class SampleExternalMethods
    must be included in the database CLASSPATH, but there is a pbserver.jar with pointbase normally, but I didn't find it. That's why I use pbembedded.jar or pbclient.jar in order to include the class SampleExternalMethods. May be I must start from C:\Sun\AppServer\pointbase\lib\ instead of D:\J2EE\Ch07Code\Ch07_06\Ch07?
    Please, can somebody helps me?
    Thank you in advance.
    cagou!

    jschell wrote:
    And I doubt you can recurse like that for embedded java. You must have a class that does the functionality and another class that creates the proc.
    >And I doubt you can recurse like that for embedded java. You must have a class that does the functionality and another class that creates the proc.
    >
    And I doubt you can recurse like that for embedded java. You must have a class that does the functionality and another class that creates the proc.
    Thank you for your response, I have done two classes:
    SampleExternalMethods.java:
    package Ch07;
    import java.sql.*;*
    *public class SampleExternalMethods*
    *public static void getCountry(String Iso_Code)*
    *// A connection object to allow database callback*
    *Connection l_conn = null;*
    *Statement l_stmt = null;*
    *ResultSet l_rs = null;*
    *try*
    *String url = "jdbc:pointbase:server://localhost/pointbaseDB";*
    *String username = "PBPUBLIC";*
    *String password = "PBPUBLIC";*
    *l_conn = DriverManager.getConnection(url, username, password);*
    *// Query the database for the country iso code*
    *l_stmt = l_conn.createStatement();*
    *l_rs = l_stmt.executeQuery( "SELECT* FROM PBPUBLIC.COUNTRIES"
    +" WHERE country_iso_code ='"+ Iso_Code +"'");+
    +//Affichage du r&eacute;sultat de la requ&ecirc;te+
    +l_rs.next();+
    +System.out.print(l_rs.getString(1)+ " - ");
    System.out.print(l_rs.getString(2) +" - ");+
    +System.out.println(l_rs.getString(3));+
    +// Close the result set+
    +l_rs.close();+
    +} catch (SQLException e) {+
    +e.printStackTrace();+
    +} finally {+
    +if (l_rs != null) {+
    +try {+
    +l_rs.close();+
    +} catch (Exception e) {+
    +e.printStackTrace();+
    +}+
    +}+
    +if (l_stmt != null) {+
    +try {+
    +l_stmt.close();+
    +} catch (Exception e) {+
    +e.printStackTrace();+
    +}+
    +}+
    +if (l_conn != null) {+
    +try {+
    +l_conn.close();+
    +} catch (Exception e) {+
    +e.printStackTrace();+
    +}+
    +}+
    +}+
    +}+
    +}+
    CreateMethods.java:
    +package Ch07;+
    +import java.sql.*;+
    +public class CreateMethods+
    +{+
    +// A connection object to allow database callback+
    +static Connection m_conn = null;+
    +static Statement m_stmt;+
    +static CallableStatement m_callStmt = null;+
    +public static void main(String[] args)+
    +{+
    +try+
    +{+
    +String url = "jdbc:pointbase:server://localhost/pointbaseDB";+
    +String username = "PBPUBLIC";+
    +String password = "PBPUBLIC";+
    +m_conn = DriverManager.getConnection(url, username, password);+
    +doCreateProcedure();+
    +doInvokeProcedure();+
    +} catch (SQLException e) {+
    +e.printStackTrace();+
    +} finally {+
    +if (m_stmt != null) {+
    +try {+
    +m_stmt.close();+
    +} catch (Exception e) {+
    +e.printStackTrace();+
    +}+
    +}+
    +if (m_callStmt != null) {+
    +try {+
    +m_callStmt.close();+
    +} catch (Exception e) {+
    +e.printStackTrace();+
    +}+
    +}+
    +if (m_conn != null) {+
    +try {+
    +m_conn.close();+
    +} catch (Exception e) {+
    +e.printStackTrace();+
    +}+
    +}+
    +}+
    +}+
    +public static void doCreateProcedure() throws SQLException {+
    +// SQL statement to create a stored procedure+
    +String SQL_CREATE_PROC = "CREATE PROCEDURE PBPUBLIC.getCountry(IN P1 VARCHAR(30))"+
    " LANGUAGE JAVA"
    +" SPECIFIC getCountry"+
    " NO SQL"
    +" EXTERNAL NAME \"SampleExternalMethods::getCountry\""+
    " PARAMETER STYLE SQL";
    // Create a SQL statement
    m_stmt = m_conn.createStatement();
    // Execute the SQL
    m_stmt.executeUpdate(SQL_CREATE_PROC);
    // Close the statement
    //m_stmt.close();
    public static void doInvokeProcedure() throws SQLException {
    // Create SQL to invoke stored procedures
    String SQL_USE_PROC = "{ call getCountry(?) }";
    // Create a callable statement with three binding parameters
    m_callStmt = m_conn.prepareCall(SQL_USE_PROC);
    m_callStmt.setString(2, "CA");
    m_callStmt.executeQuery();
    // Close the callable statement
    //m_callStmt.close();
    }But I have the same error message that previously.
    I have read this note and I suppose that the problem is linked:
    If PointBase Server is run with the Java Security Manager, in the java policy file grant
    *’com.pointbase.sp.spPermission’ to the class that implements the external Java method.*
    An "spPermission" consists of a class name with no action. The class name is a name of a class
    that could be used in creating a Stored Procedure in PointBase. The naming convention follows
    the hierarchical property naming convention and that is supported by
    *"java.security.BasicPermission". An asterisk may appear by itself, or if immediately preceded*
    by ".", may appear at the end of the name, to signify a wildcard match. The name cannot
    contain any white spaces.
    Can you explain me what I must to do in order to solve this problem of spPermission.
    Thanks.

  • Error while trying to store PDF in Oracle's BLOB field

    Hi folks!
    I'm having problems while trying to store PDF file in a BLOB field of an Oracle table
    This is the message code:
    Exception in thread "main" java.sql.SQLException: Data size bigger than max size for this type: 169894
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.ttc7.TTCItem.setArrayData(TTCItem.java:95)
    at oracle.jdbc.dbaccess.DBDataSetImpl.setBytesBindItem(DBDataSetImpl.java:2414)
    at oracle.jdbc.driver.OraclePreparedStatement.setItem(OraclePreparedStatement.java:1134)
    at oracle.jdbc.driver.OraclePreparedStatement.setBytes(OraclePreparedStatement.java:2170)
    at vgoactualizacion.Main.main(Main.java:84)     
    This is the piece of code i'm using:
    Assuming conn = conection to Oracle 10g Database ( it's working )
    String miProcedimientoAlmacenado = "{ call package_name.update_client(?,?, ?) }";
    CallableStatement miComando = conn.prepareCall(miProcedimientoAlmacenado);
    miComando.setString(1,miClienteID ); //first parameter : IN
                   //second parameter : IN
    File miPDF = new File(pathPDF + "//" + miClienteID + ".pdf");
    byte[] bodyIn = readFully(miPDF); //readFully procedure is shown below
    miComando.setBytes(2, bodyIn); //THIS IS THE LINE WHERE THE ERROR IS PRODUCED
              //3rd parameter: OUT
    miComando.registerOutParameter(3, java.sql.Types.VARCHAR);
    miComando.execute();
    private static byte[] readFully(File miPDF) throws FileNotFoundException, IOException {
    FileInputStream fis = new FileInputStream(miPDF);
    byte[] tmp = new byte[1024];
    byte[] data = null;
    int sz, len = 0;
    while ((sz = fis.read(tmp)) != -1) {
    if (data == null) {
    len = sz;
    data = tmp;
    } else {
    byte[] narr;
    int nlen;
    nlen = len + sz;
    narr = new byte[nlen];
    System.arraycopy(data, 0, narr, 0, len);
    System.arraycopy(tmp, 0, narr, len, sz);
    data = narr;
    len = nlen;
    if (len != data.length) {
    byte[] narr = new byte[len];
    System.arraycopy(data, 0, narr, 0, len);
    data = narr;
    return data;
    }//fin readFully
    This approach indicates that the PDF file is converted into an array of bytes, then is stored as binary in the BLOB field.
    Thanx in advance, and looking forward for your comments.

    You will probably need to use the setBinaryStream() method instead of setBytes().

  • Error while calling a function.

    Hi,
    below is my callable statement through which am calling a function which returns the service years of a person with personid as parameter.
    But dont know why am getting an error which is returning the serviceyrs as 0.
    when i try to debug, the problem is in this statement
    System.out.println("the output1 is "+cs.getInt(1));
    is there any problem with my code.
    please look the code below
    thanks
    kumar
    OADBTransaction txn=getOADBTransaction();
    OracleCallableStatement cs = (OracleCallableStatement) txn.createCallableStatement("begin :1:=LMIG_UTILITY_PKG.GET_TOTAL_SERVICE(p_person_id => :2); end;",1);
    try
    cs.registerOutParameter(1,Types.INTEGER);
    cs.setInt(2,Integer.parseInt(pid));
    System.out.println("person id is "+pid);
    System.out.println("the output1 is "+cs.getInt(1));
    cs.execute();
    serviceyrs= cs.getInt(1);
    cs.close();
    catch(SQLException sqle)
    System.out.println("ERROR"+sqle.toString());
    System.out.println("Service years are "+serviceyrs);

    Hi, Guess u are missing the connection to the JDBC call.
    Try the following...it worked for me..
    Connection conn = this.getOADBTransaction().getJdbcConnection();
    OracleCallableStatement ocs = null;
    String param = null;
    try {       
         String stmt = "BEGIN :1 := <PkgName>.<FunctionName>(:2); end;";
         ocs = (OracleCallableStatement)conn.prepareCall(stmt);
         ocs.registerOutParameter(1, OracleTypes.CHAR);
         ocs.setString(2, <param>);
         ocs.execute();
         param = ocs.getString(1);
    } catch(SQLException se)
    {       throw OAException.wrapperException(se);    
    finally
         try {               
              ocs.close();
              return(param);
         } catch(Exception e)
              throw OAException.wrapperException(e);
    }

  • Not able to run standard iProcurement Shopping cart page through jDevloper10g in R12.1.3

    Dear All,
    I am trying to run standard iProcurement Shopping cart page (Negotiation Tab) through jDevloper10g in R12.1.3 instance but on click of "View Cart and Checkout" button
    it gives an exception as "ArrayIndexOutOfBoundsException".
    I had copied these .class & .xml files under Myclasses -> oracle.apps.icx and oracle.apps.po and oracle.apps.fnd was same which comes part of the standard OA tutorial.
    I copied same under Myprojects as well.
    When I access the page directly from the instance it works fine. Problem is only through jDeveloper.
    Please advice what is missing here.
    I tried debugging as well in jDEV and below is the log of the same. I noticed every time when VO is called, while binding numeric values it throws error.
    Any pointers would be of great help!!
    Regards
    Rohit
    ======================
    Debug Info
    ======================
    13/09/20 09:22:12 [403] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from Client Environment
    13/09/20 09:22:12 [404] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [405] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [406] Skipping empty Property jbo.pcoll.mgr from System Default
    13/09/20 09:22:12 [407] BC4J Property jbo.txn_table_name='FND_PS_TXN' -->(SessionImpl) from Client Environment
    13/09/20 09:22:12 [408] BC4J Property jbo.txn_seq_name='FND_PS_TXN_S' -->(SessionImpl) from Client Environment
    13/09/20 09:22:12 [409] BC4J Property jbo.txn_seq_inc='1' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [410] BC4J Property jbo.control_table_name='FND_PCOLL_CONTROL' -->(MetaObjectManager) from Client Environment
    13/09/20 09:22:12 [411] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [412] BC4J Property jbo.domain.date.suppress_zero_time='true' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [413] BC4J Property jbo.domain.bind_sql_date='true' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [414] BC4J Property jbo.domain.string.as.bytes.for.raw='false' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [415] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [416] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [417] BC4J Property jbo.903.compatible='false' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [418] Skipping empty Property JBODynamicObjectsPackage from System Default
    13/09/20 09:22:12 [419] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [420] BC4J Property jbo.load.components.lazily='false' -->(MetaObjectManager) from Client Environment
    13/09/20 09:22:12 [421] BC4J Property MetaObjectContext='oracle.adf.mds.jbo.JBODefManager' -->(MetaObjectManager) from System Property
    13/09/20 09:22:12 [422] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
    13/09/20 09:22:12 [423] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    13/09/20 09:22:12 [424] BC4J Property oracle.jbo.usemds='false' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [425] BC4J Property oracle.adfm.usemds='false' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [426] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [427] Skipping empty Property HandleName from System Default
    13/09/20 09:22:12 [428] Skipping empty Property Factory-Substitution-List from System Default
    13/09/20 09:22:12 [429] Skipping empty Property jbo.project from System Default
    13/09/20 09:22:12 [430] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [431] BC4J Property jbo.dofailover='false' -->(Configuration) from Client Environment
    13/09/20 09:22:12 [432] BC4J Property jbo.ampool.writecookietoclient='true' -->(Configuration) from Client Environment
    13/09/20 09:22:12 [433] BC4J Property jbo.doconnectionpooling='false' -->(Configuration) from Client Environment
    13/09/20 09:22:12 [434] BC4J Property jbo.recyclethreshold='10' -->(Configuration) from Client Environment
    13/09/20 09:22:12 [435] BC4J Property jbo.ampool.dynamicjdbccredentials='true' -->(Configuration) from System Default
    13/09/20 09:22:12 [436] BC4J Property jbo.ampool.resetnontransactionalstate='false' -->(SessionImpl) from Client Environment
    13/09/20 09:22:12 [437] BC4J Property jbo.ampool.sessioncookiefactoryclass='oracle.apps.fnd.framework.webui.OAHttpSessionCookieFactory' -->(Configuration) from Client Environment
    13/09/20 09:22:12 [438] BC4J Property jbo.ampool.connectionstrategyclass='oracle.apps.fnd.framework.OAConnectionStrategy' -->(Configuration) from Client Environment
    13/09/20 09:22:12 [439] BC4J Property jbo.ampool.maxpoolsize='2147483647' -->(Configuration) from System Default
    13/09/20 09:22:12 [440] BC4J Property jbo.ampool.initpoolsize='0' -->(Configuration) from System Default
    13/09/20 09:22:12 [441] BC4J Property jbo.ampool.monitorsleepinterval='300000' -->(Configuration) from Client Environment
    13/09/20 09:22:12 [442] BC4J Property jbo.ampool.minavailablesize='0' -->(Configuration) from Client Environment
    13/09/20 09:22:12 [443] BC4J Property jbo.ampool.maxavailablesize='10' -->(Configuration) from Client Environment
    13/09/20 09:22:12 [444] BC4J Property jbo.ampool.maxinactiveage='180000' -->(Configuration) from Client Environment
    13/09/20 09:22:12 [445] BC4J Property jbo.ampool.timetolive='3600000' -->(Configuration) from System Default
    13/09/20 09:22:12 [446] BC4J Property jbo.ampool.doampooling='true' -->(Configuration) from System Default
    13/09/20 09:22:12 [447] BC4J Property jbo.ampool.isuseexclusive='true' -->(Configuration) from System Default
    13/09/20 09:22:12 [448] BC4J Property jbo.passivationstore='database' -->(MetaObjectManager) from Client Environment
    13/09/20 09:22:12 [449] BC4J Property jbo.saveforlater='false' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [450] BC4J Property jbo.snapshotstore.undo='persistent' -->(SessionImpl) from Client Environment
    13/09/20 09:22:12 [451] BC4J Property jbo.maxpassivationstacksize='10' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [452] BC4J Property jbo.txn.handleafterpostexc='false' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [453] BC4J Property jbo.connectfailover='true' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [454] BC4J Property jbo.maxpoolcookieage='-1' -->(Configuration) from System Default
    13/09/20 09:22:12 [455] BC4J Property PoolClassName='oracle.apps.fnd.framework.OAApplicationPoolImpl' -->(Configuration) from Client Environment
    13/09/20 09:22:12 [456] BC4J Property jbo.maxpoolsize='5' -->(MetaObjectManager) from Client Environment
    13/09/20 09:22:12 [457] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [458] BC4J Property jbo.poolrequesttimeout='5000' -->(MetaObjectManager) from Client Environment
    13/09/20 09:22:12 [459] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [460] BC4J Property jbo.poolminavailablesize='5' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [461] BC4J Property jbo.poolmaxavailablesize='25' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [462] BC4J Property jbo.poolmaxinactiveage='600000' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [463] BC4J Property jbo.pooltimetolive='3600000' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [464] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [465] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [466] BC4J Property jbo.viewlink.consistent='DEFAULT' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [467] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [468] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
    13/09/20 09:22:12 [469] BC4J Property jbo.SQLBuilder='oracle.apps.fnd.framework.server.OAOracleSQLBuilderImpl' -->(MetaObjectManager) from Client Environment
    13/09/20 09:22:12 [470] BC4J Property jbo.ConnectionPoolManager='oracle.apps.fnd.framework.server.OAConnectionPoolManagerImpl' -->(MetaObjectManager) from Client Environment
    13/09/20 09:22:12 [471] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    13/09/20 09:22:12 [472] Skipping empty Property jbo.sql92.JdbcDriverClass from System Default
    13/09/20 09:22:12 [473] BC4J Property jbo.sql92.LockTrailer='FOR UPDATE' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [474] BC4J Property jbo.jdbc.trace='true' -->(MetaObjectManager) from System Property
    13/09/20 09:22:12 [475] BC4J Property jbo.abstract.base.check='true' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [476] BC4J Property jbo.assoc.where.early.set='false' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [477] BC4J Property jbo.sql92.DbTimeQuery='select sysdate from dual' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [478] BC4J Property oracle.jbo.defineColumnLength='as_chars' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [479] BC4J Property jbo.jdbc_bytes_conversion='jdbc' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [480] Skipping empty Property jbo.tmpdir from System Default
    13/09/20 09:22:12 [481] Skipping empty Property jbo.server.internal_connection from System Default
    13/09/20 09:22:12 [482] Skipping empty Property SessionClass from System Default
    13/09/20 09:22:12 [483] Skipping empty Property TransactionFactory from System Default
    13/09/20 09:22:12 [484] Skipping empty Property jbo.def.mgr.listener from System Default
    13/09/20 09:22:12 [485] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    13/09/20 09:22:12 [486] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    13/09/20 09:22:12 [487] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    13/09/20 09:22:12 [488] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    13/09/20 09:22:12 [489] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    13/09/20 09:22:12 [490] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    13/09/20 09:22:12 [491] BC4J Property jbo.logging.trace.threshold='9' -->(Diagnostic) from System Property
    13/09/20 09:22:12 [492] BC4J Property jbo.jdbc.driver.verbose='true' -->(Diagnostic) from System Property
    13/09/20 09:22:12 [493] BC4J Property oracle.home='C:\jDev10g\jdevbin' -->(Diagnostic) from System Property
    13/09/20 09:22:12 [494] Skipping empty Property oc4j.name from System Default
    13/09/20 09:22:12 [495] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [496] BC4J Property jbo.ejb.txntype='global' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [497] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [498] Skipping empty Property jbo.ejb.useampool from System Default
    13/09/20 09:22:12 [499] Skipping empty Property oracle.jbo.schema from System Default
    13/09/20 09:22:12 [500] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [501] BC4J Property ord.RetrievePath='ordDeliverMedia' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [502] BC4J Property ord.HttpMaxMemory='102400' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [503] Skipping empty Property ord.HttpTempDir from System Default
    13/09/20 09:22:12 [504] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [505] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [506] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [507] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [508] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [509] Skipping empty Property ord.rp.codebase from System Default
    13/09/20 09:22:12 [510] BC4J Property ord.wmp.plugins.page='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [511] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [512] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [513] BC4J Property jbo.security.enforce='None' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [514] BC4J Property jbo.security.loginmodule='oracle.security.jazn.tools.Admintool' -->(SessionImpl) from System Default
    13/09/20 09:22:12 [515] Skipping empty Property jbo.security.config from System Default
    13/09/20 09:22:12 [516] BC4J Property jbo.server.useNullDbTransaction='true' -->(SessionImpl) from Client Environment
    13/09/20 09:22:12 [517] BC4J Property jbo.domain.reopenblobstream='false' -->(MetaObjectManager) from System Default
    13/09/20 09:22:12 [518] Copying unknown Client property (Sid='1528') to session
    13/09/20 09:22:12 [519] Copying unknown Client property (DBC_FILE_NAME='C:\jDev10g\jdevhome\jdev\dbc_files\secure\EGLDEV2.dbc.dbc') to session
    13/09/20 09:22:12 [520] Copying unknown Client property (ApplicationModuleName='oracle.apps.icx.por.req.server.RequisitionAM') to session
    13/09/20 09:22:12 [521] Copying unknown Client property (DB_HOST_NAME='eglfdbd1.rhb.my') to session
    13/09/20 09:22:12 [522] Copying unknown Client property (OADeveloperMode='1') to session
    13/09/20 09:22:12 [523] Copying unknown Client property (OA_JSP_MODE='Y') to session
    13/09/20 09:22:12 [524] Copying unknown Client property (java.naming.factory.url.pkgs='oracle.oc4j.naming.url') to session
    13/09/20 09:22:12 [525] Copying unknown Client property (ConnectMode='Local') to session
    13/09/20 09:22:12 [526] Copying unknown Client property (COOKIE_ID='qkLJ4a8mNoGGEj4VYXZ9rNoo6N') to session
    13/09/20 09:22:12 [527] Copying unknown Client property (OADiagnostic='1') to session
    13/09/20 09:22:12 [528] Copying unknown Client property (ServerName='172.30.90.61') to session
    13/09/20 09:22:12 [529] Copying unknown Client property (JndiPath='test') to session
    13/09/20 09:22:12 [530] Copying unknown Client property (FNDNAM='APPS') to session
    13/09/20 09:22:12 [531] Copying unknown Client property (ImageBase='OA_MEDIA\') to session
    13/09/20 09:22:12 [532] Copying unknown Client property (jbo.applicationmoduleclassname='oracle.apps.icx.por.req.server.RequisitionAM') to session
    13/09/20 09:22:12 [533] Copying unknown Client property (jbo.jdbc.connectstring='jdbc:oracle:thin:APPLSYSPUB/PUB@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=eglfdbd1.rhb.my)(PORT=1528)))(CONNECT_DATA=(SID=1528)))') to session
    13/09/20 09:22:12 [534] Copying unknown Client property (GWYUID='APPLSYSPUB/PUB') to session
    13/09/20 09:22:12 [535] Copying unknown Client property (ServerPort='8988') to session
    13/09/20 09:22:12 [536] }} finished loading BC4J properties
    13/09/20 09:22:12 [537] -----------------------------------------------------------
    13/09/20 09:22:12 [538] Connected to Oracle JBO Server - Version: 10.1.3.41.57
    13/09/20 09:22:12 [539] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:12 [540] CSMessageBundle (language base) being initialized
    13/09/20 09:22:12 [541] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:12 [542] Business Object Browsing may be unavailable
    13/09/20 09:22:12 [543] Loading from XML file /oracle/apps/icx/por/req/server/RequisitionAM.xml
    13/09/20 09:22:12 [544] Created root application module: 'oracle.apps.icx.por.req.server.RequisitionAM'
    13/09/20 09:22:12 [545] Locale is: 'en_US'
    13/09/20 09:22:12 [546] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    13/09/20 09:22:12 [547] OAApplicationPoolImpl.setConnectionReleaseLevel was called with isReleased = false, isReserved = false
    13/09/20 09:22:12 [548] mPCollUsePMgr is false
    13/09/20 09:22:12 [549] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
    13/09/20 09:22:12 [550] ViewObjectImpl.mDefaultMaxActiveNodes is 30
    13/09/20 09:22:12 [551] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    13/09/20 09:22:12 [552] import java.util.*;  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [553] import java.sql.*;  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [554] import java.io.*;  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [555] public class JDBCCalls  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [556] {  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [557]    public Connection conn = null;  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [558]    public CallableStatement cStmt = null;  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [559]    public PreparedStatement pStmt = null;  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [560]    public Statement stmt = null;  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [561]    public ResultSet rslt = null;  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [562]    public static void main(String argv[])  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [563]    {  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [564]       DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [565]       conn = DriverManager.getConnection("jdbc:oracle:thin:APPLSYSPUB/PUB@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=eglfdbd1.rhb.my)(PORT=1528)))(CONNECT_DATA=(SID=1528)))", /*properties*/);  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [566]       conn.setAutoCommit(false);  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [567] Successfully logged in
    13/09/20 09:22:12 [568] JDBCDriverVersion: 10.1.0.5.0
    13/09/20 09:22:12 [569] DatabaseProductName: Oracle
    13/09/20 09:22:12 [570] DatabaseProductVersion: Oracle Database 11g Release 11.1.0.0.0 - Production
    13/09/20 09:22:12 [571] Root application module, oracle.apps.icx.por.req.server.RequisitionAM, was created at 2013-09-20 09:22:12.35
    13/09/20 09:22:12 [572] setConnectionReleaseLevel - Set connection release level to 0
    13/09/20 09:22:12 [573]       cStmt = conn.prepareCall("begin dbms_application_info.set_module(:1, :2); end;");  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [574]       cStmt = conn.prepareCall("BEGIN mo_global.init(:1); END;");  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [575] OAPB: Page Securing Expression = ${oa.FunctionSecurity.ICX_POR_SHOPPING_CART}
    13/09/20 09:22:12 [576]
    <ICX_SessionValues_Diagnostics - ICX Cookie = qkLJ4a8mNoGGEj4VYXZ9rNoo6N>: WebRequestUtil.validateContext is called.
    13/09/20 09:22:12 [577]
    <ICX_SessionValues_Diagnostics - ICX Cookie = qkLJ4a8mNoGGEj4VYXZ9rNoo6N>: WebRequestUtil.validateContext returned status = VALID.
    ICX Session Values after WebRequestUtil.validateContext:
    ===========================================================================
    <ICX_SessionValues_Diagnostics - ICX Cookie = qkLJ4a8mNoGGEj4VYXZ9rNoo6N>:
    Current ICX Session (Oracle Applications User Session) Values:
    1. User ID (DB, ICX_SESSIONS) = 1118
    2. Responsibility ID (DB, ICX_SESSIONS) = 21584
    3. Responsibility Application ID (DB, ICX_SESSIONS) = 178
    4. Org ID (DB, ICX_SESSIONS) = 88
    5. Org ID (DB, CLIENT_INFO) = -1
    6. Org ID (ProfileStore.getProfile) = 88
    7. Org ID (ProfileStore.getSpecificProfile with new ICX_SESSIONS values) = 88
    8. Employee ID (DB, FND_GLOBAL.EMPLOYEE_ID) = 157
    9. Employee ID (AppsContext.getFNDGlobal) = 157
    10. Function ID (DB, ICX_SESSIONS) = -1
    11. Security Group ID (DB, ICX_SESSIONS) = 0
    ===========================================================================
    13/09/20 09:22:12 [578]       cStmt = conn.prepareCall("BEGIN mo_global.init(:1); END;");  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [579] New Language Code = null
    13/09/20 09:22:12 [580] Current Language Code = US
    13/09/20 09:22:12 [581] _1>#q computed SQLStmtBufLen: 64, actual=24, storing=54
    13/09/20 09:22:12 [582] select sysdate from dual
    13/09/20 09:22:12 [583]       pStmt = conn.prepareStatement("select sysdate from dual");  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [584] *** createViewAttributeDefImpls: oracle.jdbc.driver.T4CPreparedStatement@2bc102
    13/09/20 09:22:12 [585] Bind params for ViewObject: _1
    13/09/20 09:22:12 [586] Column count: 1
    13/09/20 09:22:12 [587] Column count: 1
    13/09/20 09:22:12 [588] ViewObject: _1 Created new QUERY statement
    13/09/20 09:22:12 [589] _1>#q old SQLStmtBufLen: 54, actual=24, storing=54
    13/09/20 09:22:12 [590] select sysdate from dual
    13/09/20 09:22:12 [591]       pStmt = conn.prepareStatement("select sysdate from dual");  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [592] Bind params for ViewObject: _1
    13/09/20 09:22:12 [593] ViewObject: _1 close prepared statements...
    13/09/20 09:22:12 [594]       pStmt.close();  // JBO-JDBC-INTERACT
    13/09/20 09:22:12 [595] ##### QueryCollection.finl no RowFilter
    13/09/20 09:22:13 [596] Loading from XML file /oracle/apps/ak/region/server/server.xml
    13/09/20 09:22:13 [597] Loading from individual XML files
    13/09/20 09:22:13 [598] Loading the Containees for the Package 'oracle.apps.ak.region.server.server'.
    13/09/20 09:22:13 [599] Loading from XML file /oracle/apps/ak/region/server/AkAmParameterRegistryVO.xml
    13/09/20 09:22:13 [600] ViewDef: oracle.apps.ak.region.server.AkAmParameterRegistryVO using glue class
    13/09/20 09:22:13 [601] Column count: 2
    13/09/20 09:22:13 [602] ViewObject: AkAmParameterRegistryVO Created new QUERY statement
    13/09/20 09:22:13 [603] AkAmParameterRegistryVO>#q computed SQLStmtBufLen: 140, actual=100, storing=130
    13/09/20 09:22:13 [604] select PARAM_NAME, PARAM_SOURCE
    from AK_AM_PARAMETER_REGISTRY
    where APPLICATIONMODULE_DEFN_NAME = :1
    13/09/20 09:22:13 [605]       pStmt = conn.prepareStatement("select PARAM_NAME, PARAM_SOURCE
    from AK_AM_PARAMETER_REGISTRY
    where APPLICATIONMODULE_DEFN_NAME = :1");  // JBO-JDBC-INTERACT
    13/09/20 09:22:13 [606] Bind params for ViewObject: AkAmParameterRegistryVO
    13/09/20 09:22:13 [607] Binding param 1: oracle.apps.icx.por.req.server.RequisitionAM
    13/09/20 09:22:13 [608]       pStmt.setObject(1, "oracle.apps.icx.por.req.server.RequisitionAM");  // JBO-JDBC-INTERACT
    13/09/20 09:22:13 [609] Column count: 4
    13/09/20 09:22:13 [610] ViewObject: FndApplicationVO_2 close prepared statements...
    13/09/20 09:22:13 [611] ViewObject: FndApplicationVO_2 Created new QUERY statement
    13/09/20 09:22:13 [612] FndApplicationVO_2>#q computed SQLStmtBufLen: 277, actual=259, storing=289
    13/09/20 09:22:13 [613] SELECT * FROM (select application_short_name||'  '||to_char(application_id)||'  '||application_name application, application_id, application_short_name, application_name
    from fnd_application_vl) QRSLT  WHERE (application_id=:1) ORDER BY application_short_name
    13/09/20 09:22:13 [614]       pStmt = conn.prepareStatement("SELECT * FROM (select application_short_name||'  '||to_char(application_id)||'  '||application_name application, application_id, application_short_name, application_name
    from fnd_application_vl) QRSLT  WHERE (application_id=:1) ORDER BY application_short_name");  // JBO-JDBC-INTERACT
    13/09/20 09:22:13 [615] Bind params for ViewObject: FndApplicationVO_2
    13/09/20 09:22:13 [616] Binding param 1: 0
    13/09/20 09:22:13 [617]       pStmt.setObject(1, new Integer(0));  // JBO-JDBC-INTERACT
    13/09/20 09:22:13 [618] Could not find method:getApplicationShortName in oracle.apps.fnd.framework.server.OAViewRowImpl__Glue__ - oracle.apps.fnd.framework.server.OAViewRowImpl__Glue__.getApplicationShortName()
    13/09/20 09:22:13 [619] Could not find method:getApplicationShortName in oracle.apps.fnd.framework.server.OAViewRowImpl - oracle.apps.fnd.framework.server.OAViewRowImpl.getApplicationShortName()
    13/09/20 09:22:13 [620] Could not find method:getApplicationShortName in oracle.jbo.server.OAJboViewRowImpl - oracle.jbo.server.OAJboViewRowImpl.getApplicationShortName()
    13/09/20 09:22:13 [621] Could not find method:getApplicationShortName in oracle.jbo.server.ViewRowServiceImpl - oracle.jbo.server.ViewRowServiceImpl.getApplicationShortName()
    13/09/20 09:22:13 [622] Could not find method:setApplicationShortName in oracle.apps.fnd.framework.server.OAViewRowImpl__Glue__ - oracle.apps.fnd.framework.server.OAViewRowImpl__Glue__.setApplicationShortName(java.lang.String)
    13/09/20 09:22:13 [623] Could not find method:setApplicationShortName in oracle.apps.fnd.framework.server.OAViewRowImpl - oracle.apps.fnd.framework.server.OAViewRowImpl.setApplicationShortName(java.lang.String)
    13/09/20 09:22:13 [624] Could not find method:setApplicationShortName in oracle.jbo.server.OAJboViewRowImpl - oracle.jbo.server.OAJboViewRowImpl.setApplicationShortName(java.lang.String)
    13/09/20 09:22:13 [625] Could not find method:setApplicationShortName in oracle.jbo.server.ViewRowServiceImpl - oracle.jbo.server.ViewRowServiceImpl.setApplicationShortName(java.lang.String)
    13/09/20 09:22:13 [626] ViewObject: FndApplicationVO_2 close prepared statements...
    13/09/20 09:22:13 [627]       pStmt.close();  // JBO-JDBC-INTERACT
    13/09/20 09:22:13 [628] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [629] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [630] Business Object Browsing may be unavailable
    13/09/20 09:22:13 [631] ##### QueryCollection.finl no RowFilter
    13/09/20 09:22:13 [632] Loading from XML file /oracle/apps/icx/por/req/server/PoRequisitionLinesVO.xml
    13/09/20 09:22:13 [633] Loading from XML file /oracle/apps/icx/por/schema/server/server.xml
    13/09/20 09:22:13 [634] Loading from individual XML files
    13/09/20 09:22:13 [635] Loading the Containees for the Package 'oracle.apps.icx.por.schema.server.server'.
    13/09/20 09:22:13 [636] Loading from XML file /oracle/apps/icx/por/schema/server/PoRequisitionLineEO.xml
    13/09/20 09:22:13 [637] Loading from XML file /oracle/apps/icx/por/schema/server/PoRequisitionLineEO.xml
    13/09/20 09:22:13 [638] Loading from XML file /oracle/apps/icx/por/schema/server/PoRequisitionHeaderEO.xml
    13/09/20 09:22:13 [639] Loading from XML file /oracle/apps/icx/por/schema/server/PorItemAttributeValueEO.xml
    13/09/20 09:22:13 [640] ViewRowSetImpl's jbo.viewlink.consistent = default (2)
    13/09/20 09:22:13 [641] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [642] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [643] Business Object Browsing may be unavailable
    13/09/20 09:22:13 [644] Loading from XML file /oracle/apps/icx/por/req/server/PoRequisitionHeadersVO.xml
    13/09/20 09:22:13 [645] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [646] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [647] Business Object Browsing may be unavailable
    13/09/20 09:22:13 [648] Loading from XML file /oracle/apps/icx/por/req/server/ReqHeaderToReqLinesVL.xml
    13/09/20 09:22:13 [649] Loading from XML file /oracle/apps/icx/por/schema/server/ReqHeaderToReqLinesAO.xml
    13/09/20 09:22:13 [650] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [651] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [652] Business Object Browsing may be unavailable
    13/09/20 09:22:13 [653] Loading from XML file /oracle/apps/icx/por/req/server/ReqLineToDistributionsVL.xml
    13/09/20 09:22:13 [654] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [655] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [656] Business Object Browsing may be unavailable
    13/09/20 09:22:13 [657] Loading from XML file /oracle/apps/icx/por/req/server/PoReqDistributionsVO.xml
    13/09/20 09:22:13 [658] Loading from XML file /oracle/apps/icx/por/schema/server/PoReqDistributionEO.xml
    13/09/20 09:22:13 [659] Loading from XML file /oracle/apps/icx/por/schema/server/PoReqDistributionEO.xml
    13/09/20 09:22:13 [660] Loading from XML file /oracle/apps/icx/por/schema/server/ReqLineToDistributionsAO.xml
    13/09/20 09:22:13 [661] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [662] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [663] Business Object Browsing may be unavailable
    13/09/20 09:22:13 [664] Loading from XML file /oracle/apps/icx/por/req/server/ReqLineToInfoTemplatesVL.xml
    13/09/20 09:22:13 [665] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [666] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [667] Business Object Browsing may be unavailable
    13/09/20 09:22:13 [668] Loading from XML file /oracle/apps/icx/por/req/server/PorInfoTemplatesVO.xml
    13/09/20 09:22:13 [669] Loading from XML file /oracle/apps/icx/por/schema/server/PorTemplateInfoEO.xml
    13/09/20 09:22:13 [670] Loading from XML file /oracle/apps/icx/por/schema/server/PorTemplateInfoEO.xml
    13/09/20 09:22:13 [671] Loading from XML file /oracle/apps/icx/por/schema/server/ReqLineToInfoTemplatesAO.xml
    13/09/20 09:22:13 [672] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [673] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [674] Business Object Browsing may be unavailable
    13/09/20 09:22:13 [675] Loading from XML file /oracle/apps/icx/por/req/server/ReqLineToOneTimeLocationsVL.xml
    13/09/20 09:22:13 [676] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [677] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [678] Business Object Browsing may be unavailable
    13/09/20 09:22:13 [679] Loading from XML file /oracle/apps/icx/por/req/server/OneTimeLocationsVO.xml
    13/09/20 09:22:13 [680] Loading from XML file /oracle/apps/icx/por/schema/server/ReqLineToItemAttrValuesAO.xml
    13/09/20 09:22:13 [681] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [682] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [683] Business Object Browsing may be unavailable
    13/09/20 09:22:13 [684] Loading from XML file /oracle/apps/icx/por/req/server/ReqLineToReqSuppliersVL.xml
    13/09/20 09:22:13 [685] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [686] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:13 [687] Business Object Browsing may be unavailable
    13/09/20 09:22:13 [688] Loading from XML file /oracle/apps/icx/por/req/server/PoReqSuppliersVO.xml
    13/09/20 09:22:13 [689] Loading from XML file /oracle/apps/icx/por/schema/server/PoRequisitionSupplierEO.xml
    13/09/20 09:22:13 [690] Loading from XML file /oracle/apps/icx/por/schema/server/ReqLineToReqSuppliersAO.xml
    13/09/20 09:22:13 [691] addBreadCrumb: N
    13/09/20 09:22:14 [692] No XML file /oracle/apps/icx/por/req/server/server.xml for metaobject oracle.apps.icx.por.req.server.server
    13/09/20 09:22:14 [693] Cannot Load parent Package : oracle.apps.icx.por.req.server.server
    13/09/20 09:22:14 [694] Business Object Browsing may be unavailable
    13/09/20 09:22:14 [695] Loading from XML file /oracle/apps/icx/por/req/server/ActiveReqHeaderVO.xml
    13/09/20 09:22:14 [696] Column count: 1
    13/09/20 09:22:14 [697] ViewObject: ActiveReqHeaderVO Created new QUERY statement
    13/09/20 09:22:14 [698] ActiveReqHeaderVO>#q computed SQLStmtBufLen: 180, actual=140, storing=170
    13/09/20 09:22:14 [699] SELECT requisition_header_id
    FROM po_requisition_headers_all
    WHERE active_shopping_cart_flag = 'Y'
    AND last_updated_by = :1
    AND org_id = :2
    13/09/20 09:22:14 [700]       pStmt = conn.prepareStatement("SELECT requisition_header_id
    FROM po_requisition_headers_all
    WHERE active_shopping_cart_flag = 'Y'
    AND last_updated_by = :1
    AND org_id = :2");  // JBO-JDBC-INTERACT
    13/09/20 09:22:14 [701] Bind params for ViewObject: ActiveReqHeaderVO
    13/09/20 09:22:14 [702] Binding param 1: 1118
    13/09/20 09:22:14 [703]       pStmt.setObject(1, new Integer(1118));  // JBO-JDBC-INTERACT
    13/09/20 09:22:14 [704] Binding param 2: 88
    13/09/20 09:22:14 [705]       pStmt.setObject(2, new Integer(88));  // JBO-JDBC-INTERACT
    13/09/20 09:22:14 [706] Column count: 84
    13/09/20 09:22:14 [707] ViewObject: PoRequisitionHeadersVO Created new QUERY statement
    13/09/20 09:22:14 [708] PoRequisitionHeadersVO>#q computed SQLStmtBufLen: 3336, actual=3246, storing=3276
    13/09/20 09:22:14 [709] SELECT PoRequisitionHeaderEO.PROGRAM_UPDATE_DATE,         PoRequisitionHeaderEO.INTERFACE_SOURCE_CODE,          PoRequisitionHeaderEO.INTERFACE_SOURCE_LINE_ID,          PoRequisitionHeaderEO.CLOSED_CODE,         PoRequisitionHeaderEO.ORG_ID,          PoRequisitionHeaderEO.DESCRIPTION,         PoRequisitionHeaderEO.AUTHORIZATION_STATUS,          PoRequisitionHeaderEO.NOTE_TO_AUTHORIZER,         PoRequisitionHeaderEO.TYPE_LOOKUP_CODE,          PoRequisitionHeaderEO.TRANSFERRED_TO_OE_FLAG,          PoRequisitionHeaderEO.ATTRIBUTE_CATEGORY,         PoRequisitionHeaderEO.ON_LINE_FLAG,          PoRequisitionHeaderEO.PRELIMINARY_RESEARCH_FLAG,          PoRequisitionHeaderEO.RESEARCH_COMPLETE_FLAG,         PoRequisitionHeaderEO.PREPARER_FINISHED_FLAG,          PoRequisitionHeaderEO.PREPARER_FINISHED_DATE,          PoRequisitionHeaderEO.AGENT_RETURN_FLAG,         PoRequisitionHeaderEO.AGENT_RETURN_NOTE,          PoRequisitionHeaderEO.CANCEL_FLAG,         PoRequisitionHeaderEO.USSGL_TRANSACTION_CODE,          PoRequisitionHeaderEO.GOVERNMENT_CONTEXT,         PoRequisitionHeaderEO.REQUEST_ID,          PoRequisitionHeaderEO.PROGRAM_APPLICATION_ID,          PoRequisitionHeaderEO.PROGRAM_ID,         PoRequisitionHeaderEO.REQUISITION_HEADER_ID,          PoRequisitionHeaderEO.PREPARER_ID,         PoRequisitionHeaderEO.LAST_UPDATE_DATE,          PoRequisitionHeaderEO.LAST_UPDATED_BY,         PoRequisitionHeaderEO.SEGMENT1,          PoRequisitionHeaderEO.SUMMARY_FLAG,         PoRequisitionHeaderEO.ENABLED_FLAG,          PoRequisitionHeaderEO.START_DATE_ACTIVE,         PoRequisitionHeaderEO.END_DATE_ACTIVE,          PoRequisitionHeaderEO.LAST_UPDATE_LOGIN,         PoRequisitionHeaderEO.CREATION_DATE,          PoRequisitionHeaderEO.CREATED_BY,         PoRequisitionHeaderEO.WF_ITEM_TYPE,          PoRequisitionHeaderEO.WF_ITEM_KEY,         PoRequisitionHeaderEO.EMERGENCY_PO_NUM,          PoRequisitionHeaderEO.PCARD_ID,         PoRequisitionHeaderEO.APPS_SOURCE_CODE,          PoRequisitionHeaderEO.SEGMENT2,         PoRequisitionHeaderEO.SEGMENT3,          PoRequisitionHeaderEO.SEGMENT4,         PoRequisitionHeaderEO.SEGMENT5,          PoRequisitionHeaderEO.ATTRIBUTE1,         PoRequisitionHeaderEO.ATTRIBUTE2,          PoRequisitionHeaderEO.ATTRIBUTE3,         PoRequisitionHeaderEO.ATTRIBUTE4,          PoRequisitionHeaderEO.ATTRIBUTE5,         PoRequisitionHeaderEO.ATTRIBUTE6,          PoRequisitionHeaderEO.ATTRIBUTE7,         PoRequisitionHeaderEO.ATTRIBUTE8,          PoRequisitionHeaderEO.ATTRIBUTE9,         PoRequisitionHeaderEO.ATTRIBUTE10,          PoRequisitionHeaderEO.ATTRIBUTE11,         PoRequisitionHeaderEO.ATTRIBUTE12,          PoRequisitionHeaderEO.ATTRIBUTE13,         PoRequisitionHeaderEO.ATTRIBUTE14,          PoRequisitionHeaderEO.ATTRIBUTE15,         PoRequisitionHeaderEO.CBC_ACCOUNTING_DATE,          PoRequisitionHeaderEO.CHANGE_PENDING_FLAG,         PoRequisitionHeaderEO.CONTRACTOR_REQUISITION_FLAG,          PoRequisitionHeaderEO.ACTIVE_SHOPPING_CART_FLAG,          PoRequisitionHeaderEO.CONTRACTOR_STATUS,         PoRequisitionHeaderEO.SUPPLIER_NOTIFIED_FLAG,          PoRequisitionHeaderEO.EMERGENCY_PO_ORG_ID FROM PO_REQUISITION_HEADERS_ALL PoRequisitionHeaderEO WHERE requisition_header_id = :1
    13/09/20 09:22:14 [710]       pStmt = conn.prepareStatement("SELECT PoRequisitionHeaderEO.PROGRAM_UPDATE_DATE,         PoRequisitionHeaderEO.INTERFACE_SOURCE_CODE,          PoRequisitionHeaderEO.INTERFACE_SOURCE_LINE_ID,          PoRequisitionHeaderEO.CLOSED_CODE,         PoRequisitionHeaderEO.ORG_ID,          PoRequisitionHeaderEO.DESCRIPTION,         PoRequisitionHeaderEO.AUTHORIZATION_STATUS,          PoRequisitionHeaderEO.NOTE_TO_AUTHORIZER,         PoRequisitionHeaderEO.TYPE_LOOKUP_CODE,          PoRequisitionHeaderEO.TRANSFERRED_TO_OE_FLAG,          PoRequisitionHeaderEO.ATTRIBUTE_CATEGORY,         PoRequisitionHeaderEO.ON_LINE_FLAG,          PoRequisitionHeaderEO.PRELIMINARY_RESEARCH_FLAG,          PoRequisitionHeaderEO.RESEARCH_COMPLETE_FLAG,         PoRequisitionHeaderEO.PREPARER_FINISHED_FLAG,          PoRequisitionHeaderEO.PREPARER_FINISHED_DATE,          PoRequisitionHeaderEO.AGENT_RETURN_FLAG,         PoRequisitionHeaderEO.AGENT_RETURN_NOTE,          PoRequisitionHeaderEO.CANCEL_FLAG,         PoRequisitionHeaderEO.USSGL_TRANSACTION_CODE,          PoRequisitionHeaderEO.GOVERNMENT_CONTEXT,         PoRequisitionHeaderEO.REQUEST_ID,          PoRequisitionHeaderEO.PROGRAM_APPLICATION_ID,          PoRequisitionHeaderEO.PROGRAM_ID,         PoRequisitionHeaderEO.REQUISITION_HEADER_ID,          PoRequisitionHeaderEO.PREPARER_ID,         PoRequisitionHeaderEO.LAST_UPDATE_DATE,          PoRequisitionHeaderEO.LAST_UPDATED_BY,         PoRequisitionHeaderEO.SEGMENT1,          PoRequisitionHeaderEO.SUMMARY_FLAG,         PoRequisitionHeaderEO.ENABLED_FLAG,          PoRequisitionHeaderEO.START_DATE_ACTIVE,         PoRequisitionHeaderEO.END_DATE_ACTIVE,          PoRequisitionHeaderEO.LAST_UPDATE_LOGIN,         PoRequisitionHeaderEO.CREATION_DATE,          PoRequisitionHeaderEO.CREATED_BY,         PoRequisitionHeaderEO.WF_ITEM_TYPE,          PoRequisitionHeaderEO.WF_ITEM_KEY,         PoRequisitionHeaderEO.EMERGENCY_PO_NUM,          PoRequisitionHeaderEO.PCARD_ID,         PoRequisitionHeaderEO.APPS_SOURCE_CODE,          PoRequisitionHeaderEO.SEGMENT2,         PoRequisitionHeaderEO.SEGMENT3,          PoRequisitionHeaderEO.SEGMENT4,         PoRequisitionHeaderEO.SEGMENT5,          PoRequisitionHeaderEO.ATTRIBUTE1,         PoRequisitionHeaderEO.ATTRIBUTE2,          PoRequisitionHeaderEO.ATTRIBUTE3,         PoRequisitionHeaderEO.ATTRIBUTE4,          PoRequisitionHeaderEO.ATTRIBUTE5,         PoRequisitionHeaderEO.ATTRIBUTE6,          PoRequisitionHeaderEO.ATTRIBUTE7,         PoRequisitionHeaderEO.ATTRIBUTE8,          PoRequisitionHeaderEO.ATTRIBUTE9,         PoRequisitionHeaderEO.ATTRIBUTE10,          PoRequisitionHeaderEO.ATTRIBUTE11,         PoRequisitionHeaderEO.ATTRIBUTE12,          PoRequisitionHeaderEO.ATTRIBUTE13,         PoRequisitionHeaderEO.ATTRIBUTE14,          PoRequisitionHeaderEO.ATTRIBUTE15,         PoRequisitionHeaderEO.CBC_ACCOUNTING_DATE,          PoRequisitionHeaderEO.CHANGE_PENDING_FLAG,         PoRequisitionHeaderEO.CONTRACTOR_REQUISITION_FLAG,          PoRequisitionHeaderEO.ACTIVE_SHOPPING_CART_FLAG,          PoRequisitionHeaderEO.CONTRACTOR_STATUS,         PoRequisitionHeaderEO.SUPPLIER_NOTIFIED_FLAG,          PoRequisitionHeaderEO.EMERGENCY_PO_ORG_ID FROM PO_REQUISITION_HEADERS_ALL PoRequisitionHeaderEO WHERE requisition_header_id = :1");  // JBO-JDBC-INTERACT
    13/09/20 09:22:14 [711] Bind params for ViewObject: PoRequisitionHeadersVO
    13/09/20 09:22:14 [712] Binding param 1: 6122
    13/09/20 09:22:14 [713] // ERROR:  Unknown data type oracle.jbo.domain.Number    // JBO-JDBC-INTERACT
    13/09/20 09:22:14 [714]       pStmt.setObject(1, "6122");  // JBO-JDBC-INTERACT
    13/09/20 09:22:14 [715] Column count: 430
    13/09/20 09:22:14 [716] ViewObject: PoRequisitionLinesVO close prepared statements...
    13/09/20 09:22:14 [717] ViewObject: PoRequisitionLinesVO Created new QUERY statement
    13/09/20 09:22:14 [718] PoRequisitionLinesVO>#q computed SQLStmtBufLen: 9060, actual=8966, storing=8996
    13/09/20 09:22:14 [719] SELECT PoRequisitionLineEO.REQUISITION_LINE_ID,         PoRequisitionLineEO.REQUISITION_HEADER_ID,         PoRequisitionLineEO.LINE_NUM,         PoRequisitionLineEO.LAST_UPDATE_DATE,         PoRequisitionLineEO.LAST_UPDATED_BY,         PoRequisitionLineEO.LAST_UPDATE_LOGIN,         PoRequisitionLineEO.CREATION_DATE,         PoRequisitionLineEO.CREATED_BY,         PoRequisitionLineEO.DELIVER_TO_LOCATION_ID,         PoRequisitionLineEO.TO_PERSON_ID,         PoRequisitionLineEO.ITEM_DESCRIPTION,         PoRequisitionLineEO.CATEGORY_ID,         PoRequisitionLineEO.UNIT_MEAS_LOOKUP_CODE,         PoRequisitionLineEO.UNIT_PRICE,         PoRequisitionLineEO.QUANTITY,         PoRequisitionLineEO.LINE_TYPE_ID,         PoRequisitionLineEO.SOURCE_TYPE_CODE,         PoRequisitionLineEO.ITEM_ID,         PoRequisitionLineEO.ITEM_REVISION,         PoRequisitionLineEO.QUANTITY_DELIVERED,         PoRequisitionLineEO.SUGGESTED_BUYER_ID,         PoRequisitionLineEO.ENCUMBERED_FLAG,         PoRequisitionLineEO.RFQ_REQUIRED_FLAG,         PoRequisitionLineEO.NEED_BY_DATE,         PoRequisitionLineEO.LINE_LOCATION_ID,         PoRequisitionLineEO.MODIFIED_BY_AGENT_FLAG,         PoRequisitionLineEO.PARENT_REQ_LINE_ID,         PoRequisitionLineEO.JUSTIFICATION,         PoRequisitionLineEO.NOTE_TO_AGENT,         PoRequisitionLineEO.NOTE_TO_RECEIVER,         PoRequisitionLineEO.PURCHASING_AGENT_ID,         PoRequisitionLineEO.DOCUMENT_TYPE_CODE,         PoRequisitionLineEO.BLANKET_PO_HEADER_ID,         PoRequisitionLineEO.BLANKET_PO_LINE_NUM,         PoRequisitionLineEO.CURRENCY_CODE,         PoRequisitionLineEO.RATE_TYPE,         PoRequisitionLineEO.RATE_DATE,         PoRequisitionLineEO.RATE,         PoRequisitionLineEO.CURRENCY_UNIT_PRICE,         PoRequisitionLineEO.SUGGESTED_VENDOR_NAME,         PoRequisitionLineEO.SUGGESTED_VENDOR_LOCATION,         PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT,         PoRequisitionLineEO.SUGGESTED_VENDOR_PHONE,         PoRequisitionLineEO.SUGGESTED_VENDOR_PRODUCT_CODE,         PoRequisitionLineEO.UN_NUMBER_ID,         PoRequisitionLineEO.HAZARD_CLASS_ID,         PoRequisitionLineEO.MUST_USE_SUGG_VENDOR_FLAG,         PoRequisitionLineEO.REFERENCE_NUM,         PoRequisitionLineEO.ON_RFQ_FLAG,         PoRequisitionLineEO.URGENT_FLAG,         PoRequisitionLineEO.CANCEL_FLAG,         PoRequisitionLineEO.SOURCE_ORGANIZATION_ID,         PoRequisitionLineEO.SOURCE_SUBINVENTORY,         PoRequisitionLineEO.DESTINATION_TYPE_CODE,         PoRequisitionLineEO.DESTINATION_ORGANIZATION_ID,         PoRequisitionLineEO.DESTINATION_SUBINVENTORY,         PoRequisitionLineEO.QUANTITY_CANCELLED,         PoRequisitionLineEO.CANCEL_DATE,         PoRequisitionLineEO.CANCEL_REASON,         PoRequisitionLineEO.CLOSED_CODE,         PoRequisitionLineEO.AGENT_RETURN_NOTE,         PoRequisitionLineEO.CHANGED_AFTER_RESEARCH_FLAG,         PoRequisitionLineEO.VENDOR_ID,         PoRequisitionLineEO.VENDOR_SITE_ID,         PoRequisitionLineEO.VENDOR_CONTACT_ID,         PoRequisitionLineEO.RESEARCH_AGENT_ID,         PoRequisitionLineEO.ON_LINE_FLAG,         PoRequisitionLineEO.WIP_ENTITY_ID,         PoRequisitionLineEO.WIP_LINE_ID,         PoRequisitionLineEO.WIP_REPETITIVE_SCHEDULE_ID,         PoRequisitionLineEO.WIP_OPERATION_SEQ_NUM,         PoRequisitionLineEO.WIP_RESOURCE_SEQ_NUM,         PoRequisitionLineEO.ATTRIBUTE_CATEGORY,         PoRequisitionLineEO.DESTINATION_CONTEXT,         PoRequisitionLineEO.INVENTORY_SOURCE_CONTEXT,         PoRequisitionLineEO.VENDOR_SOURCE_CONTEXT,         PoRequisitionLineEO.BOM_RESOURCE_ID,         PoRequisitionLineEO.REQUEST_ID,         PoRequisitionLineEO.PROGRAM_APPLICATION_ID,         PoRequisitionLineEO.PROGRAM_ID,         PoRequisitionLineEO.PROGRAM_UPDATE_DATE,         PoRequisitionLineEO.USSGL_TRANSACTION_CODE,         PoRequisitionLineEO.GOVERNMENT_CONTEXT,         PoRequisitionLineEO.CLOSED_REASON,         PoRequisitionLineEO.CLOSED_DATE,         PoRequisitionLineEO.TRANSACTION_REASON_CODE,         PoRequisitionLineEO.QUANTITY_RECEIVED,         PoRequisitionLineEO.SOURCE_REQ_LINE_ID,         PoRequisitionLineEO.ORG_ID,         PoRequisitionLineEO.KANBAN_CARD_ID,         PoRequisitionLineEO.CATALOG_TYPE,         PoRequisitionLineEO.CATALOG_SOURCE,         PoRequisitionLineEO.MANUFACTURER_ID,         PoRequisitionLineEO.MANUFACTURER_NAME,         PoRequisitionLineEO.MANUFACTURER_PART_NUMBER,         PoRequisitionLineEO.REQUESTER_EMAIL,         PoRequisitionLineEO.REQUESTER_FAX,         PoRequisitionLineEO.REQUESTER_PHONE,         PoRequisitionLineEO.UNSPSC_CODE,         PoRequisitionLineEO.OTHER_CATEGORY_CODE,         PoRequisitionLineEO.SUPPLIER_DUNS,         PoRequisitionLineEO.TAX_STATUS_INDICATOR,         PoRequisitionLineEO.PCARD_FLAG,         PoRequisitionLineEO.NEW_SUPPLIER_FLAG,         PoRequisitionLineEO.AUTO_RECEIVE_FLAG,         PoRequisitionLineEO.TAX_USER_OVERRIDE_FLAG,         PoRequisitionLineEO.TAX_CODE_ID,         PoRequisitionLineEO.NOTE_TO_VENDOR,         PoRequisitionLineEO.OKE_CONTRACT_VERSION_ID,         PoRequisitionLineEO.OKE_CONTRACT_HEADER_ID,         PoRequisitionLineEO.ITEM_SOURCE_ID,         PoRequisitionLineEO.SUPPLIER_REF_NUMBER,         PoRequisitionLineEO.SECONDARY_UNIT_OF_MEASURE,         PoRequisitionLineEO.SECONDARY_QUANTITY,         PoRequisitionLineEO.PREFERRED_GRADE,         PoRequisitionLineEO.SECONDARY_QUANTITY_RECEIVED,         PoRequisitionLineEO.SECONDARY_QUANTITY_CANCELLED,         PoRequisitionLineEO.AUCTION_HEADER_ID,         PoRequisitionLineEO.AUCTION_DISPLAY_NUMBER,         PoRequisitionLineEO.AUCTION_LINE_NUMBER,         PoRequisitionLineEO.REQS_IN_POOL_FLAG,         PoRequisitionLineEO.VMI_FLAG,         PoRequisitionLineEO.ATTRIBUTE1,         PoRequisitionLineEO.ATTRIBUTE2,         PoRequisitionLineEO.ATTRIBUTE3,         PoRequisitionLineEO.ATTRIBUTE4,         PoRequisitionLineEO.ATTRIBUTE5,         PoRequisitionLineEO.ATTRIBUTE6,         PoRequisitionLineEO.ATTRIBUTE7,         PoRequisitionLineEO.ATTRIBUTE8,         PoRequisitionLineEO.ATTRIBUTE9,         PoRequisitionLineEO.ATTRIBUTE10,         PoRequisitionLineEO.ATTRIBUTE11,         PoRequisitionLineEO.ATTRIBUTE12,         PoRequisitionLineEO.ATTRIBUTE13,         PoRequisitionLineEO.ATTRIBUTE14,         PoRequisitionLineEO.ATTRIBUTE15,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE1,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE2,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE3,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE4,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE5,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE6,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE7,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE8,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE9,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE10,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE11,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE12,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE13,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE14,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE15,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE16,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE17,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE18,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE19,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE20,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE_CATEGORY,         PoRequisitionLineEO.BID_NUMBER,         PoRequisitionLineEO.BID_LINE_NUMBER,         PoRequisitionLineEO.AMOUNT,         PoRequisitionLineEO.CURRENCY_AMOUNT,         PoRequisitionLineEO.NONCAT_TEMPLATE_ID,         PoRequisitionLineEO.JOB_ID,         PoRequisitionLineEO.CONTACT_INFORMATION,         PoRequisitionLineEO.CANDIDATE_SCREENING_REQD_FLAG,         PoRequisitionLineEO.SUGGESTED_SUPPLIER_FLAG,         PoRequisitionLineEO.ASSIGNMENT_END_DATE,         PoRequisitionLineEO.OVERTIME_ALLOWED_FLAG,         PoRequisitionLineEO.CONTRACTOR_REQUISITION_FLAG,         PoRequisitionLineEO.LABOR_REQ_LINE_ID,         PoRequisitionLineEO.JOB_LONG_DESCRIPTION,         PoRequisitionLineEO.CONTRACTOR_STATUS,         PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT_FAX,         PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT_EMAIL,         PoRequisitionLineEO.CANDIDATE_FIRST_NAME,         PoRequisitionLineEO.CANDIDATE_LAST_NAME,         PoRequisitionLineEO.ASSIGNMENT_START_DATE,         PoRequisitionLineEO.ORDER_TYPE_LOOKUP_CODE,         PoRequisitionLineEO.PURCHASE_BASIS,         PoRequisitionLineEO.MATCHING_BASIS,         PoRequisitionLineEO.NEGOTIATED_BY_PREPARER_FLAG,         PoRequisitionLineEO.BASE_UNIT_PRICE,         PoRequisitionLineEO.AT_SOURCING_FLAG,         PoRequisitionLineEO.TAX_ATTRIBUTE_UPDATE_CODE,         PoRequisitionLineEO.DROP_SHIP_FLAG,         PoRequisitionLineEO.SHIP_METHOD,         PoRequisitionLineEO.ESTIMATED_PICKUP_DATE,         PoRequisitionLineEO.SUPPLIER_NOTIFIED_FOR_CANCEL,         PoRequisitionLineEO.TAX_NAME FROM PO_REQUISITION_LINES_ALL PoRequisitionLineEO WHERE PoRequisitionLineEO.REQUISITION_HEADER_ID = :1 ORDER BY Line_NUM ASC
    13/09/20 09:22:14 [720]       pStmt = conn.prepareStatement("SELECT PoRequisitionLineEO.REQUISITION_LINE_ID,         PoRequisitionLineEO.REQUISITION_HEADER_ID,         PoRequisitionLineEO.LINE_NUM,         PoRequisitionLineEO.LAST_UPDATE_DATE,         PoRequisitionLineEO.LAST_UPDATED_BY,         PoRequisitionLineEO.LAST_UPDATE_LOGIN,         PoRequisitionLineEO.CREATION_DATE,         PoRequisitionLineEO.CREATED_BY,         PoRequisitionLineEO.DELIVER_TO_LOCATION_ID,         PoRequisitionLineEO.TO_PERSON_ID,         PoRequisitionLineEO.ITEM_DESCRIPTION,         PoRequisitionLineEO.CATEGORY_ID,         PoRequisitionLineEO.UNIT_MEAS_LOOKUP_CODE,         PoRequisitionLineEO.UNIT_PRICE,         PoRequisitionLineEO.QUANTITY,         PoRequisitionLineEO.LINE_TYPE_ID,         PoRequisitionLineEO.SOURCE_TYPE_CODE,         PoRequisitionLineEO.ITEM_ID,         PoRequisitionLineEO.ITEM_REVISION,         PoRequisitionLineEO.QUANTITY_DELIVERED,         PoRequisitionLineEO.SUGGESTED_BUYER_ID,         PoRequisitionLineEO.ENCUMBERED_FLAG,         PoRequisitionLineEO.RFQ_REQUIRED_FLAG,         PoRequisitionLineEO.NEED_BY_DATE,         PoRequisitionLineEO.LINE_LOCATION_ID,         PoRequisitionLineEO.MODIFIED_BY_AGENT_FLAG,         PoRequisitionLineEO.PARENT_REQ_LINE_ID,         PoRequisitionLineEO.JUSTIFICATION,         PoRequisitionLineEO.NOTE_TO_AGENT,         PoRequisitionLineEO.NOTE_TO_RECEIVER,         PoRequisitionLineEO.PURCHASING_AGENT_ID,         PoRequisitionLineEO.DOCUMENT_TYPE_CODE,         PoRequisitionLineEO.BLANKET_PO_HEADER_ID,         PoRequisitionLineEO.BLANKET_PO_LINE_NUM,         PoRequisitionLineEO.CURRENCY_CODE,         PoRequisitionLineEO.RATE_TYPE,         PoRequisitionLineEO.RATE_DATE,         PoRequisitionLineEO.RATE,         PoRequisitionLineEO.CURRENCY_UNIT_PRICE,         PoRequisitionLineEO.SUGGESTED_VENDOR_NAME,         PoRequisitionLineEO.SUGGESTED_VENDOR_LOCATION,         PoRequisitionLineEO.SUGGESTED_VENDOR_CONTACT,         PoRequisitionLineEO.SUGGESTED_VENDOR_PHONE,         PoRequisitionLineEO.SUGGESTED_VENDOR_PRODUCT_CODE,         PoRequisitionLineEO.UN_NUMBER_ID,         PoRequisitionLineEO.HAZARD_CLASS_ID,         PoRequisitionLineEO.MUST_USE_SUGG_VENDOR_FLAG,         PoRequisitionLineEO.REFERENCE_NUM,         PoRequisitionLineEO.ON_RFQ_FLAG,         PoRequisitionLineEO.URGENT_FLAG,         PoRequisitionLineEO.CANCEL_FLAG,         PoRequisitionLineEO.SOURCE_ORGANIZATION_ID,         PoRequisitionLineEO.SOURCE_SUBINVENTORY,         PoRequisitionLineEO.DESTINATION_TYPE_CODE,         PoRequisitionLineEO.DESTINATION_ORGANIZATION_ID,         PoRequisitionLineEO.DESTINATION_SUBINVENTORY,         PoRequisitionLineEO.QUANTITY_CANCELLED,         PoRequisitionLineEO.CANCEL_DATE,         PoRequisitionLineEO.CANCEL_REASON,         PoRequisitionLineEO.CLOSED_CODE,         PoRequisitionLineEO.AGENT_RETURN_NOTE,         PoRequisitionLineEO.CHANGED_AFTER_RESEARCH_FLAG,         PoRequisitionLineEO.VENDOR_ID,         PoRequisitionLineEO.VENDOR_SITE_ID,         PoRequisitionLineEO.VENDOR_CONTACT_ID,         PoRequisitionLineEO.RESEARCH_AGENT_ID,         PoRequisitionLineEO.ON_LINE_FLAG,         PoRequisitionLineEO.WIP_ENTITY_ID,         PoRequisitionLineEO.WIP_LINE_ID,         PoRequisitionLineEO.WIP_REPETITIVE_SCHEDULE_ID,         PoRequisitionLineEO.WIP_OPERATION_SEQ_NUM,         PoRequisitionLineEO.WIP_RESOURCE_SEQ_NUM,         PoRequisitionLineEO.ATTRIBUTE_CATEGORY,         PoRequisitionLineEO.DESTINATION_CONTEXT,         PoRequisitionLineEO.INVENTORY_SOURCE_CONTEXT,         PoRequisitionLineEO.VENDOR_SOURCE_CONTEXT,         PoRequisitionLineEO.BOM_RESOURCE_ID,         PoRequisitionLineEO.REQUEST_ID,         PoRequisitionLineEO.PROGRAM_APPLICATION_ID,         PoRequisitionLineEO.PROGRAM_ID,         PoRequisitionLineEO.PROGRAM_UPDATE_DATE,         PoRequisitionLineEO.USSGL_TRANSACTION_CODE,         PoRequisitionLineEO.GOVERNMENT_CONTEXT,         PoRequisitionLineEO.CLOSED_REASON,         PoRequisitionLineEO.CLOSED_DATE,         PoRequisitionLineEO.TRANSACTION_REASON_CODE,         PoRequisitionLineEO.QUANTITY_RECEIVED,         PoRequisitionLineEO.SOURCE_REQ_LINE_ID,         PoRequisitionLineEO.ORG_ID,         PoRequisitionLineEO.KANBAN_CARD_ID,         PoRequisitionLineEO.CATALOG_TYPE,         PoRequisitionLineEO.CATALOG_SOURCE,         PoRequisitionLineEO.MANUFACTURER_ID,         PoRequisitionLineEO.MANUFACTURER_NAME,         PoRequisitionLineEO.MANUFACTURER_PART_NUMBER,         PoRequisitionLineEO.REQUESTER_EMAIL,         PoRequisitionLineEO.REQUESTER_FAX,         PoRequisitionLineEO.REQUESTER_PHONE,         PoRequisitionLineEO.UNSPSC_CODE,         PoRequisitionLineEO.OTHER_CATEGORY_CODE,         PoRequisitionLineEO.SUPPLIER_DUNS,         PoRequisitionLineEO.TAX_STATUS_INDICATOR,         PoRequisitionLineEO.PCARD_FLAG,         PoRequisitionLineEO.NEW_SUPPLIER_FLAG,         PoRequisitionLineEO.AUTO_RECEIVE_FLAG,         PoRequisitionLineEO.TAX_USER_OVERRIDE_FLAG,         PoRequisitionLineEO.TAX_CODE_ID,         PoRequisitionLineEO.NOTE_TO_VENDOR,         PoRequisitionLineEO.OKE_CONTRACT_VERSION_ID,         PoRequisitionLineEO.OKE_CONTRACT_HEADER_ID,         PoRequisitionLineEO.ITEM_SOURCE_ID,         PoRequisitionLineEO.SUPPLIER_REF_NUMBER,         PoRequisitionLineEO.SECONDARY_UNIT_OF_MEASURE,         PoRequisitionLineEO.SECONDARY_QUANTITY,         PoRequisitionLineEO.PREFERRED_GRADE,         PoRequisitionLineEO.SECONDARY_QUANTITY_RECEIVED,         PoRequisitionLineEO.SECONDARY_QUANTITY_CANCELLED,         PoRequisitionLineEO.AUCTION_HEADER_ID,         PoRequisitionLineEO.AUCTION_DISPLAY_NUMBER,         PoRequisitionLineEO.AUCTION_LINE_NUMBER,         PoRequisitionLineEO.REQS_IN_POOL_FLAG,         PoRequisitionLineEO.VMI_FLAG,         PoRequisitionLineEO.ATTRIBUTE1,         PoRequisitionLineEO.ATTRIBUTE2,         PoRequisitionLineEO.ATTRIBUTE3,         PoRequisitionLineEO.ATTRIBUTE4,         PoRequisitionLineEO.ATTRIBUTE5,         PoRequisitionLineEO.ATTRIBUTE6,         PoRequisitionLineEO.ATTRIBUTE7,         PoRequisitionLineEO.ATTRIBUTE8,         PoRequisitionLineEO.ATTRIBUTE9,         PoRequisitionLineEO.ATTRIBUTE10,         PoRequisitionLineEO.ATTRIBUTE11,         PoRequisitionLineEO.ATTRIBUTE12,         PoRequisitionLineEO.ATTRIBUTE13,         PoRequisitionLineEO.ATTRIBUTE14,         PoRequisitionLineEO.ATTRIBUTE15,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE1,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE2,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE3,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE4,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE5,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE6,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE7,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE8,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE9,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE10,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE11,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE12,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE13,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE14,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE15,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE16,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE17,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE18,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE19,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE20,         PoRequisitionLineEO.GLOBAL_ATTRIBUTE_CATEGORY,         PoRequisitionLineEO.BID_NUMBER,         PoRequisitionLineEO.BID_LINE_NUMBER,         PoRequisitionLineEO.AMOUNT, 

        Hi Rohit ,
    I had copied these .class & .xml files under Myclasses -> oracle.apps.icx and oracle.apps.po and oracle.apps.fnd was same which comes part of the standard OA tutorial.
    I copied same under Myprojects as well.
    you have to decompile the class file into java file and then place it in Myproject directory , also copy all dependency files like BC4J components , and then
    try to run from Jdeveloper .
    Alternatively you can get the entire ICX folder and zip it and add it via library .
    --Keerthi

  • Advanced Table does not refresh after database level action

    Hi,
    I have a page which has an advanced table. I update the advanced table from the page do some validations, update some DB level columns(also part of advanced table) and see that the changes are saved to the DB but the advanced table does not show the updates done at the DB level.
    I tried clearing the VO Cache and re-executing the VO but still it does not refresh the Advanced table data.
    This is very critical requirement for the client, any inputs will be greatly appreciated.
    Thanks a lot in Advance.
    Here is the code snippet from my CO's processRequest:
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAAdvancedTableBean tblbean = (OAAdvancedTableBean)webBean.findChildRecursive("recasttable");
    if(tblbean!=null)
    tblbean.setRendered(true);
    OAApplicationModule tblam = (OAApplicationModule)am.findApplicationModule("RecastLineAM1");
    tblam.invokeMethod("initQuery");
    tblbean.getTableData();
    Here is my AM - initQuery() code:
    public void initQuery()
    //clearVOCaches("RecastLineEO",true);
    clearVOCaches(null,true);
    getRecastLineVO1().init();
    Here is the VO - init() code:
    public void init()
    System.out.println("****************************executing...");
    OADBTransaction tx = (OADBTransaction) getApplicationModule().getTransaction();
    if (tx.getTransientValue("RECAST_ID") !=null)
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("recastId: "+ recastId);
    setWhereClause("RECAST_HDR_ID = :1");
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, recastId);
    executeQuery();
    }

    hi,
    This is how I am calling a DB package. the package does updates on the table. once done I am issueing a commit and requerying the data, however the vo is not getting refreshed.... Can someone point out what am I missing... why is the VO not getting refreshed....
    This is very critical...
    Thanks
    Srini
    public void validateRecast(String respKey)
    OADBTransaction tx = (OADBTransaction)getApplicationModule().getTransaction();
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("*********************validateRecast().RecastId: " + recastId);
    OracleCallableStatement ocs = null;
    Connection conn = tx.getJdbcConnection();
    String strOut="", strErr="";
    Number respId = null;
    try
    respId = new Number(respKey);
    catch(Exception e)
    throw new OAException("Invalid Responsibility");
    String stmt = "BEGIN " +
    "GE_RECAST_UTILS_PKG.validate_recast(:1,:2,:3,:4); " +
    "END;";
    try
    ocs = (OracleCallableStatement)conn.prepareCall(stmt);
    ocs.setNUMBER(1,recastId);
    ocs.setNUMBER(2,respId);
    ocs.registerOutParameter(3,OracleTypes.VARCHAR);
    ocs.registerOutParameter(4,OracleTypes.VARCHAR);
    ocs.execute();
    strOut = ocs.getString(3);
    strErr = ocs.getString(4);
    ocs.close();
    System.out.println("Returned with: " + strOut);
    if(strOut.equalsIgnoreCase("ERROR"))
    //throw new OAException(strErr);
    tx.putTransientValue("ERROR",strErr);
    tx.commit();
    getApplicationModule().clearVOCaches("RecastLineEO",true);
    RecastLineVOImpl lineVo = (RecastLineVOImpl)getApplicationModule().findViewObject("RecastLineVO1");
    lineVo.init();
    System.out.println("===============RecastLnId: " +lineVo.first().getAttribute("RecastLnId"));
    System.out.println("===============Product Line: " +lineVo.first().getAttribute("ProductLine"));
    catch(SQLException e)
    tx.rollback();
    if(ocs!=null)
    try
    ocs.close();
    }catch(SQLException e1)
    throw OAException.wrapperException(e1);
    throw OAException.wrapperException(e);
    }

  • How To Capture A Column Value In A Report And Store It In A Variable?

    Portal Version: 3.0.6.6.5
    RDBMS Versjion: 8.1.7.0.0
    OS/Vers. Where Portal is Installed:: SunOS 5.8
    I have a Portal report where I added a checkbox for each row of data that is being displayed. The user can select checkbox for as many rows as he/she wants. The user can then click a button, which iteratively passes the value of a column as a parameter to a procedure.
    I am using the Portal field that ends with a ".FIELD#>" For example, if my report is based on the following SQL statement:
    SELECT EMP_UNID FROM EMPLOYEES WHERE STATUS = 'E'
    Then the field I am using to capture the value is <#EMP_UNID.FIELD#>
    So the <INPUT> looks like:
    <TD>
    <INPUT TYPE="checkbox" NAME="checkboxSelect" value="<#EMP_UNID.FIELD#>">
    </TD>
    And the Javascript code looks like:
    htp.p('<SCRIPT LANGUAGE="JavaScript1.1">');
    htp.p('<!--');
    htp.p('function runAccept() {');
    htp.p('for (var i=0; i<20; i++)');
    htp.p('if (document.formSelect.checkboxSelect.checked == true)');
    htp.p('{');
    htp.p('myRegExp = /"/gi;');
    htp.p('parameter = document.formSelect.checkboxSelect[i].value.replace(myRegExp, "z");');
    htp.p('parameter = parameter.substring(parameter,parameter.indexOf(">")+1,parameter.lastIndexOf("<")-1)');
    htp.p('alert(parameter);');
    -- htp.p('CallableStatement cstmt = null;');
    -- htp.p('cstmt = conn.prepareCall("{call --runAcceptRecord(parameter)}")');
    -- htp.p('cstmt.execute ();');
    htp.p('}');
    htp.p('}');
    htp.p('//-->');
    htp.p('</SCRIPT>');
    The problem, however, is that Portal stores not only the actual value in <#EMP_UNID.FIELD#>, but also some HTML tags, most of which can be removed via the Display Options page. There are some tags that cannot be removed in this fashion, because Portal does not allow nulls in those. So we are stuck with an HTML tag (i.e. <FONT SIZE>) that is stuffed in that variable along with the value. The problem is further complicated by the existence of double quotes within that tag that undesirably terminates the VALUE assignment.
    So for instance, what you might get from Portal is this:
    <TD><INPUT TYPE="checkbox" NAME="checkboxSelect" value="<FONT SIZE="+0">219</FONT>"> </TD><TD ALIGN="RIGHT"><FONT SIZE="+0">219</FONT></TD>
    <TD ALIGN="LEFT"><FONT SIZE="+0">E</FONT></TD>
    It is in the value="<FONT SIZE="+0">219</FONT>" part of the code where the extra double quote is terminating the Javascript code. I have tried escape() and replace() to remove the extra double quotes, but have not got it to work. The problem is happening too early at this point, and what I have tried is after the fact.
    Obviously, the problem is that I shouldn't be using <#EMP_UNID.FIELD#> since the intent of this is to add html tags for display purposes. That is done by Portal, and I thus have no control over it unless I take drastic means and modify Portal's innerworkings, which I don't care to do.
    My question therefore is, what other variable can I use in Reports to capture just the value? I am hoping that there is a variable in Reports like the ones for Forms which has a prefix of A_. Or is there another method for doing this?
    Thanks in advance
    Fred

    I found htf.formcheckbox function which was what I needed. With that, my javascript code was cut down to just a few lines. Didn't need to strip away the html tags. This function will just return the value.
    Refer to:
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=116534.1 for specific example of this function.
    http://technet.oracle.com/doc/appsrvr4082/guides/plsql_r.pdf for a reference list of all htp's.

  • How to pass the parameter values to the stored procedure from java code?

    I have a stored procedure written in sqlplus as below:
    create procedure spInsertCategory (propertyid number, category varchar2, create_user varchar2, create_date date) AS BEGIN Insert into property (propertyid, category,create_user,create_date) values (propertyid , category, create_user, create_date); END spInsertCategory;
    I am trying to insert a new row into the database using the stored procedure.
    I have called the above procedure in my java code as below:
    CallableStatement sp = null;
    sp = conn.prepareCall("{call spInsertCategory(?, ?, ?, ?)}");
    How should I pass the values [propertyid, category, create_user, create_date) from java to the stored procedure?[i.e., parameters]
    Kindly guide me as I am new to java..

    Java-Queries wrote:
    I have a stored procedure written in sqlplus as below:FYI. sqlplus is a tool from Oracle that provides a user interface to the database. Although it has its own syntax what you posted is actually PL/SQL.

  • Unable to call a pl/sql procedure from java

    Software : Oracle 9i & Red hat linux 9
    Code:
    import java.io.*;
    import java.sql.*;
    public class test
    public static void main(String args[])
    try
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.0.221:1521:elearn","gowri","gowri");
    CallableStatement call=con.prepareCall("{call ins(?,?,?,?)}");
    call.setInt(1,5);
    call.setString(2,"hari");
    call.setString(3,"m");
    call.setString(4,"1976-12-26");
    if ( call.execute() )
    System.out.println("Success");
    else
    System.out.println("fails");
    call.close();
    con.close();
    catch(Exception ex)
    System.out.println("Error :"+ex);
    ~
    ~
    ~
    Stored Procedure:
    create or replace procedure ins(no in number,name in varchar,sex in varchar,dob in varchar)is
    con_day date;
    begin
    con_day=to_date(dob,'yyyy-mm-dd');
    insert into person values(no,name,sex,con_day);
    end;
    Run Time Error:
    Exception in thread "main" java.lang.IncompatibleClassChangeError: oracle.jdbc.driver.OraclePreparedStatement
    at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3)
    at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
    at 0x4025d6b6: java.lang.LinkageError.LinkageError(java.lang.String) (/usr/lib/./libgcj.so.3)
    at 0x4025c7aa: java.lang.IncompatibleClassChangeError.IncompatibleClassChangeError(java.lang.String) (/usr/lib/./libgcj.so.3)
    at 0x40229eed: JvPrepareClass(java.lang.Class) (/usr/lib/./libgcj.so.3)
    at 0x40248028: java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/./libgcj.so.3)
    at 0x4025acb3: java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib/./libgcj.so.3)
    at 0x402299cb: JvPrepareClass(java.lang.Class) (/usr/lib/./libgcj.so.3)
    at 0x40248028: java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/./libgcj.so.3)
    at 0x4025acb3: java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib/./libgcj.so.3)
    at 0x4024646c: java.lang.Class.initializeClass() (/usr/lib/./libgcj.so.3)
    at 0x40230912: JvInterpMethod.continue1(_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
    at 0x40230ff4: JvInterpMethod.run(ffi_cif, void, ffi_raw, JvInterpMethodInvocation) (/usr/lib/./libgcj.so.3)
    at 0x4022e504: JvInterpMethod.run_normal(ffi_cif, void, ffi_raw, void) (/usr/lib/./libgcj.so.3)
    at 0x4038305c: ?? (??:0)
    at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
    at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
    at 0x402306e8: JvInterpMethod.continue1(_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
    at 0x40230ff4: JvInterpMethod.run(ffi_cif, void, ffi_raw, JvInterpMethodInvocation) (/usr/lib/./libgcj.so.3)
    at 0x4022e58a: JvInterpMethod.run_synch_object(ffi_cif, void, ffi_raw, void) (/usr/lib/./libgcj.so.3)
    at 0x4038305c: ?? (??:0)
    at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
    at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
    at 0x402306e8: JvInterpMethod.continue1(_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
    at 0x40230ff4: JvInterpMethod.run(ffi_cif, void, ffi_raw, JvInterpMethodInvocation) (/usr/lib/./libgcj.so.3)
    at 0x4022e504: JvInterpMethod.run_normal(ffi_cif, void, ffi_raw, void) (/usr/lib/./libgcj.so.3)
    at 0x4038305c: ?? (??:0)
    at 0x40242dd8: gnu.gcj.runtime.FirstThread.call_main() (/usr/lib/./libgcj.so.3)
    at 0x402ad02d: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
    at 0x4024fc4c: JvThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
    at 0x4021c8ac: JvRunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./libgcj.so.3)
    at 0x08048910: ?? (??:0)
    at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
    at 0x080486c1: ?? (??:0)

    Hi Gowrishankar,
    This is just a suggestion (based on a guess). Try changing this line of your code:
    call.setInt(1,5);with this line:
    call.setBigDecimal(1,5);Good Luck,
    Avi.

  • Unable to access Custom UDTs returned from a Java Stored Procedure

    Hi,
    I have a UDT in the DB :-
    create type contactrecord as object (
    CN_ID NUMBER(8),
    CN_TITLE VARCHAR2(40),
    CN_FIRST_NAME VARCHAR2(25)
    and this is the corresponding java class ContactDetails.java that maps to this UDT, that I loaded in the Aurora VM.
    package package1;
    mport java.sql.SQLData;
    import java.sql.SQLException;
    import java.sql.SQLInput;
    import java.sql.SQLOutput;
    public class ContactDetails implements SQLData
    private String sql_type;
    private long CN_ID;
    private String CN_TITLE;
    private String CN_FIRST_NAME;
    public String getSQLTypeName() throws SQLException
    return this.sql_type;
    //implementation of readSql
    public void readSQL(SQLInput stream, String typeName) throws SQLException
    sql_type = typeName;
    CN_ID = stream.readLong();
    CN_TITLE = stream.readString();
    CN_FIRST_NAME = stream.readString();
    public void writeSQL(SQLOutput stream) throws SQLException
    stream.writeLong(CN_ID);
    stream.writeString(CN_TITLE);
    stream.writeString(CN_FIRST_NAME);
    //getters and setters for the class vars go here.....
    There is another class A.java that has a java stored procedure/function, which I loaded into the Aurora VM
    Here is the class.
    package package1;
    public class A
    public static ContactDetails returnObject(String name )
         ContactDetails cd = new ContactDetails();
         cd.setCN_ID(1);
    cd.setCN_FIRST_NAME(name);
    return cd;
    Then I declared the call spec for A.returnObject() as
    FUNCTION returnObject(name varchar2) return contactrecord
    AS LANGUAGE JAVA
    NAME 'package1.A.returnObject(java.lang.String) return package1.ContactDetails';
    Then I tried to call the function returnObject through JDBC calls from a class in another VM.
    When I access the object returned by the function, I get a null object.
    Here is the Client code:
    CallableStatement cs = null;
    ResultSet rs = null;
    try
    cs = conn.prepareCall("{ ? = call returnObject(?) }");
    java.util.Map map = conn.getTypeMap();
    map.put("ADMIN.CONTACTRECORD", Class.forName("package1.ContactDetails"));
    conn.setTypeMap(map);
    cs.registerOutParameter(1, OracleTypes.STRUCT, "ADMIN.CONTACTRECORD");
    cs.setString(2, "John Doe" );
    cs.execute();
    ContactDetails cd = (ContactDetails)cs.getObject(1);
    System.out.println("contact first name is:-"+cd.getCN_FIRST_NAME()); //Null Pointer here..cd is null....:(
    if (cs != null) cs.close();
    catch(Exception e)
    e.printStackTrace();
    Although If I try to access the same function from a pl/sql block, I am able
    to access the contactrecord fields.
    What could be wrong ..???
    I could not find any error with the object mapping, as it works perfectly when I interact directly from my VM to the DB,
    without going thru the aurora VM.
    I am using a OCI driver to connect to the DB via JDBC.
    Thanx in advance for any help at all.
    -sk

    Shahid,
    I too have had bad luck in many cases with the automatic translation of Java types to PL/SQL and back. I think the SYS package on the PL/SQL side which handles some of the conversion is DBMS_PICKLER (there are equivalent Java classes which do the same in that world and seem to execute automagically when a conversion is needed). You might want to double-check the data type mappings against the DOC on OTN to make sure they map 1-1. Also make sure the permissions are granted against your objects to whoever is executing them, etc. Very often, I've resorted to passing simple scalar types between the two languages as in some cases the results with complex types are inconsistent.
    Sorry this isn't much help,
    -Dan
    http://www.compuware.com/products/devpartner/db/oracle_debug.htm
    Debug PL/SQL and Java in the Oracle Database

  • With JDBC, calling a stored procedure with ARRAY as out parameter

    Hi,
    I want to use the data type ARRAY as an out parameter in an Oracle stored procedure. I want to call the stored procedure from
    my java program using JDBC.
    The problem it's i use a 8.1.7 client to acces with oci to a 7.1.3 Database.
    With this configuration I can get back a Cursor but not an Array.
    Does it's possible ?
    Thanks for your help !
    Michakl

    Originally posted by JDBC Development Team:
    It's very similar to other datatype except that it uses OracleTypes.ARRAY typecode and the value is mapped to a oracle.sql.ARRAY instance. The code looks as follows --
    cstmt.registerOutParameter (idx, OracleTypes.ARRAY, "VARRAY_TYPE_NAME_HERE");
    cstmt.execute ();
    ARRAY array = (ARRAY) cstmt.getObject (idx);
    Thanks for your reply.
    I have to use:-
    OracleCallableStatement cs1 = (OracleCallableStatement )conn.prepareCall
    ( "{call proj_array(?)}" ) ;
    for retrieving a collection as an OUT parameter.
    This gives me the errors:-
    C:\jdbc\VarraySQL.java:0: The method oracle.jdbc2.Blob getBlob(int) declared in class oracle.jdbc.driver.OracleCallableStatement cannot override the method of the same signature declared in interface java.sql.CallableStatement. They must have the same return type.
    import java.sql.*;
    ^
    C:\jdbc\VarraySQL.java:0: The method oracle.jdbc2.Array getArray(int) declared in class oracle.jdbc.driver.OracleCallableStatement cannot override the method of the same signature declared in interface java.sql.CallableStatement. They must have the same return type.
    import java.sql.*;
    ^
    C:\jdbc\VarraySQL.java:0: The method oracle.jdbc2.Clob getClob(int) declared in class oracle.jdbc.driver.OracleCallableStatement cannot override the method of the same signature declared in interface java.sql.CallableStatement. They must have the same return type.
    import java.sql.*;
    ^
    C:\jdbc\VarraySQL.java:0: The method oracle.jdbc2.Ref getRef(int) declared in class oracle.jdbc.driver.OracleCallableStatement cannot override the method of the same signature declared in interface java.sql.CallableStatement. They must have the same return type.
    import java.sql.*;
    ^
    How do I get rid of these errors?
    null

Maybe you are looking for