PLSQL Java or agency or

I need like that.

I have update the underlying table my page and must also insert in the Interface table.
Who will be the best. EO PLSQL entity or Java.

Have a Java EO to insert data into your table...

Before validation insert data into the table intereface by calling a pl/sql procedure...
see http://prasanna-adf.blogspot.com/2008/11/callable-statement.html to call the callable statement of the OFA.

Prasanna-

Tags: Oracle Applications

Similar Questions

  • CREATE JAVA: ORA-29507

    Hello

    I'm trying to access a java .class file stored in a table as a BLOB object.
    The file has been downloaded using Oracle APEX, so stored in the wwv_flow_files table.

    I run the following command as it is said in the documentation :
    CREATE OR REPLACE JAVA CLASS USING BLOB (SELECT blob_content FROM wwv_flow_files WHERE filename='Class1.class')
    And I get the error:
    ORA-29507: query derived from USING clause found zero or many rows
    29507. 00000 -  "query derived from USING clause found zero or many rows"
    *Cause:    The USING clause defined a query that either did not return any
               values, or returned more than one value.
    *Action:   Correct the USING clause.
    When I run the subquery:
    SELECT blob_content FROM wwv_flow_files WHERE filename='Class1.class'
    He returned only 1 rank...

    Any idea?

    Thank you.

    Yann.

    Hello:
    Perhaps the best way to test your application is to use a development environment (a virtual machine is an option) for a complete list of grants.
    If this isn't the case, once you have this permission, of course, you will hit a different security exception.
    There is nothing wrong with connect permission to other hosts, is of course a host of destination where you need to get the information, other security permissions of course you will need will be linked to log4j, classloader, etc etc.
    My recommendation is, therefore, try to get a database of development in your office test all code and create a simple script to submit your DBA.
    In order to work with APEX, perhaps you will need to grant this permission to the APEC_PUBLIC_USER user.
    On the other hand don't forget that unlike the PLSQL, Java runs with authid define default, to replace it and get effective rights of the current connected user Java code must be downloaded using the:
    loadjava - r - v s - nodefiner g - public...
    and a call spec:
    FUNCTION to CREATE or REPLACE helloworld authid current_user RETURN VARCHAR2 AS
    NAME OF a JAVA "Hello.world () return java.lang.String ';
    with above definitions, then, if you run helloworld as SCOTT, SCOTT permission to connect, solve the target host. If you run the code in APEX_PUBLIC_USER you can grant permission to the user or role assigned to the user.
    Another alternative is to download with:
    loadjava - r - v-s define g - public...
    DEFINER FUNCTION to CREATE or REPLACE helloworld authid RETURN VARCHAR2 AS
    NAME OF a JAVA "Hello.world () return java.lang.String ';
    If the two operations when performed while the INVESTIGATION, then only the INVESTIGATION requires permission and it will work as packaging where encapsulate you the connection outside the database.
    Hope this helps, Marcelo.

  • EOImpl Get accessor method not fill not value...

    I am editing the oaf features seeded & it will be made available as a patch... a req is to add a column to the OE... I added in OT, VO,... .but in the get method EOImpl... getFullSale() is not be filled... If I hard code a value, then it is successfully inserting in a table... but you know whey added column getFullSale() receives no value... I checked in VO.currentrow... It's the filling in a CO... but in EOImpl not gettting.


    The steps that I followed:


    1. first I changed the table to add the column extra full_sale to okl_pools_all

    . EOImpl.class seeded appealed to the java package and from there he appealed to the plsql package, here it is put in place and engage in the okl_pools_all table

    2. in Jdev-> EO.xml-> schronize db-> selected column full_sale and generated EOImpl.java which has fullsale code of getter and setter, but call to java seeded pkg is missing.

    3. edition EOImpl.java generated and added code to call to pkg pkg and plsql java stuff.

    4. updated VO.xml and VORowimpl.java to include the setter and getter FullSale methods

    5. transferred to the server and fact apache bounce.


    It's successfully insertion in the table and do not get value for full_sale. If I hard code in EOImpl.java, it is the insertion. so the problem with the getter in EOImpl method.


    Please advice

    Check the mapping to VO. Is that the newly created in the t attribute is mapped to the attribute of EO?

    See you soon

    AJ

  • Call a Java Webservice using PLSQL in Oracle

    Hello Experts

    Greetings of the day!

    We are working on a reuirement to call a Web service based on Java (it's in SOA environment) environment EBS PLSQL to get the answer based on some input parameters.

    This webservice is password protected, here are the challenges that we faced:

    (1) we are not able to set the username and password required to connect to the service when it is called from PLSQL.

    (2) even if we connect to the Web service, there is a challenge to store the response of Webservice.

    If one has ever faced such a requirement or had the idea of how to implement, please let us know.

    Any idea will be highly appreciated.

    Thank you

    Mirza Yahya

    Hi Mizra,

    do not too complicated.

    To retrieve the value of XML, you can follow one of the example 2 below depending on the version of DB you have. If you have 11 GR 2 or more then use the second method:

    declare
       l_xml_response         xmltype;
       l_xml_ns1              varchar2(200);
       l_response_address1    varchar2(200);
       l_response_address2    varchar2(200);
       l_response_address3    varchar2(200);
       l_response_address4    varchar2(200);
       l_response_city        varchar2(200);
       l_response_state       varchar2(200);
       l_response_county      varchar2(200);
    
    begin
       l_xml_response :=    xmltype('
    
      
        urn:936AE390E76011E4BFC99D8059113E1A
        
          http://www.w3.org/2005/08/addressing/anonymous
        
        
          http://www.w3.org/2005/08/addressing/anonymous
        
      
      
        
          00282
          00001
          
          
          6200 E Sam Houston Pkwy N                                                                           
          ?
          
          
          Houston                     
          Harris                   
          TX
          770497260
          
          
          N
          2
          
          
          
          
          
          B
          SUCCESS
          
        
      
    ');
    
       l_xml_ns1:= 'xmlns:ns1="http://xmlns.oracle.com/Group1AddressValidateService/AddressValidation"';
    
       -- pre 11gR2 (using extractvalue)
    
       select extractvalue( l_xml_response, '//ns1:ADDRESS_LINE1', l_xml_ns1) as address1
            , extractvalue( l_xml_response, '//ns1:ADDRESS_LINE2', l_xml_ns1) as address2
            , extractvalue( l_xml_response, '//ns1:ADDRESS_LINE3', l_xml_ns1) as address3
            , extractvalue( l_xml_response, '//ns1:ADDRESS_LINE4', l_xml_ns1) as address4
            , extractvalue( l_xml_response, '//ns1:CITY'         , l_xml_ns1) as city
            , extractvalue( l_xml_response, '//ns1:STATE'        , l_xml_ns1) as state
            , extractvalue( l_xml_response, '//ns1:COUNTY'       , l_xml_ns1) as county
         into l_response_address1
            , l_response_address2
            , l_response_address3
            , l_response_address4
            , l_response_city
            , l_response_state
            , l_response_county
         from dual;   
    
       dbms_output.put_line('Pre 11gR2:');
       dbms_output.put_line('Address1 :'||l_response_address1);
       dbms_output.put_line('Address2 :'||l_response_address2);
       dbms_output.put_line('Address3 :'||l_response_address3);
       dbms_output.put_line('Address4 :'||l_response_address4);
       dbms_output.put_line('City     :'||l_response_city);
       dbms_output.put_line('State    :'||l_response_state);
       dbms_output.put_line('County   :'||l_response_county);
    
       -- 11gR2 onwards
       select x.address1
            , x.address2
            , x.address3
            , x.address4
            , x.city
            , x.state
            , x.county
         into l_response_address1
            , l_response_address2
            , l_response_address3
            , l_response_address4
            , l_response_city
            , l_response_state
            , l_response_county
         from xmltable( xmlnamespaces( default 'http://xmlns.oracle.com/Group1AddressValidateService/AddressValidation'
                                     , 'http://xmlns.oracle.com/Group1AddressValidateService/AddressValidation' as "ns1"
                                     )
                      , '//ADDRESS_VALIDATION_RESPONSE'
                       passing l_xml_response
                       columns "ADDRESS1" varchar2(200) path 'ns1:ADDRESS_LINE1'
                             , "ADDRESS2" varchar2(200) path 'ns1:ADDRESS_LINE2'
                             , "ADDRESS3" varchar2(200) path 'ns1:ADDRESS_LINE3'
                             , "ADDRESS4" varchar2(200) path 'ns1:ADDRESS_LINE4'
                             , "CITY"     varchar2(200) path 'ns1:CITY'
                             , "STATE"    varchar2(200) path 'ns1:STATE'
                             , "COUNTY"   varchar2(200) path 'ns1:COUNTY'
              ) x;
    
       dbms_output.put_line('------------------');
       dbms_output.put_line('11gR2 onwards:');
       dbms_output.put_line('Address1 :'||l_response_address1);
       dbms_output.put_line('Address2 :'||l_response_address2);
       dbms_output.put_line('Address3 :'||l_response_address3);
       dbms_output.put_line('Address4 :'||l_response_address4);
       dbms_output.put_line('City     :'||l_response_city);
       dbms_output.put_line('State    :'||l_response_state);
       dbms_output.put_line('County   :'||l_response_county);
    
    end;
    /
    

    Here it the output of the above script:

    Pre 11 GR 2:

    Address1: 6200 E Sam Houston Parkway N

    Address2:?

    Address3:

    Address4:

    City: Houston

    State: TX

    County: Harris

    ------------------

    11 GR 2 from:

    Address1: 6200 E Sam Houston Parkway N

    Address2:?

    Address3:

    Address4:

    City: Houston

    State: TX

    County: Harris

    Kind regards.

    Alberto

  • Back list Java plsql function

    Hi all

    I have the java as code: -.

    
    
    package com.demo.test;
     
    import java.util.ArrayList;
    import java.util.List;
    
    
    
    public class ListTest {
     
      public List<String> getList() {
      List listA = new ArrayList();
     
      listA.add("element 1");
      listA.add("element 2");
      listA.add("element 3");
      listA.add("element 4");
      listA.add("element 5");
      listA.add("element 6");
      listA.add("element 7");
      return listA;
      }
    }
    
    

    I create the function to call java: -.

    create or replace FUNCTION get_list return varchar2 as
    language java name 'com.demo.test.ListTest.getList() return java.lang.String';
    
    

    I want to call above function in plsql and I out like: -.


    Element1

    item2

    3

    Item4

    element5

    element6

    Element7


    Please help me.

    Thank you
    Xandot

    create or replace and compile java source named ListTestSrc as
    package com.demo.test;  
    
    import java.util.ArrayList;
    import java.util.List;
    import java.sql.*;
    import oracle.sql.*; 
    
    public class ListTest {
        public static ARRAY getList() throws SQLException {
            List listA = new ArrayList();
    
            listA.add("element 1");
            listA.add("element 2");
            listA.add("element 3");
            listA.add("element 4");
            listA.add("element 5");
            listA.add("element 6");
            listA.add("element 7");  
    
            Connection conn = DriverManager.getConnection("jdbc:default:connection:");
            ArrayDescriptor dsc = ArrayDescriptor.createDescriptor("VARCHAR2_TABLE", conn);
    
            return new ARRAY(dsc, conn, listA.toArray());
        }
    }
    
    create or replace type varchar2_table as table of varchar2(4000);
    /
    
    create or replace function get_list return varchar2_table as
    language java name 'com.demo.test.ListTest.getList() return oracle.sql.ARRAY';
    /
    
    SQL> select * from table(get_list);
    
    COLUMN_VALUE
    ---------------------------------------
    element 1
    element 2
    element 3
    element 4
    element 5
    element 6
    element 7
    
    7 rows selected.
    

    If you want to use the collection in a SQL query (as above) and if the collection is large, you can do in pipeline.

    See a similar example here: Re: Re: how to select csv data stored in a BLOB column as if it were an external table?

    Otherwise, just use it directly into the PL/SQL code:

    SQL> set serverout on
    SQL>
    SQL> declare
      2    v_list varchar2_table := get_list();
      3  begin
      4    for i in 1 .. v_list.count loop
      5      dbms_output.put_line(v_list(i));
      6    end loop;
      7  end;
      8  /
    element 1
    element 2
    element 3
    element 4
    element 5
    element 6
    element 7
    
    PL/SQL procedure successfully completed.
    
  • The PLSQL since Application Java procedure call

    Hi all
    I have a PLSQL procedure that I'm calling from a Java Application. When I call this procedure from an SQL Editor, I can pass in the parameters and the procedure executes successfully (which is inserts records in a table).
    However, exactly the same procedure when it is called from an application Java does not seem to return the appropriate results, which is to insert rows in a table.
    Am I missing?
    Is someone can you please advise me if I have to do something else as well for the PLSQL call work via Java.

    Thank you
    FM

    >
    I have a PLSQL procedure that I'm calling from a Java Application. When I call this procedure from an SQL Editor, I can pass in the parameters and the procedure executes successfully (which is inserts records in a table).
    However, exactly the same procedure when it is called from an application Java does not seem to return the appropriate results, which is to insert rows in a table.
    Am I missing?
    Is someone can you please advise me if I have to do something else as well for the PLSQL call work via Java.
    >
    Wrong forum!

    You need this post in the JDBC forum
    https://forums.Oracle.com/forums/category.jspa?categoryID=288

    Either the procedure works correctly, or it does not; Java has NOTHING to do with it (unless it is written in Java).

    If this does not work, then fix it.

    If it works correctly then any problem you are having is due to your Java code and/or how the code calls the procedure.

    Mark this question ANSWER and repost in the JDBC forum. When you post, provide:

    1. your 4 digit Oracle version
    2. your client OS and version.
    3. the full JDK version
    4. the name and the version of the jar file OJDBC that you use
    5. the Java code that watch/product problem
    6. the procedure signature indicating the names and types of the parameters

  • create multiple files from zip file using java and pl sql

    Hi all

    I wrote the java code in oracle database 11 g 2 below.

    DROP JAVA SOURCE SCOTT."CreateZip";
    
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED SCOTT."CreateZip" 
    as 
      import java.io.BufferedInputStream;
      import java.io.BufferedOutputStream;
      import java.io.File;
      import java.io.FileInputStream;
      import java.io.FileNotFoundException;
      import java.io.FileOutputStream;
      import java.io.IOException;
      import java.util.zip.Deflater;
      import java.util.zip.ZipEntry;
      import java.util.zip.ZipInputStream;
      import java.util.zip.ZipOutputStream;
      
      public class CreateZip 
      {  
        
        //public static final int BUFFER_SIZE = 4096;
        
        public static void Zip(String zipFileName, String zipEntries) throws IOException
        {
          
          //String strName = zipEntries;
          String[] srcFiles = new String[] {zipEntries};
          //String[] srcFiles = {zipEntries};
           
          try
          {
              byte[] buffer = new byte[4096];
              FileOutputStream fos = new FileOutputStream(zipFileName);
              ZipOutputStream zos = new ZipOutputStream(fos);        
          
              for (int i = 0; i < srcFiles.length; i++) 
              {
                  File entryFile = new File(srcFiles[i]);
                  FileInputStream fis = new FileInputStream(entryFile);
                  zos.putNextEntry(new ZipEntry(entryFile.getName()));
    
    
                  int length;
                  
                  while ((length = fis.read(buffer)) > 0)
                  {
                   zos.write(buffer, 0, length);
                  }
                  zos.closeEntry();
                  // close the InputStream
                  fis.close();
              }
              // close the ZipOutputStream
              zos.close();
          }
          catch (IOException e) 
          {
           e.printStackTrace();
          }
           
        }
        
        public static void UnZip(String zipFilePath, String destDirectory) throws IOException 
        {
         
         try
          {
           byte[] buffer = new byte[4096];   
           //create output directory is not exists
            File folder = new File(destDirectory);
            if(!folder.exists())
            {
                folder.mkdir();
            }
            //get the zip file content
            ZipInputStream zis = new ZipInputStream(new FileInputStream(zipFilePath));
            //get the zipped file list entry
            ZipEntry ze = zis.getNextEntry();
            
            while(ze!=null)
            {
              String fileName = ze.getName();
              File newFile = new File(destDirectory + File.separator + fileName);
              //create all non exists folders
              //else you will hit FileNotFoundException for compressed folder
              new File(newFile.getParent()).mkdirs();
              FileOutputStream fos = new FileOutputStream(newFile);
              int len;
              while ((len = zis.read(buffer)) > 0)
                 {
                  fos.write(buffer, 0, len);
                 }
                 
              fos.close();   
              ze = zis.getNextEntry();
              
            }
            zis.closeEntry();
            zis.close();
          }
          catch (IOException e) 
          {
           e.printStackTrace();
          }
          
        }
        
        
      }
    /
    

    and the pl/sql wrapper is lower.

    CREATE OR REPLACE PACKAGE SCOTT.CreateZip AS
    PROCEDURE UnZip(Param1 VARCHAR2, Param2 VARCHAR2) 
    AS
      LANGUAGE java 
        NAME 'CreateZip.UnZip(java.lang.String, java.lang.String)';
    
    
    PROCEDURE Zip(Param1 VARCHAR2, Param2 VARCHAR2) 
    AS
      LANGUAGE java 
        NAME 'CreateZip.Zip(java.lang.String, java.lang.String)';
    end;
    /
    

    but my problem is to unzip code works file while the Zip function does not work.

    I passing the path with file name as this to create the table in java in the Zip function

    Zip('d:\EXCEL_ORACLE_DIR\Test.zip','d:\EXCEL_ORACLE_DIR\abc.txt,D:\EXCEL_ORACLE_DIR\abc.docx').

    creates the zip file with the size of zero byte, where is the problem.

    The problem is in line 26 because you split an array of String [] zipEntries...

    Try this

    String [] srcFiles = zipEntries.split(",");

    You exception, but you don't know in plsql procedure...

    Try to change your java method...

  • Load java classes in ORACLE database error: () Ljava/util/list ;) catch_type not a subclass of Throwable

    Hello

    I tried to load java classes in the database using the loadjava tool, but I get a warning which causes an error when calling the java method of procedure PLSQL.

    ERROR: ORA-29552: check warning: java.lang.VerifyError: (class: method com/mq/RIMSmqToolsIn,: mqRead signature: () Ljava/util/list ;) catch_type not a subclass of Throwable)

    I think that it is a problem of dependencie for some missing java classes that need to be solved using loadjava tool but I could not understand what pot should be used and how is the correct command with laodjava?

    NB: I tried to use a jar file that contains java.util.List.class, but I still get the warning when loading

    Thank you very much

    ANTHONY

    Hello

    This error occurs when the dependency jar files loading in the java command loads separate.

    Load all the jar files in a command unique loadjava as below:

    loadjava, sys/eu1 - r u - v-f--s-grant public - genmissing xyz.jar xyz1.jar

    Before loading jar files drop them in the database.

    Thanks and greetings

    Vincent

  • Error loading of Java classes in oracle

    Dear Experts,

    Here is my example Java class

    create or replace type varchar3_table in the table to the varchar2 (4000);

    /

    create or replace and compile the java source named MyBasicArrayList1 as

    package com.demo.testcode;

    import java.util.ArrayList;

    import java.util.List;

    import java.sql. *;

    Oracle.sql import. *;

    public class MyBasicArrayList1 {}

    public static ARRAY getlistA3() throws SQLException {}

    Connection Conn = DriverManager.getConnection("jdbc:default:connection:");

    ArrayList < String > ls = new ArrayList < String > ();

    PreparedStatement pstmt =

    conn.prepareStatement ("" select * from EMP "");

    Table array = conn.createArrayOf ("VARCHAR", ls.toArray ());

    pstmt.setArray (table 1);

    ResultSet rs = pstmt.executeQuery ();

    {while (RS. Next())}

    ls. Add (RS. GetString ("Ename"));

    ls. Add(""+RS.) GetInt ("empno"));

    }

    ArrayDescriptor dsc = ArrayDescriptor.createDescriptor ("VARCHAR3_TABLE", conn);

    return new ARRAY (dsc, conn, ls.toArray ());

    }

    }

    Select * from user_errors where type = 'JAVA SOURCE.

    No error

    Select object_name, status from user_objects where type_objet = 'JAVA SOURCE';

    VALID MYBASICARRAYLIST1



    Function


    create or replace function get_list1 returns VARCHAR3_TABLE as

    NAME of THE JAVA LANGUAGE 'com.demo.testcode.MyBasicArrayList1.getlistA3 () return oracle.sql.ARRAY;

    /

    Select * from table (get_list_1);

    Select double get_list1;

    ORA-29532: Java call terminated by eception Java exception: java.sql.SQLException: function not supported

    29532 00000 - "Java call terminated by eception Java exception: %s."

    * Cause: A mistake or a Java exception has been reported and could not be

    solved by Java code.

    * Action: Modify Java code, if this behavior is not expected.

    Please help solve this error

    Hello

    Why you have not checked the example related by John Stegeman in your previous post java class load returns array in plsql.

    Here's the test I did:

    create or replace type varchar3_table as table of varchar2 (4000);
    
    create or replace and compile  java source named mybasicarraylist1
      as
    package com.demo.testcode;
    
    import java.util.ArrayList;
    import java.sql.*;
    import static java.sql.Types.ARRAY;
    import oracle.sql.*;
    import oracle.jdbc.*;
    
    public class MyBasicArrayList1 {
    
        public static java.sql.Array getlistA3() throws SQLException {
    
            Connection conn = DriverManager.getConnection("jdbc:default:connection:");
            ArrayList ls = new ArrayList();
            PreparedStatement pstmt = conn.prepareStatement("select * from EMP");
            oracle.jdbc.OracleConnection oraConn = (oracle.jdbc.OracleConnection) conn;
    
            ResultSet rs = pstmt.executeQuery();
    
            while (rs.next()) {
                ls.add(rs.getString("ENAME"));
                ls.add("" + rs.getInt("EMPNO"));
            }
    
            java.sql.Array array = oraConn.createARRAY("VARCHAR3_TABLE", ls.toArray());
    
            conn.close();
            return array;
        }
    }
    /
    
    create or replace function get_list1 return varchar3_table as
    language java name 'com.demo.testcode.MyBasicArrayList1.getlistA3() return java.sql.Array';
    /
    
    select *
      from table(get_list1);
    
    COLUMN_VALUE
    --------------------------------------------------------------------------------
    SMITH
    7369
    ALLEN
    7499
    ...
    7902
    MILLER
    7934                                                                           
    
    28 rows selected.
    

    Kind regards.

    Alberto

  • Problem with cursor Max for the PLSQL called by OAF Page

    All,

    We developed a custom and Self Service OFA this page page, we call PLSQL package to validate and insert the data into the database tables. It worked well, but when we deployed this form throughout the Organization (meaning more users), we reach the limits of MAX cursor for a session.

    This for allows Manager to update all their coordinated under, so in a session, a Manager may work on more than one employee so reach the limit of MAX cursor.

    Please help on how we can solve this problem, I checked all of the cursors used in the PLSQL package are closed properly.

    Ex PLSQL Call:

    String createRow = null;

    try {}

    OADBTransaction oadbtransaction = (OADBTransaction) pageContext.getApplicationModule (webBean) .getTransaction ();

    java.sql.Connection connection = oadbtransaction.getJdbcConnection ();

    CallableStatement callablestatement = oadbtransaction.createCallableStatement ("start: 1: = xxx_hr_multiple_rates_pkg.is_create_job_row (pc_job_name = >: 2);") end; ", 1);

    callablestatement.setString (2, primaryJob.getText (pageContext));

    callablestatement.registerOutParameter(1,Types.VARCHAR);

    CallableStatement.Execute ();

    createRow = callablestatement.getString (1);

    String [] retVals = am.invokeMethod ("createWFMJob", parameter1) (String []);

    System.out.println("CreateRow:"+CreateRow);

    CallableStatement.Close ();

    }

    catch (Exception e) {}

    e.printStackTrace ();

    pageContext.writeDiagnostics (this, try (), 1);

    }

    Thank you

    A

    Ankit,

    Please attach your PL/SQL code, so that we can have a look that the issue could be in that.

    In addition,

    Why do you call the code inside this test below? What is the link?

    String [] retVals = am.invokeMethod ("createWFMJob", parameter1) (String []);

    Why do you need the code below? Delete this.

    java.sql.Connection connection = oadbtransaction.getJdbcConnection ();

    Move the callablestatement.close ();  outside of try catch.

    See the link, if you need some examples below:

    Advice from the Oracle Johny: OAF: sample code to call the function PL/SQL of OA Framework

    See you soon

    AJ

  • error Java install ADR

    upgrade of application of apex 4.2.1 plsql for apex mod 5 and ADR on an installation of OEL 5.9.

    Apex installed 5.  installation of ords.war according to the docs

    https://docs.Oracle.com/CD/E37099_01/doc.20/e25066/install.htm#AELIG7019

    According to the pre-reqs Ive got 1.6 build 20

    Java $ [oracle@orcldub819 ADR] - version

    Java version "1.6.0_29 - ea.

    Java (TM) SE Runtime Environment (build 1.6.0_29 - ea - b08)

    Java for 64-bit Server VM (build 20, 4 - b01, mixed mode)

    [oracle@orcldub819 nico2277] $

    I still get the following error...

    Java $ [oracle@orcldub819 ADR] - jar ords.war

    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle, dbtools, jarcl, Entrypoint: version unsupported major.minor 51.0

    at java.lang.ClassLoader.defineClass1 (Native Method)

    at java.lang.ClassLoader.defineClassCond (unknown Source)

    at java.lang.ClassLoader.defineClass (unknown Source)

    at java.security.SecureClassLoader.defineClass (unknown Source)

    at java.net.URLClassLoader.defineClass (unknown Source)

    to java.net.URLClassLoader.access$ 000 (unknown Source)

    java.net.URLClassLoader to $1.run (unknown Source)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.net.URLClassLoader.findClass (unknown Source)

    at java.lang.ClassLoader.loadClass (unknown Source)

    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (unknown Source)

    at java.lang.ClassLoader.loadClass (unknown Source)

    The main class is not found: oracle.dbtools.jarcl.Entrypoint. Program ends.

    [oracle@orcldub819 nico2277] $



    I tried to run on another machine with a version of the JDK 1.7 and it worked but I want to get on this machine and run side by side for the upgrade of the 4.2.1 existing so am reluicatant draw 1.7 last because he will crush my java version existing prod which I don't want to do until the migration of apex 5 install to production.  Suggestions?

    Is not a matter of APEX, you would be better of this Oracle ADR forum post...

    Thank you

    Tony Miller
    Software LuvMuffin
    Salt Lake City, UT

  • best tool for development PLSQL

    Hi friends,

    Developer SQL is as good as the TOAD? or better than TOAD.

    is there another tool better development PLSQL?

    Because for JAVA, we have very good and very interactive appearance and tools are available... How about PLSQL

    When it comes to PLSQL-development I prefer Toad (or Toad Extention for Eclipse). The reason is that SQL-Developer has a very bad autoformatter of PL/SQL code.

    If you do not need DBA features like watch/kill sessions meit FREE be your best choice.

    Good bye

    DPT

  • Read current user connected from java code VOImpl

    Hi experts,

    I use Jdev 12.1.3 and I would like to read the value of adf.context.securityContext.getUserName () in the java code of a VOImpl so I can pass it as a parameter to a PLSQL stored procedure.

    How can I do?

    Thank you very much
    Jose.

    You can use the code below:

    String currentUser store = ADFContext.getCurrent () .getSecurityContext () .getUserPrincipal () .getName ();

    Thank you

  • ATTENTION: there are mistakes of java on this object, this wizard wil be read once they are corrected


    Hello world

    I need to extend the VO.
    I took .server file JAVA_TOP and kept in the same package structure in local Jdeveloper (third-party identifier added to package structure).
    Now, I try to click on AM, VO his errors as below:
    "WARNING: there are mistakes of java on this object, this wizard wil be read once they are corrected.

    Please, help me get out of this error.

    Thank you.

    925715 wrote:

    Hello

    I ran: exec jdr_utils.listCustomizations ('oracle.apps.fnd.xx.compo.server') in Toad and got the message finished successfully plsql procedure.

    What I specify quotes his race successfully, even only quote that nothing runs successfully.

    What should I do now?

    How can I know everyhting is fine with my extension?

    where I can be able to see my extended Vo component?

    Thank you.

    Try the script I pasted in my previous post.

    Before running the script set serveroutput

    It will return all the customizations made the subject of the standard.

    This way you can ensure that substitution is successful and everything is fine with the extension.

  • Create Java with Essbase applications

    Dear Experts

    I have a request for a potential customer.

    Where I think it's better to implement an application with Java or APEX, another relational database and Essbase.

    How Hyperion Planning and others.


    But not using Hyperion Planning.

    How it would integrate with Essbase?

    How can I create a Java application without losing anything of Essbase?

    Anyone already done this?

    Should what documents I read about it?

    A lot of questions and design challenges.

    Thank you for all

    For the purposes of the Apex

    -You can use custom Essbase calculation relationships

    http://Essbase.ru/archives/6273

    with XMLA PLSQL API

    https://code.Google.com/p/Essbase-PLSQL-interface/

Maybe you are looking for

  • e-mail account working do not mistake the e-mail server for this account does not

    One of my Gmail account does not not via Thunderbird. He worked for until our days. Get them an error message saying"The current operation on the Inbox doesn't have to succeed. The e-mail server of the account... responded: unknown command 34the e-ma

  • Is it possible to move the menu button in the new interface?

    I find the idea of the right terrible menu. Is it possible to move the button previous position or at least to the left?

  • Problems with the date and time - have to reset the date & time on reboot

    original title: problems with the date and time Whenever I turn on my computer (Windows XP 2002) I click on F2.  Then I re - set the date and time it occurred in January 2006 1 h every time I have turn off the computer.  Can someone tell me what I ne

  • Example Playlist

    Could someone post a playlist to work please? I tried Winamp and WMP, I'm on XP so WMP may be incorrect? I never use it, he shot to the top with selection and 'add to playlist' and everything I got open in Textpad was what looked like XML, the Winamp

  • UCCE to UCCX

    All, I have a migration challenge where potentially a based contact UCCE Center must be migrated to a new provider through which currently have UCCX Enhanced/Premium. At this point, the requirements are quite vague, but I'm curious about best practic